|
|
/* * # Semantic - Checkbox * http://github.com/semantic-org/semantic-ui/ * * * Copyright 2013 Contributors * Released under the MIT license * http://opensource.org/licenses/MIT * */ /******************************* Theme *******************************/ /*
███████╗███████╗███╗ ███╗ █████╗ ███╗ ██╗████████╗██╗ ██████╗ ██╗ ██╗██╗ ██╔════╝██╔════╝████╗ ████║██╔══██╗████╗ ██║╚══██╔══╝██║██╔════╝ ██║ ██║██║ ███████╗█████╗ ██╔████╔██║███████║██╔██╗ ██║ ██║ ██║██║ ██║ ██║██║ ╚════██║██╔══╝ ██║╚██╔╝██║██╔══██║██║╚██╗██║ ██║ ██║██║ ██║ ██║██║ ███████║███████╗██║ ╚═╝ ██║██║ ██║██║ ╚████║ ██║ ██║╚██████╗ ╚██████╔╝██║ ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝
*/ /******************************* Folders *******************************/ /* Path to theme packages */ /* Path to site override folder */ /******************************* Themes *******************************/ /* To override a theme for an individual element specify theme name below
Be sure to update the user folder name (see README) */ /* Global */ /* Elements */ /* Collections */ /* Modules */ /* Views */ /******************************* Import Directives *******************************/ /*------------------ Load Default -------------------*/ /******************************* Global Variables *******************************/ /*------------------- Paths --------------------*/ /*------------------- Page --------------------*/ /*------------------- Grid --------------------*/ /*------------------- Breakpoints --------------------*/ /*------------------- Fonts --------------------*/ /*------------------- Icons --------------------*/ /* Max Width of Icon */ /*------------------- Easing --------------------*/ /******************************* BG Colors *******************************/ /******************************* Colors *******************************/ /*--- Colors ---*/ /*--- Neutrals ---*/ /*--- Text Colors ---*/ /* Preserve */ /* Adjust for Legibility */ /*--- Backgrounds ---*/ /*------------------- Emotive Colors --------------------*/ /* Positive / Negative */ /* Messages */ /*------------------- Text Colors --------------------*/ /*------------------- Brand Colors --------------------*/ /*------------------- Borders --------------------*/ /*------------------- Sizes --------------------*/ /*------------------- Transitions --------------------*/ /******************************* States *******************************/ /*------------------- Disabled --------------------*/ /*------------------- Hover --------------------*/ /*--- Colors ---*/ /*--- Emotive ---*/ /*--- Neutrals ---*/ /*------------------- Down (:active) --------------------*/ /*--- Colors ---*/ /*--- Emotive ---*/ /*--- Neutrals ---*/ /*------------------- Active --------------------*/ /*--- Standard ---*/ /*--- Emotive ---*/ /*--- Neutrals ---*/ /*------------------- Checkbox --------------------*/ /* Label */ /* Checkbox */ /* Checkmark */ /* Radio */ /* Slider & Toggle Handle */ /*------------------- Coupling --------------------*/ /*------------------- States --------------------*/ /* Disabled */ /*------------------- Types --------------------*/ /* Radio */ /* Slider */ /* Toggle */ /*------------------- Variations --------------------*/ /*------------------ Load Theme -------------------*/ /*------------------ Load Site -------------------*/ /******************************* User Global Variables *******************************/ /******************************* User Variable Overrides *******************************/ /*------------------ Override Mix-in -------------------*/ /******************************* Checkbox *******************************/ /*-------------- Content ---------------*/ .ui.checkbox { position: relative; display: inline-block; height: 16px; font-size: 1rem; line-height: 15px; min-width: 16px; -webkit-backface-visibility: hidden; backface-visibility: hidden; outline: none; vertical-align: middle; } .ui.checkbox input { position: absolute; top: 0px; left: 0px; opacity: 0; outline: none; z-index: -1; } /*-------------- Box ---------------*/ .ui.checkbox .box, .ui.checkbox label { cursor: pointer; padding-left: 2em; outline: none; } .ui.checkbox label { font-size: 1em; } .ui.checkbox .box:before, .ui.checkbox label:before { position: absolute; line-height: 1; width: 16px; height: 16px; top: 0em; left: 0em; content: ''; background: #ffffff; border-radius: 0.25em; -webkit-transition: background-color 0.3s ease, border 0.3s ease, -webkit-box-shadow 0.3s ease; transition: background-color 0.3s ease, border 0.3s ease, box-shadow 0.3s ease; border: 1px solid rgba(0, 0, 0, 0.1); } /*-------------- Checkmark ---------------*/ .ui.checkbox .box:after, .ui.checkbox label:after { position: absolute; top: 1px; left: 0px; line-height: 1; width: 16px; text-align: center; opacity: 0; color: rgba(0, 0, 0, 0.8); -webkit-transition: opacity 0.1s ease; transition: opacity 0.1s ease; } /*-------------- Label ---------------*/ /* Inside */ .ui.checkbox label, .ui.checkbox + label { cursor: pointer; color: rgba(0, 0, 0, 0.8); -webkit-transition: color 0.2s ease; transition: color 0.2s ease; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } /* Outside */ .ui.checkbox + label { vertical-align: middle; } /******************************* States *******************************/ /*-------------- Hover ---------------*/ .ui.checkbox .box:hover::before, .ui.checkbox label:hover::before { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.2); } .ui.checkbox label:hover, .ui.checkbox + label:hover { color: rgba(0, 0, 0, 0.8); } /*-------------- Down ---------------*/ .ui.checkbox .box:active::before, .ui.checkbox label:active::before { background: #f5f5f5; border: 1px solid 1px solid rgba(0, 0, 0, 0.2); } .ui.checkbox input:active ~ label { color: rgba(0, 0, 0, 0.8); } /*-------------- Focus ---------------*/ .ui.checkbox input:focus ~ .box:before, .ui.checkbox input:focus ~ label:before { background: #f5f5f5; border: 1px solid 1px solid rgba(0, 0, 0, 0.2); } .ui.checkbox input:focus ~ label { color: rgba(0, 0, 0, 0.8); } /*-------------- Active ---------------*/ .ui.checkbox input:checked ~ .box:after, .ui.checkbox input:checked ~ label:after { opacity: 1; } /*-------------- Disabled ---------------*/ .ui.disabled.checkbox .box:after, .ui.disabled.checkbox label, .ui.checkbox input[disabled] ~ .box:after, .ui.checkbox input[disabled] ~ label { opacity: 0.3; color: rgba(0, 0, 0, 0.3); } /******************************* Types *******************************/ /*-------------- Radio ---------------*/ /* Box */ .ui.radio.checkbox .box:before, .ui.radio.checkbox label:before { border-radius: 500rem; -webkit-transform: none; -ms-transform: none; transform: none; } /* Circle */ .ui.radio.checkbox .box:after, .ui.radio.checkbox label:after { border: none; top: 3px; left: 0em; font-size: 9px; } /*-------------- Slider ---------------*/ .ui.slider.checkbox { cursor: pointer; } .ui.slider.checkbox .box, .ui.slider.checkbox label { padding-left: 3.25em; } /* Line */ .ui.slider.checkbox .box:before, .ui.slider.checkbox label:before { cursor: pointer; display: block; position: absolute; content: ''; top: 0.4em; left: 0em; z-index: 1; border: none !important; background-color: rgba(0, 0, 0, 0.05); width: 2.25em; height: 0.25em; -webkit-transform: none; -ms-transform: none; transform: none; border-radius: 500rem; -webkit-transition: background 0.3s ease ; transition: background 0.3s ease ; } /* Handle */ .ui.slider.checkbox .box:after, .ui.slider.checkbox label:after { background: #ffffff -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.1))); background: #ffffff -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.1)); background: #ffffff linear-gradient(transparent, rgba(0, 0, 0, 0.1)); position: absolute; content: ''; opacity: 1; z-index: 2; border: none; -webkit-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1), 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1), 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset; width: 1.25em; height: 1.25em; top: -0.125em; left: 0em; border-radius: 500rem; -webkit-transition: left 0.3s ease 0s ; transition: left 0.3s ease 0s ; } /* Focus */ .ui.slider.checkbox input:focus ~ .box:before, .ui.slider.checkbox input:focus ~ label:before { background-color: rgba(0, 0, 0, 0.1); border: none; } /* Active */ .ui.slider.checkbox input:checked ~ .box:before, .ui.slider.checkbox input:checked ~ label:before { background-color: #2ecc40; } .ui.slider.checkbox input:checked ~ .box:after, .ui.slider.checkbox input:checked ~ label:after { left: 1em; } /*-------------- Toggle ---------------*/ .ui.toggle.checkbox { cursor: pointer; } .ui.toggle.checkbox .box, .ui.toggle.checkbox label { padding-left: 3em; } /* Switch */ .ui.toggle.checkbox .box:before, .ui.toggle.checkbox label:before { cursor: pointer; display: block; position: absolute; content: ''; top: -0.125em; z-index: 1; border: none; background-color: rgba(0, 0, 0, 0.05); width: 2.25em; height: 1.25em; border-radius: 500rem; } /* Handle */ .ui.toggle.checkbox .box:after, .ui.toggle.checkbox label:after { background: #ffffff -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.1))); background: #ffffff -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.1)); background: #ffffff linear-gradient(transparent, rgba(0, 0, 0, 0.1)); position: absolute; content: ''; opacity: 1; z-index: 2; border: none; -webkit-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1), 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1), 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset; width: 1.25em; height: 1.25em; top: -0.125em; left: 0em; border-radius: 500rem; -webkit-transition: background 0.3s ease 0s, left 0.3s ease 0s ; transition: background 0.3s ease 0s, left 0.3s ease 0s ; } .ui.toggle.checkbox input ~ .box:after, .ui.toggle.checkbox input ~ label:after { left: -0.2em; } /* Focus */ .ui.toggle.checkbox input:focus ~ .box:before, .ui.toggle.checkbox input:focus ~ label:before { background-color: rgba(0, 0, 0, 0.1); border: none; } /* Active */ .ui.toggle.checkbox input:checked ~ .box, .ui.toggle.checkbox input:checked ~ label { color: #2ecc40; } .ui.toggle.checkbox input:checked ~ .box:before, .ui.toggle.checkbox input:checked ~ label:before { background-color: #2ecc40; } .ui.toggle.checkbox input:checked ~ .box:after, .ui.toggle.checkbox input:checked ~ label:after { left: 1.2em; } /******************************* Overrides *******************************/ @font-face { font-family: 'Checkbox'; src: url('data:application/octet-stream;base64,d09GRgABAAAAAAoUAA4AAAAAEPQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABRAAAAEQAAABWPeFJAWNtYXAAAAGIAAAAOgAAAUrQEhm3Y3Z0IAAAAcQAAAAUAAAAHAZJ/5RmcGdtAAAB2AAABPkAAAmRigp4O2dhc3AAAAbUAAAACAAAAAgAAAAQZ2x5ZgAABtwAAACuAAAAtt9nBHZoZWFkAAAHjAAAADUAAAA2ASs8e2hoZWEAAAfEAAAAIAAAACQHUwNNaG10eAAAB+QAAAAMAAAADAspAABsb2NhAAAH8AAAAAgAA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uwAAAAcZnBnbYoKeDsAAAcIAAAJkWdhc3AAAAAQAAAG5AAAAAhnbHlm32cEdgAAApAAAAC2aGVhZAErPHsAAANIAAAANmhoZWEHUwNNAAADgAAAACRobXR4CykAAAAAA6QAAAAMbG9jYQA4AFsAAAOwAAAACG1heHAApgm8AAADuAAAACBuYW1lzJ0aHAAAA9gAAALNcG9zdK69QJgAAAaoAAAAO3ByZXCSoZr/AAAQnAAAAFYAAQO4AZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA6ADoAQNS/2oAWgMLAE8AAAABAAAAAAAAAAAAAwAAAAMAAAAcAAEAAAAAAEQAAwABAAAAHAAEACgAAAAGAAQAAQACAADoAf//AAAAAOgA//8AABgBAAEAAAAAAAAAAAEGAAAAAAAAAAAAAAAAA } .ui.checkbox label:before, .ui.checkbox .box:before, .ui.checkbox label:after, .ui.checkbox .box:after { font-family: 'Checkbox'; } .ui.checkbox label:after, .ui.checkbox .box:after { content: '\e800'; /* '' */ } /* Radio Checkbox */ .ui.radio.checkbox .box:after, .ui.radio.checkbox label:after { content: '\e801'; /* '' */ } @media screen and (-webkit-min-device-pixel-ratio: 0) { .ui.radio.checkbox .box:after, .ui.radio.checkbox label:after { top: 4px; } } .icon-check:before { content: '\e800'; } .icon-circle:before { content: '\e801'; } /* '' */ .icon-ok-circled:before { content: '\e806'; } /* '' */ .icon-ok-circle:before { content: '\e805'; } /* '' */ .icon-cancel-circle:before { content: '\e807'; } /* '' */ .icon-cancel-circle-1:before { content: '\e804'; } /* '' */ .icon-empty-circle:before { content: '\e802'; } /* '' */ .icon-radio:before { content: '\e803'; } /* '' */ /******************************* Overrides *******************************/
|