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

139 lines
4.4 KiB
CSS
Raw Normal View History

2016-06-11 08:55:39 -07:00
.mdl-checkbox {
position: relative;
z-index: 1;
vertical-align: middle;
display: inline-flex;
2016-06-11 08:55:39 -07:00
box-sizing: border-box;
width: 100%;
margin: 0;
padding: 0;
2016-08-04 16:48:54 -07:00
padding-left: 2.6em;
2016-06-11 08:55:39 -07:00
align-items: center;
2016-08-04 16:48:54 -07:00
height: 2.3em;
2016-06-11 08:55:39 -07:00
}
.checkboxFieldDescription {
2016-08-04 16:48:54 -07:00
padding-left: 2.6em;
2016-06-11 08:55:39 -07:00
}
.checkboxContainer {
2016-08-30 11:13:41 -07:00
margin-bottom: 1.8em;
2016-09-15 23:32:40 -07:00
display: flex;
2016-06-11 08:55:39 -07:00
}
2016-08-04 12:05:52 -07:00
.checkboxContainer-withDescription {
flex-direction: column;
2016-06-11 08:55:39 -07:00
}
.mdl-checkbox__input {
position: absolute;
2016-08-27 18:05:32 -07:00
/* 1px is for focusing purposes, so the focusManager doesn't skip over it */
width: 1px;
height: 1px;
2016-06-11 08:55:39 -07:00
margin: 0;
padding: 0;
opacity: 0;
-ms-appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
border: none;
}
.checkboxOutline {
position: absolute;
top: 3px;
left: 0;
display: inline-block;
box-sizing: border-box;
2016-08-04 16:48:54 -07:00
width: 1.83em;
height: 1.83em;
2016-06-11 08:55:39 -07:00
margin: 0;
cursor: pointer;
overflow: hidden;
border: 2px solid currentcolor;
border-radius: 2px;
z-index: 2;
}
.mdl-checkbox__input:checked + span + span + .checkboxOutline {
2016-06-15 11:56:37 -07:00
border-color: #52B54B;
2016-06-11 08:55:39 -07:00
}
.mdl-checkbox__input[disabled] + span + span + .checkboxOutline {
2016-06-15 11:56:37 -07:00
border-color: rgba(0, 0, 0, 0.26);
2016-06-11 08:55:39 -07:00
cursor: auto;
}
.mdl-checkbox__focus-helper {
position: absolute;
2016-08-04 16:48:54 -07:00
top: -0.915em;
left: -0.915em;
width: 3.66em;
height: 3.66em;
2016-06-11 08:55:39 -07:00
display: inline-block;
box-sizing: border-box;
margin: 3px 0 0 0;
border-radius: 50%;
background-color: transparent;
}
.mdl-checkbox__input:focus + span + .mdl-checkbox__focus-helper {
background-color: rgba(82, 181, 75, 0.26);
}
.mdl-checkbox__tick-outline {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: transparent;
transition-duration: 0.28s;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-property: background;
}
.mdl-checkbox__input:checked + span + span + .checkboxOutline .mdl-checkbox__tick-outline {
background: #52B54B url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K");
}
.mdl-checkbox__input:checked[disabled] + span + span + .checkboxOutline .mdl-checkbox__tick-outline {
background: rgba(0, 0, 0, 0.26) url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K");
}
.checkboxLabel {
position: relative;
cursor: pointer;
margin: 0;
}
.mdl-checkbox__input[disabled] + .checkboxLabel {
color: rgba(0, 0, 0, 0.26);
cursor: auto;
}
2016-09-15 23:32:40 -07:00
.checkboxList > .mdl-checkbox {
2016-06-11 08:55:39 -07:00
display: flex;
margin: .5em 0;
}
2016-08-26 10:24:04 -07:00
.checkboxList-paperList {
2016-08-27 18:05:32 -07:00
padding: 1em !important;
2016-09-26 11:59:18 -07:00
margin: .75em 0 !important;
2016-08-27 18:05:32 -07:00
}
2016-09-07 13:11:16 -07:00
.checkboxListLabel {
opacity: .7;
2016-09-26 11:59:18 -07:00
margin-bottom: 0;
2016-09-15 23:32:40 -07:00
}
2017-01-23 12:06:13 -07:00
@-webkit-keyframes repaintChrome {
from {
padding: 0;
}
to {
padding: 0;
}
}