META-INF.resources.primefaces.dock.dock.css Maven / Gradle / Ivy
/*______________________________________
| |
| Mac OS X Lion with CSS3 |
|--------------------------------------|
| Original work by |
| Alessio Atzeni |
| Modified heavily for PrimeFaces |
|......................................|
| check it out at... |
| alessioatzeni.com/mac-osx-lion-css3 |
|______________________________________|
*/
.ui-dock {
position: absolute;
left: 0;
z-index: 9999;
width: 100%;
text-align: center;
}
.ui-dock.bottom {
bottom: 0;
}
.ui-dock.top {
top: 0;
}
.ui-dock-container {
position: relative;
display: inline-block;
padding: 0 5px;
margin: 0;
}
.ui-dock-container.bottom {
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAA8CAYAAAAKcMhTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHRJREFUeNrs17ENgDAMBECCKNmAkZkmQ5AFskiqNCAFdqCx4F5yf9I37zTGmCJmnoIGDAwMDAwMDOwnsCXnvIeEPbepEgwMDAwMDAwMDOy7z0jv/QoJa62dqgQDAwMDAwMDAwN7Pa1rrWtEWCqlHBFhtwADAGp0E3wrAUd9AAAAAElFTkSuQmCC') repeat-x bottom;
}
.ui-dock-container.top {
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAA8CAYAAAAKcMhTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHRJREFUeNrs17ENgDAMBECCKNmAkZkmQ5AFskiqNCAFdqCx4F5yf9I37zTGmCJmnoIGDAwMDAwMDOwnsCXnvIeEPbepEgwMDAwMDAwMDOy7z0jv/QoJa62dqgQDAwMDAwMDAwN7Pa1rrWtEWCqlHBFhtwADAGp0E3wrAUd9AAAAAElFTkSuQmCC') repeat-x top;
}
.ui-dock-container.center {
float: none;
}
.ui-dock-container.right {
float: right;
}
.ui-dock-container.left {
float: left;
}
.ui-dock-container:before, .ui-dock-container:after {
content: "";
position: absolute;
top: 0;
bottom: 0;
width: 38px;
}
.ui-dock-container.bottom:before {
left: -38px;
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAA8CAYAAAAKcMhTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAblJREFUeNrs2DtrwlAUB/DcJNUidKiFvkgf4NLSB6WSwZZGbAk4+EWy97v4UcQhMUsyuevi5haSKIKIidgT6FBKbbFV84fewCEgEn6cc3Jz7mXz+VxAvEQB9OIwDuMwDuMwDuMwDvsnMLler3/7B8MwfnyIZVn7w+HwVRRFtjLYKh4yGAyqkiQpUKV0XTfLGHuE6zHf9zW67aDBtqIoqlBvYb2VjUajQGU8R1su2GQy0deRrT/BbNveJZQKt8CORiOdNssyFCwMwxw1/RP1F9YnyXGcIpUxj/atlOI4rqwzW7+CmaZ5SqgLuOliPB5XN3FCtBSs0+nkqYzqusu4LIz1ej2Nmn4bbVDM0BJRRptgWbPZvKFsHcCN1tPpVIeb+dvt9slsNrtGg4me5+lsE6/iMjN/q9WSgyC4p/6KoWDdbrdIt2SJiNBKWUHc8J5RFBBhL4hHBMmWTEWEJZvYDBos+f05zUOVRbBbij1EWKrZWgQ7pLhChKWera9gWYoSIuyBIocIgyjjZ9glxTEiDCZbH2HJOcQdIqwsgJ35i+9TbFkAu+R+v6+FYXgEB1MUpVSr1RQ02JsAAwBa2WtGtORs1gAAAABJRU5ErkJggg==') no-repeat left bottom;
}
.ui-dock-container.top:after {
left: -38px;
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAA8CAYAAAAKcMhTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAblJREFUeNrs2DtrwlAUB/DcJNUidKiFvkgf4NLSB6WSwZZGbAk4+EWy97v4UcQhMUsyuevi5haSKIKIidgT6FBKbbFV84fewCEgEn6cc3Jz7mXz+VxAvEQB9OIwDuMwDuMwDuMwDvsnMLler3/7B8MwfnyIZVn7w+HwVRRFtjLYKh4yGAyqkiQpUKV0XTfLGHuE6zHf9zW67aDBtqIoqlBvYb2VjUajQGU8R1su2GQy0deRrT/BbNveJZQKt8CORiOdNssyFCwMwxw1/RP1F9YnyXGcIpUxj/atlOI4rqwzW7+CmaZ5SqgLuOliPB5XN3FCtBSs0+nkqYzqusu4LIz1ej2Nmn4bbVDM0BJRRptgWbPZvKFsHcCN1tPpVIeb+dvt9slsNrtGg4me5+lsE6/iMjN/q9WSgyC4p/6KoWDdbrdIt2SJiNBKWUHc8J5RFBBhL4hHBMmWTEWEJZvYDBos+f05zUOVRbBbij1EWKrZWgQ7pLhChKWera9gWYoSIuyBIocIgyjjZ9glxTEiDCZbH2HJOcQdIqwsgJ35i+9TbFkAu+R+v6+FYXgEB1MUpVSr1RQ02JsAAwBa2WtGtORs1gAAAABJRU5ErkJggg==') no-repeat left top;
}
.ui-dock-container.bottom:after {
right: -38px;
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAA8CAYAAAAKcMhTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcdJREFUeNrs2M1KAlEUB/AZu6WEIWOLom9oU1QSxSxMUpwY8CV8otq7rydwJS5EN9rGhTALV75AIooziDij0zlQi6jMQKY/dC8cnMUw/jhn7scZ1fd9BXGEFNAhYRImYRImYRImYRL2T2CiWCzeL+ths9nMj8ViD4ZhvPx0b6FQmA+j2F1a+kMhZTAY5OjyEa6UqqqmGo1GGPEd2+j1emk4GJfTdd0sXa7CzUoq51GpVDqGg3HWxuOxyUa4dYxweq1W0+Bg1EgL27ZNOBi9ZzwJbvv9/jrclkTljNfr9Ws4GGfN8zxeOlbgNnHCnVQqlQM4GH9NGo1GOcSMcTn1drsdhzuP0SSIdDqd9G8W3MAOirR0ZOhnDQ5GWdsql8sXi2Yt0KP1ZDIx4TLGYzqdnjebzX04GM1Qtdvtmov8r6A1xgsS5zjOVbVafeLKzoVR8+AG3JlFhsMh75/PiH1lFrXh5WP3IWonfocK07nVQ4Tx9pRC/ahifGf4a9gmRQIR9p41SNgZxTYi7MusocCSFGFEGDfFN4iwT+VEgu1QnCLCPmQNDXZJEUeEsSeDCFPeYEJYlhUFg0U1TUuLfD6/h5ayVquVfBVgAB6qdfhTkr/9AAAAAElFTkSuQmCC') no-repeat right bottom;
}
.ui-dock-container.top:before {
right: -38px;
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAA8CAYAAAAKcMhTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcdJREFUeNrs2M1KAlEUB/AZu6WEIWOLom9oU1QSxSxMUpwY8CV8otq7rydwJS5EN9rGhTALV75AIooziDij0zlQi6jMQKY/dC8cnMUw/jhn7scZ1fd9BXGEFNAhYRImYRImYRImYRL2T2CiWCzeL+ths9nMj8ViD4ZhvPx0b6FQmA+j2F1a+kMhZTAY5OjyEa6UqqqmGo1GGPEd2+j1emk4GJfTdd0sXa7CzUoq51GpVDqGg3HWxuOxyUa4dYxweq1W0+Bg1EgL27ZNOBi9ZzwJbvv9/jrclkTljNfr9Ws4GGfN8zxeOlbgNnHCnVQqlQM4GH9NGo1GOcSMcTn1drsdhzuP0SSIdDqd9G8W3MAOirR0ZOhnDQ5GWdsql8sXi2Yt0KP1ZDIx4TLGYzqdnjebzX04GM1Qtdvtmov8r6A1xgsS5zjOVbVafeLKzoVR8+AG3JlFhsMh75/PiH1lFrXh5WP3IWonfocK07nVQ4Tx9pRC/ahifGf4a9gmRQIR9p41SNgZxTYi7MusocCSFGFEGDfFN4iwT+VEgu1QnCLCPmQNDXZJEUeEsSeDCFPeYEJYlhUFg0U1TUuLfD6/h5ayVquVfBVgAB6qdfhTkr/9AAAAAElFTkSuQmCC') no-repeat right top;
}
.ui-dock li {
display: inline-block;
position: relative;
margin: 0 0 15px 0;
-webkit-box-reflect: below -16px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(91%, rgba(255, 255, 255, .1)), color-stop(91.01%, transparent), to(transparent));
}
.ui-dock a {
display: block;
cursor: default;
outline: none;
}
/* Tooltips */
.ui-dock em {
position: absolute;
left: 50%;
display: none;
width: 150px;
margin-left: -75px;
text-align: center;
}
.ui-dock.bottom em {
top: -34px;
}
.ui-dock.top em {
top: 114px;
}
.ui-dock em:after {
content: " ";
position: absolute;
bottom: -6px;
left: 50%;
margin-left: -6px;
width: 0;
height: 0;
}
.ui-dock.bottom em:after {
bottom: -6px;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid rgba(0, 0, 0, 0.6);
border-bottom: none;
}
.ui-dock.top em:after {
top: -6px;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: none;
border-bottom: 6px solid rgba(0, 0, 0, 0.6);
}
.ui-dock em span {
display: inline-block;
padding: 5px 12px;
background: rgba(0, 0, 0, 0.6);
font-style:normal;
font-size:12px;
color:#fff;
text-shadow:0 1px 1px #000;
border-radius: 10px;
}
.ui-dock li:hover em {
display: block;
}
/* Images */
.ui-dock img {
width: 48px;
height: auto;
border: none;
transition:all 0.1s linear;
-webkit-transition:all 0.1s linear;
-moz-transition:all 0.1s linear;
}
.ui-dock-item.active:hover img {
width: 128px;
}
.ui-dock-item.prev img, .ui-dock-item.next img {
width:96px;
}
.ui-dock-item.prev-anchor img, .ui-dock-item.next-anchor img {
width:72px;
}
.ui-dock li a .fresh {
content: " ";
position: absolute;
bottom: -8px;
left: 50%;
width: 8px;
height: 6px;
opacity:1;
background-color: rgba(255, 255, 255, .8);
margin-left: -2px;
border-radius:100%;
box-shadow: inset 0 1px 3px rgba(75, 255, 255, .4), 0 0 4px rgba(75, 255, 255, .5), 0 -1px 7px rgb(75, 255, 255);
-webkit-box-reflect: below 5px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(91%, rgba(255, 255, 255, 0.5)), color-stop(91.01%, transparent), to(transparent));
}
/* Animation */
.ui-dock-bounce {
animation: ui-dock-bounce 0.4s 4 alternate ease-out;
-webkit-animation: ui-dock-bounce 0.4s 4 alternate ease-out;
-moz-animation: ui-dock-bounce 0.4s 4 alternate ease-out;
}
@keyframes ui-dock-bounce {
0% { transform: translateY(0); }
100% { transform: translateY(-20px); }
}
@-webkit-keyframes ui-dock-bounce {
0% { -webkit-transform: translateY(0); }
100% { -webkit-transform: translateY(-20px); }
}
@-moz-keyframes ui-dock-bounce {
0% { -moz-transform: translateY(0); }
100% { -moz-transform: translateY(-20px); }
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy