You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
5.1 KiB
1 lines
5.1 KiB
.ui.checkbox{position:relative;display:inline-block;outline:0;margin-right:.5em;vertical-align:middle}.ui.checkbox input{visibility:hidden;outline:0}.ui.checkbox .box,.ui.checkbox label{outline:0;cursor:pointer;position:absolute;line-height:1;width:1em;height:1em;bottom:0;left:0;border-radius:4px;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.2);-moz-box-shadow:0 0 0 1px rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(0,0,0,.2);background:#FFF;-webkit-transition:background-color .1s ease-out,box-shadow .1s ease-out;-moz-transition:background-color .1s ease-out,box-shadow .1s ease-out;-o-transition:background-color .1s ease-out,box-shadow .1s ease-out;-ms-transition:background-color .1s ease-out,box-shadow .1s ease-out;transition:background-color .1s ease-out,box-shadow .1s ease-out}.ui.checkbox .box:after,.ui.checkbox label:after{-ms-filter:"alpha(Opacity=0)";filter:alpha(opacity=0);opacity:0;content:'';position:absolute;background:transparent;border:.2em solid #333;border-top:0;border-right:0;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-o-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.ui.checkbox .box:after,.ui.checkbox label:after{top:.3em;left:.2em;width:.45em;height:.15em}.ui.checkbox+label{cursor:pointer;opacity:.85;vertical-align:middle}.ui.checkbox+label:hover{opacity:1}.ui.checkbox .box:hover,.ui.checkbox label:hover{background-color:#FAFAFA;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.3);-moz-box-shadow:0 0 0 1px rgba(0,0,0,.3);box-shadow:0 0 0 1px rgba(0,0,0,.3)}.ui.checkbox .box:active,.ui.checkbox label:active{background-color:#F5F5F5}.ui.checkbox input:checked+.box:after,.ui.checkbox input:checked+label:after{-ms-filter:"alpha(Opacity=100)";filter:alpha(opacity=100);opacity:1}.ui.disabled.checkbox+.box:after,.ui.checkbox input[disabled]+.box:after,.ui.disabled.checkbox label,.ui.checkbox input[disabled]+label{opacity:.4}.ui.radio.checkbox{width:14px;height:16px}.ui.radio.checkbox .box,.ui.radio.checkbox label{width:14px;height:14px;-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px}.ui.radio.checkbox .box:after,.ui.radio.checkbox label:after{top:3px;left:3px;border:0;width:8px;height:8px;background-color:#555;-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px}.ui.slider.checkbox{cursor:pointer;width:3em;height:2em}.ui.slider.checkbox:after{position:absolute;top:1em;left:0;content:'';width:100%;height:2px;background-color:rgba(0,0,0,.1)}.ui.slider.checkbox .box,.ui.slider.checkbox label{cursor:pointer;display:block;position:absolute;top:.25em;left:0;z-index:1;width:1.5em;height:1.5em;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.1) inset;-moz-box-shadow:0 0 0 1px rgba(0,0,0,.1) inset;box-shadow:0 0 0 1px rgba(0,0,0,.1) inset;border-radius:50rem;-webkit-transition:left .3s ease 0s;-moz-transition:left .3s ease 0s;-o-transition:left .3s ease 0s;-ms-transition:left .3s ease 0s;transition:left .3s ease 0s}.ui.slider.checkbox .box:after,.ui.slider.checkbox label:after{opacity:1;position:absolute;content:'';top:.375em;left:.375em;border:0;width:.75em;height:.75em;background-color:#D95C5C;border-radius:50rem;-webkit-transition:background .3s ease 0s;-moz-transition:background .3s ease 0s;-o-transition:background .3s ease 0s;-ms-transition:background .3s ease 0s;transition:background .3s ease 0s}.ui.slider.checkbox input:checked+.box,.ui.slider.checkbox input:checked+label{left:1.75em}.ui.slider.checkbox input:checked+.box:after,.ui.slider.checkbox input:checked+label:after{background-color:#89B84C}.ui.toggle.checkbox{cursor:pointer;width:3em;height:2em}.ui.toggle.checkbox:after{cursor:pointer;display:block;position:absolute;content:'';top:.25em;left:0;z-index:1;background-color:#FFF;width:100%;height:1.5em;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.1) inset;-moz-box-shadow:0 0 0 1px rgba(0,0,0,.1) inset;box-shadow:0 0 0 1px rgba(0,0,0,.1) inset;border-radius:50rem}.ui.toggle.checkbox .box,.ui.toggle.checkbox label{position:absolute;top:.65em;left:.5em;-webkit-transition:left .3s ease 0s;-moz-transition:left .3s ease 0s;-o-transition:left .3s ease 0s;-ms-transition:left .3s ease 0s;transition:left .3s ease 0s;background-color:transparent;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.ui.toggle.checkbox .box:after,.ui.toggle.checkbox label:after{opacity:1;content:'';position:absolute;top:0;left:0;z-index:2;border:0;width:.75em;height:.75em;background-color:#D95C5C;border-radius:50rem;-webkit-transition:background .3s ease 0s;-moz-transition:background .3s ease 0s;-o-transition:background .3s ease 0s;-ms-transition:background .3s ease 0s;transition:background .3s ease 0s}.ui.toggle.checkbox input:checked+.box,.ui.toggle.checkbox input:checked+label{left:1.75em}.ui.toggle.checkbox input:checked+.box:after,.ui.toggle.checkbox input:checked+label:after{background-color:#89B84C}.ui.checkbox{width:1em;height:1em}.ui.checkbox,.ui.checkbox .box,.ui.checkbox label{font-size:1em}.ui.large.checkbox{width:1.25em;height:1.25em}.ui.large.checkbox,.ui.large.checkbox .box,.ui.large.checkbox label{font-size:1.25em}.ui.huge.checkbox{width:1.5em;height:1.5em}.ui.huge.checkbox,.ui.huge.checkbox .box,.ui.huge.checkbox label{font-size:1.5em}
|