mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
223 lines
4.7 KiB
CSS
223 lines
4.7 KiB
CSS
.emby-button {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
margin: 0 .29em;
|
|
text-align: center;
|
|
font-size: inherit;
|
|
font-family: inherit;
|
|
color: inherit;
|
|
outline-width: 0;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
cursor: pointer;
|
|
z-index: 0;
|
|
padding: 0.7em 0.57em;
|
|
font-weight: normal;
|
|
vertical-align: middle;
|
|
border: 0;
|
|
vertical-align: middle;
|
|
border-radius: 2px;
|
|
/* These are getting an outline in opera tv browsers, which run chrome 30 */
|
|
outline: none !important;
|
|
position: relative;
|
|
overflow: hidden;
|
|
font-weight: 500;
|
|
/* Disable webkit tap highlighting */
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
}
|
|
|
|
.emby-button::-moz-focus-inner {
|
|
border: 0;
|
|
}
|
|
|
|
.button-flat {
|
|
background: transparent;
|
|
box-shadow: none;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.emby-button > i {
|
|
/* For non-fab buttons that have icons */
|
|
font-size: 1.4em;
|
|
width: auto;
|
|
height: auto;
|
|
}
|
|
|
|
.fab {
|
|
display: inline-flex;
|
|
border-radius: 50%;
|
|
background-color: #444;
|
|
padding: .6em;
|
|
box-sizing: border-box;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
color: #fff;
|
|
margin: 0;
|
|
}
|
|
|
|
.fab > i {
|
|
height: auto;
|
|
width: auto;
|
|
vertical-align: middle;
|
|
font-size: 2.85em;
|
|
}
|
|
|
|
.emby-button-noflex {
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.fab.mini {
|
|
padding: 8px;
|
|
}
|
|
|
|
.fab.mini > i {
|
|
height: auto;
|
|
width: auto;
|
|
font-size: 1.72em;
|
|
}
|
|
|
|
.emby-button.block {
|
|
display: block;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: .25em 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.raised:focus {
|
|
box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.4);
|
|
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.emby-button > i + span {
|
|
margin-left: .5em;
|
|
}
|
|
|
|
.emby-button > span + i {
|
|
margin-left: .5em;
|
|
}
|
|
|
|
.paper-icon-button-light {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
margin: 0 .29em;
|
|
background: transparent;
|
|
text-align: center;
|
|
font-size: inherit;
|
|
font-family: inherit;
|
|
color: inherit;
|
|
outline-width: 0;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
cursor: pointer;
|
|
z-index: 0;
|
|
min-width: initial;
|
|
min-height: initial;
|
|
width: auto;
|
|
height: auto;
|
|
padding: 8px;
|
|
font-weight: normal;
|
|
vertical-align: middle;
|
|
border: 0;
|
|
vertical-align: middle;
|
|
/* These are getting an outline in opera tv browsers, which run chrome 30 */
|
|
outline: none !important;
|
|
position: relative;
|
|
overflow: hidden;
|
|
font-weight: 500;
|
|
border-radius: 50%;
|
|
/* Disable webkit tap highlighting */
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
justify-content: center;
|
|
}
|
|
|
|
.paper-icon-button-light::-moz-focus-inner {
|
|
border: 0;
|
|
}
|
|
|
|
.paper-icon-button-light[disabled] {
|
|
opacity: .3;
|
|
}
|
|
|
|
.paper-icon-button-light > i {
|
|
width: auto;
|
|
height: auto;
|
|
font-size: 1.72em;
|
|
/* Make sure its on top of the ripple */
|
|
position: relative;
|
|
z-index: 1;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.paper-icon-button-light > img {
|
|
width: 1.72em;
|
|
/* Can't use 100% height or it will stretch past the boundaries in safari */
|
|
/*height: 100%;*/
|
|
max-height: 100%;
|
|
/* Make sure its on top of the ripple */
|
|
position: relative;
|
|
z-index: 1;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.paper-icon-button-light:after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
transition: opacity .3s ease-out;
|
|
background: currentcolor;
|
|
opacity: 0;
|
|
}
|
|
|
|
.paper-icon-button-light:focus {
|
|
color: #52B54B;
|
|
}
|
|
|
|
.paper-icon-button-light:focus:after {
|
|
opacity: .2;
|
|
}
|
|
|
|
.emby-button-ripple-effect, .paper-icon-button-light-ripple-effect {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
width: 50px;
|
|
height: 50px;
|
|
top: 50%;
|
|
left: 50%;
|
|
background: currentcolor;
|
|
animation: ripple-animation .8s;
|
|
opacity: 0.25;
|
|
transform-origin: center center;
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
|
|
@keyframes ripple-animation {
|
|
from {
|
|
transform: none;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
to {
|
|
transform: scale(20);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.emby-button-foreground {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|