jellyfin-web/dashboard-ui/bower_components/emby-webcomponents/emby-button/emby-button.css

245 lines
5.2 KiB
CSS
Raw Normal View History

2016-08-04 23:10:24 -07:00
.emby-button {
2016-06-04 17:17:35 -07:00
position: relative;
2016-08-30 10:39:15 -07:00
display: inline-flex;
2016-06-04 17:17:35 -07:00
align-items: center;
box-sizing: border-box;
margin: 0 .29em;
text-align: center;
2016-06-04 20:50:07 -07:00
font-size: inherit;
font-family: inherit;
2016-06-04 17:17:35 -07:00
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;
2016-12-03 13:00:41 -07:00
padding: 1em .7em;
2016-06-04 17:17:35 -07:00
font-weight: normal;
vertical-align: middle;
border: 0;
vertical-align: middle;
2016-08-03 10:56:11 -07:00
border-radius: 2px;
2016-06-04 17:17:35 -07:00
/* These are getting an outline in opera tv browsers, which run chrome 30 */
outline: none !important;
position: relative;
overflow: hidden;
2016-06-04 20:50:07 -07:00
font-weight: 500;
2016-08-31 12:17:11 -07:00
/* Disable webkit tap highlighting */
-webkit-tap-highlight-color: rgba(0,0,0,0);
2016-06-04 17:17:35 -07:00
}
2016-09-15 18:09:46 -07:00
.emby-button::-moz-focus-inner {
border: 0;
}
2016-09-15 11:28:46 -07:00
.button-flat {
background: transparent;
box-shadow: none;
2016-09-22 23:57:24 -07:00
text-transform: uppercase;
2016-09-15 11:28:46 -07:00
}
2016-09-14 23:23:39 -07:00
2016-12-14 13:58:55 -07:00
.emby-button-focusscale {
transition: transform 180ms ease-out !important;
-webkit-transform-origin: center center;
transform-origin: center center;
}
.emby-button-focusscale:focus {
transform: scale(1.16);
z-index: 1;
}
2016-09-15 11:28:46 -07:00
.emby-button > i {
/* For non-fab buttons that have icons */
2016-10-12 11:23:09 -07:00
font-size: 1.36em;
2016-09-15 11:28:46 -07:00
width: auto;
height: auto;
}
2016-06-04 17:17:35 -07:00
2016-09-15 13:32:49 -07:00
.fab {
2016-09-15 11:28:46 -07:00
display: inline-flex;
border-radius: 50%;
2016-12-03 00:58:48 -07:00
background-color: rgba(170,170,190, .4);
2016-09-15 11:28:46 -07:00
padding: .6em;
box-sizing: border-box;
align-items: center;
justify-content: center;
text-align: center;
2016-12-03 00:58:48 -07:00
color: #fff;
2016-09-15 11:28:46 -07:00
margin: 0;
}
2016-08-04 23:10:24 -07:00
2016-09-15 13:32:49 -07:00
.fab > i {
2016-09-15 11:28:46 -07:00
height: auto;
width: auto;
vertical-align: middle;
font-size: 2.85em;
2016-06-05 11:51:18 -07:00
}
2016-09-08 23:59:23 -07:00
.emby-button-noflex {
display: inline-block;
white-space: nowrap;
}
2016-06-05 11:51:18 -07:00
2016-09-15 13:32:49 -07:00
.fab.mini {
2016-09-08 23:59:23 -07:00
padding: 8px;
}
2016-06-09 23:54:03 -07:00
2016-09-15 13:32:49 -07:00
.fab.mini > i {
2016-09-08 23:59:23 -07:00
height: auto;
width: auto;
font-size: 1.72em;
2016-06-04 17:17:35 -07:00
}
2016-09-08 23:59:23 -07:00
.emby-button.block {
display: block;
align-items: center;
justify-content: center;
margin: .25em 0;
width: 100%;
}
2016-06-04 17:17:35 -07:00
2016-09-15 13:32:49 -07:00
.raised:focus {
2016-09-08 23:59:23 -07:00
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);
}
2016-06-09 23:54:03 -07:00
2016-09-08 23:59:23 -07:00
.emby-button > i + span {
margin-left: .5em;
}
2016-07-23 11:43:07 -07:00
2016-09-15 13:32:49 -07:00
.emby-button > span + i {
2016-09-08 23:59:23 -07:00
margin-left: .5em;
}
2016-08-04 19:03:15 -07:00
.paper-icon-button-light {
2016-06-05 13:46:19 -07:00
position: relative;
2016-06-06 18:55:16 -07:00
display: inline-flex;
2016-06-05 13:46:19 -07:00
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;
2016-08-04 19:03:15 -07:00
min-width: initial;
min-height: initial;
width: auto;
height: auto;
2016-06-05 13:46:19 -07:00
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%;
2016-08-31 12:17:11 -07:00
/* Disable webkit tap highlighting */
-webkit-tap-highlight-color: rgba(0,0,0,0);
2016-06-09 23:54:03 -07:00
justify-content: center;
2016-06-05 13:46:19 -07:00
}
2016-09-15 18:09:46 -07:00
.paper-icon-button-light::-moz-focus-inner {
border: 0;
}
2016-08-04 19:03:15 -07:00
.paper-icon-button-light[disabled] {
2016-06-07 10:36:32 -07:00
opacity: .3;
}
2016-08-04 19:03:15 -07:00
.paper-icon-button-light > i {
2016-10-13 08:07:21 -07:00
width: 1em;
height: 1em;
2016-11-05 12:34:03 -07:00
font-size: 1.6em;
2016-06-09 23:54:03 -07:00
/* Make sure its on top of the ripple */
position: relative;
z-index: 1;
vertical-align: middle;
}
2016-08-04 23:10:24 -07:00
.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;
}
2016-06-05 13:46:19 -07:00
2016-08-04 23:10:24 -07:00
.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;
}
2016-06-06 10:33:27 -07:00
2016-09-08 13:32:30 -07:00
.paper-icon-button-light:focus {
color: #52B54B;
2016-08-04 23:10:24 -07:00
}
2016-06-05 13:46:19 -07:00
2016-09-08 13:32:30 -07:00
.paper-icon-button-light:focus:after {
opacity: .2;
}
2016-08-14 09:53:23 -07:00
.emby-button-ripple-effect, .paper-icon-button-light-ripple-effect {
2016-06-04 17:17:35 -07:00
position: absolute;
border-radius: 50%;
width: 50px;
height: 50px;
top: 50%;
left: 50%;
2016-06-04 20:50:07 -07:00
background: currentcolor;
animation: ripple-animation .8s;
opacity: 0.25;
2016-08-14 09:53:23 -07:00
transform-origin: center center;
2016-06-04 20:50:07 -07:00
transform: translate3d(0, 0, 0);
2016-06-04 17:17:35 -07:00
}
@keyframes ripple-animation {
from {
transform: none;
2016-06-04 20:50:07 -07:00
opacity: 0.5;
2016-06-04 17:17:35 -07:00
}
to {
2016-06-04 20:50:07 -07:00
transform: scale(20);
2016-06-04 17:17:35 -07:00
opacity: 0;
}
}
2016-08-14 12:58:13 -07:00
.emby-button-foreground {
position: relative;
z-index: 1;
}
2016-12-14 13:58:55 -07:00
.icon-button-focusscale {
transition: transform 180ms ease-out !important;
-webkit-transform-origin: center center;
transform-origin: center center;
}
.icon-button-focusscale:focus {
transform: scale(1.3);
z-index: 1;
}