Repository navigation
Expand file tree
/
Copy pathchao.min.css
More file actions
22 lines (18 loc) · 22 KB
/
Copy pathchao.min.css
File metadata and controls
22 lines (18 loc) · 22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/** MIT License
Copyright (c) 2019 Mark Balyi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. */
.chao-btn{border:1px solid #2196F3;border-radius:0.25em;background-color:transparent;padding:0.5em}.chao-btn.chao-btn-icon-without-border{border:none}.chao-btn:not(.chao-disabled){cursor:pointer}.chao-btn .chao-btn-title,.chao-btn .chao-btn-icon{color:#2196F3}.chao-btn:hover:not(.chao-disabled):not(.chao-btn-icon-without-border){background-color:#2196F3;box-shadow:0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15)}.chao-btn:hover:not(.chao-disabled) .chao-btn-title,.chao-btn:hover:not(.chao-disabled):not(.chao-btn-icon-without-border) .chao-btn-icon{color:#fff}.chao-btn.chao-btn-icon-without-border:hover:not(.chao-disabled) .chao-btn-icon{color:#000}.chao-btn.chao-btn-success:hover:not(.chao-disabled):not(.chao-btn-icon-without-border){background-color:#4bae4f}.chao-btn.chao-btn-warning:hover:not(.chao-disabled):not(.chao-btn-icon-without-border){background-color:#fe5621}.chao-btn.chao-btn-error:hover:not(.chao-disabled):not(.chao-btn-icon-without-border){background-color:#f3422b}.chao-btn.chao-disabled{opacity:0.65}.chao-btn.chao-disabled.chao-btn-info{background-color:#2196F3}.chao-btn.chao-disabled.chao-btn-success{background-color:#4bae4f}.chao-btn.chao-disabled.chao-btn-warning{background-color:#fe5621}.chao-btn.chao-disabled.chao-btn-error{background-color:#f3422b}.chao-btn.chao-disabled .chao-btn-title,.chao-btn.chao-disabled .chao-btn-icon{color:#fff}.chao-btn:not(.chao-disabled).chao-btn-info{border-color:#2196F3;color:#2196F3}.chao-btn.chao-btn-success{border-color:#4bae4f}.chao-btn.chao-btn-success:not(.chao-disabled):not(:hover) .chao-btn-title,.chao-btn.chao-btn-success:not(.chao-disabled):not(:hover) .chao-btn-icon{color:#4bae4f}.chao-btn.chao-btn-warning{border-color:#fe5621}.chao-btn.chao-btn-warning:not(.chao-disabled):not(:hover) .chao-btn-title,.chao-btn.chao-btn-warning:not(.chao-disabled):not(:hover) .chao-btn-icon{color:#fe5621}.chao-btn.chao-btn-error{border-color:#f3422b}.chao-btn.chao-btn-error:not(.chao-disabled):not(:hover) .chao-btn-title,.chao-btn.chao-btn-error:not(.chao-disabled):not(:hover) .chao-btn-icon{color:#f3422b}.chao-checkbox-group{display:flex;width:100%}.chao-checkbox-group input{display:none}.chao-checkbox-group .chao-checkbox-btn:not(.chao-disabled){cursor:pointer}.chao-checkbox-group .chao-checkbox-btn{border:1px solid #2196F3;background-color:transparent;padding:0.5em}.chao-checkbox-group.chao-disabled .chao-checkbox-btn{border-color:#555}.chao-checkbox-group .chao-checkbox-btn.chao-disabled{background-color:#EEE;color:#555}.chao-checkbox-group .chao-checkbox-title{color:#2196F3}.chao-checkbox-group .chao-checkbox-btn.chao-disabled .chao-checkbox-title{color:#555}.chao-checkbox-group .chao-checkbox-btn.chao-checkbox-active:not(.chao-disabled){background-color:#2196F3}.chao-checkbox-group .chao-checkbox-btn.chao-checkbox-active.chao-disabled{background-color:#555}.chao-checkbox-group .chao-checkbox-btn.chao-checkbox-active .chao-checkbox-title{color:#fff}.chao-checkbox-group .chao-checkbox-btn:first-child{border-radius:0.25em 0 0 0.25em}.chao-checkbox-group .chao-checkbox-btn:last-child{border-radius:0 0.25em 0.25em 0}@-webkit-keyframes myanimation{from{left:0%}to{left:50%}}.chao-checkpoint-progress-bar{color:#444;font-family:"PT Sans Caption",sans-serif;margin:40px auto;max-width:1200px;position:relative}ul.chao-progress-bar{margin:0 20px}ul.chao-progress-bar li{color:#ccc;display:block;font-size:16px;font-weight:600;padding:14px 20px 14px 80px;position:relative}ul.chao-progress-bar li:before{-webkit-box-shadow:inset 2px 2px 2px 0 rgba(0,0,0,0.2);box-shadow:inset 2px 2px 2px 0 rgba(0,0,0,0.2);background:#ddd;border:2px solid #fff;border-radius:50%;color:#fff;font-size:16px;font-weight:700;left:20px;line-height:37px;height:35px;position:absolute;text-align:center;text-shadow:1px 1px rgba(0,0,0,0.2);top:4px;width:35px;z-index:2}ul.chao-progress-bar li.inprogress{color:#8bc53f;font-weight:bold}ul.chao-progress-bar li.inprogress:before{background:#8bc53f;z-index:2}ul.chao-progress-bar li.completed{background:#ececec;color:#57aed1;z-index:1}ul.chao-progress-bar li.completed:before{background:#57aed1;z-index:2}ul.chao-progress-bar li:nth-child(1):before{content:"1"}ul.chao-progress-bar li:nth-child(2):before{content:"2"}ul.chao-progress-bar li:nth-child(3):before{content:"3"}ul.chao-progress-bar li:nth-child(4):before{content:"4"}ul.chao-progress-bar li:nth-child(5):before{content:"5"}ul.chao-progress-bar li:nth-child(6):before{content:"6"}ul.chao-progress-bar{color:#57aed1;font-size:16px;font-weight:600;text-decoration:none}@media all and (min-width:800px){.chao-progress-bar li.inprogress:after{-webkit-animation:myanimation 3s 0;background-size:35px 35px;background-color:#8bc53f;background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.2) 50%,rgba(255,255,255,0.2) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.2) 50%,rgba(255,255,255,0.2) 75%,transparent 75%,transparent);-webkit-box-shadow:inset 2px 2px 2px 0 rgba(0,0,0,0.2);box-shadow:inset 2px 2px 2px 0 rgba(0,0,0,0.2);content:"";height:15px;width:100%;left:50%;position:absolute;top:-50px;z-index:0}.chao-checkpoint-progress-bar{margin:80px auto}ul.chao-progress-bar{-webkit-box-shadow:inset 2px 2px 2px 0 rgba(0,0,0,0.2);box-shadow:inset 2px 2px 2px 0 rgba(0,0,0,0.2);background-size:35px 35px;background-color:#ececec;background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.4) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.4) 50%,rgba(255,255,255,0.4) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.4) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.4) 50%,rgba(255,255,255,0.4) 75%,transparent 75%,transparent);border-radius:15px;height:15px;margin:0 auto;padding:0;position:absolute;width:100%}ul.chao-progress-bar.progress:before{background-size:35px 35px;background-color:#57aed1;background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.2) 50%,rgba(255,255,255,0.2) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.2) 50%,rgba(255,255,255,0.2) 75%,transparent 75%,transparent);-webkit-box-shadow:inset 2px 2px 2px 0 rgba(0,0,0,0.2);box-shadow:inset 2px 2px 2px 0 rgba(0,0,0,0.2);border-radius:15px;content:" ";height:15px;left:0;position:absolute;width:12%}ul.chao-progress-bar li{display:inline-block;margin:50px 0 0;padding:0;text-align:center}ul.chao-progress-bar li.chao-size-1{width:99%}ul.chao-progress-bar li.chao-size-2{width:49%}ul.chao-progress-bar li.chao-size-3{width:32%}ul.chao-progress-bar li.chao-size-4{width:24.6%}ul.chao-progress-bar li.chao-size-5{width:19%}ul.chao-progress-bar li:before{height:45px;left:40%;line-height:45px;position:absolute;top:-65px;width:45px;z-index:1}ul.chao-progress-bar li.completed{background:none}ul.chao-progress-bar li.completed:after{background-size:35px 35px;background-color:#57aed1;background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.2) 50%,rgba(255,255,255,0.2) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.2) 50%,rgba(255,255,255,0.2) 75%,transparent 75%,transparent);-webkit-box-shadow:inset 2px 2px 2px 0 rgba(0,0,0,0.2);box-shadow:inset 2px 2px 2px 0 rgba(0,0,0,0.2);content:"";height:15px;left:50%;position:absolute;top:-50px;width:100%;z-index:1}.chao-progress-bar li:last-child.completed:after{width:51%;border-radius:0 15px 15px 0}}.chao-progress-bar li.inprogress.progress-1:after{width:1%}.chao-progress-bar li.inprogress.progress-2:after{width:2%}.chao-progress-bar li.inprogress.progress-3:after{width:3%}.chao-progress-bar li.inprogress.progress-4:after{width:4%}.chao-progress-bar li.inprogress.progress-5:after{width:5%}.chao-progress-bar li.inprogress.progress-6:after{width:6%}.chao-progress-bar li.inprogress.progress-7:after{width:7%}.chao-progress-bar li.inprogress.progress-8:after{width:8%}.chao-progress-bar li.inprogress.progress-9:after{width:9%}.chao-progress-bar li.inprogress.progress-10:after{width:10%}.chao-progress-bar li.inprogress.progress-11:after{width:11%}.chao-progress-bar li.inprogress.progress-12:after{width:12%}.chao-progress-bar li.inprogress.progress-13:after{width:13%}.chao-progress-bar li.inprogress.progress-14:after{width:14%}.chao-progress-bar li.inprogress.progress-15:after{width:15%}.chao-progress-bar li.inprogress.progress-16:after{width:16%}.chao-progress-bar li.inprogress.progress-17:after{width:17%}.chao-progress-bar li.inprogress.progress-18:after{width:18%}.chao-progress-bar li.inprogress.progress-19:after{width:19%}.chao-progress-bar li.inprogress.progress-20:after{width:20%}.chao-progress-bar li.inprogress.progress-21:after{width:21%}.chao-progress-bar li.inprogress.progress-22:after{width:22%}.chao-progress-bar li.inprogress.progress-23:after{width:23%}.chao-progress-bar li.inprogress.progress-24:after{width:24%}.chao-progress-bar li.inprogress.progress-25:after{width:25%}.chao-progress-bar li.inprogress.progress-26:after{width:26%}.chao-progress-bar li.inprogress.progress-27:after{width:27%}.chao-progress-bar li.inprogress.progress-28:after{width:28%}.chao-progress-bar li.inprogress.progress-29:after{width:29%}.chao-progress-bar li.inprogress.progress-30:after{width:30%}.chao-progress-bar li.inprogress.progress-31:after{width:31%}.chao-progress-bar li.inprogress.progress-32:after{width:32%}.chao-progress-bar li.inprogress.progress-33:after{width:33%}.chao-progress-bar li.inprogress.progress-34:after{width:34%}.chao-progress-bar li.inprogress.progress-35:after{width:35%}.chao-progress-bar li.inprogress.progress-36:after{width:36%}.chao-progress-bar li.inprogress.progress-37:after{width:37%}.chao-progress-bar li.inprogress.progress-38:after{width:38%}.chao-progress-bar li.inprogress.progress-39:after{width:39%}.chao-progress-bar li.inprogress.progress-40:after{width:40%}.chao-progress-bar li.inprogress.progress-41:after{width:41%}.chao-progress-bar li.inprogress.progress-42:after{width:42%}.chao-progress-bar li.inprogress.progress-43:after{width:43%}.chao-progress-bar li.inprogress.progress-44:after{width:44%}.chao-progress-bar li.inprogress.progress-45:after{width:45%}.chao-progress-bar li.inprogress.progress-46:after{width:46%}.chao-progress-bar li.inprogress.progress-47:after{width:47%}.chao-progress-bar li.inprogress.progress-48:after{width:48%}.chao-progress-bar li.inprogress.progress-49:after{width:49%}.chao-progress-bar li.inprogress.progress-50:after{width:50%}.chao-progress-bar li.inprogress.progress-51:after{width:51%}.chao-progress-bar li:last-child.inprogress.progress-51:after{width:51%;border-radius:0 15px 15px 0}.chao-progress-bar li.inprogress.progress-52:after{width:52%}.chao-progress-bar li.inprogress.progress-53:after{width:53%}.chao-progress-bar li.inprogress.progress-54:after{width:54%}.chao-progress-bar li.inprogress.progress-55:after{width:55%}.chao-progress-bar li.inprogress.progress-56:after{width:56%}.chao-progress-bar li.inprogress.progress-57:after{width:57%}.chao-progress-bar li.inprogress.progress-58:after{width:58%}.chao-progress-bar li.inprogress.progress-59:after{width:59%}.chao-progress-bar li.inprogress.progress-60:after{width:60%}.chao-progress-bar li.inprogress.progress-61:after{width:61%}.chao-progress-bar li.inprogress.progress-62:after{width:62%}.chao-progress-bar li.inprogress.progress-63:after{width:63%}.chao-progress-bar li.inprogress.progress-64:after{width:64%}.chao-progress-bar li.inprogress.progress-65:after{width:65%}.chao-progress-bar li.inprogress.progress-66:after{width:66%}.chao-progress-bar li.inprogress.progress-67:after{width:67%}.chao-progress-bar li.inprogress.progress-68:after{width:68%}.chao-progress-bar li.inprogress.progress-69:after{width:69%}.chao-progress-bar li.inprogress.progress-70:after{width:70%}.chao-progress-bar li.inprogress.progress-71:after{width:71%}.chao-progress-bar li.inprogress.progress-72:after{width:72%}.chao-progress-bar li.inprogress.progress-73:after{width:73%}.chao-progress-bar li.inprogress.progress-74:after{width:74%}.chao-progress-bar li.inprogress.progress-75:after{width:75%}.chao-progress-bar li.inprogress.progress-76:after{width:76%}.chao-progress-bar li.inprogress.progress-77:after{width:77%}.chao-progress-bar li.inprogress.progress-78:after{width:78%}.chao-progress-bar li.inprogress.progress-79:after{width:79%}.chao-progress-bar li.inprogress.progress-80:after{width:80%}.chao-progress-bar li.inprogress.progress-81:after{width:81%}.chao-progress-bar li.inprogress.progress-82:after{width:82%}.chao-progress-bar li.inprogress.progress-83:after{width:83%}.chao-progress-bar li.inprogress.progress-84:after{width:84%}.chao-progress-bar li.inprogress.progress-85:after{width:85%}.chao-progress-bar li.inprogress.progress-86:after{width:86%}.chao-progress-bar li.inprogress.progress-87:after{width:87%}.chao-progress-bar li.inprogress.progress-88:after{width:88%}.chao-progress-bar li.inprogress.progress-89:after{width:89%}.chao-progress-bar li.inprogress.progress-90:after{width:90%}.chao-progress-bar li.inprogress.progress-91:after{width:91%}.chao-progress-bar li.inprogress.progress-92:after{width:92%}.chao-progress-bar li.inprogress.progress-93:after{width:93%}.chao-progress-bar li.inprogress.progress-94:after{width:94%}.chao-progress-bar li.inprogress.progress-95:after{width:95%}.chao-progress-bar li.inprogress.progress-96:after{width:96%}.chao-progress-bar li.inprogress.progress-97:after{width:97%}.chao-progress-bar li.inprogress.progress-98:after{width:98%}.chao-progress-bar li.inprogress.progress-99:after{width:99%}.chao-progress-bar li.inprogress.progress-100:after{width:100%}.chao-modal{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10;background:#fff;opacity:0.5}.chao-dialog{position:fixed;display:flex;flex-direction:column;min-width:150px;min-height:150px;max-width:50%;max-height:50%;z-index:20;border:1px solid rgba(0,0,0,0.15);box-shadow:1px 1px 10px 10px rgba(128,128,128,0.15)}.chao-dialog.center{left:50%;top:50%;transform:translate(-50%,-50%)}.chao-dialog.top{left:50%;transform:translateX(-50%)}.chao-dialog .chao-header{display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;margin:5px;font-size:1.3em;font-weight:bold}.chao-dialog .chao-header .chao-title{flex-grow:1}.chao-dialog .chao-header .chao-close span.chao-btn-icon{font-size:1.5em}.chao-dialog .chao-body{margin:5px 10px}.chao-dropdown{width:100%;height:32px;padding-top:13px}.chao-dropdown.item-selected{padding-top:0}.chao-dropdown.item-selected .chao-title{font-size:13px}.chao-dropdown .chao-dropdown-list,.chao-dropdown input{display:none}.chao-dropdown .chao-dropdown-body{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:stretch;align-content:stretch;border-bottom:1px solid rgba(0,0,0,.5)}.chao-dropdown .chao-dropdown-list{position:absolute;border:1px solid rgba(0,0,0,.5);border-radius:5px;overflow-y:auto;max-height:250px;max-width:100%;width:auto;height:auto}.chao-dropdown-body .chao-title,.chao-dropdown-body .chao-select{width:calc(100% - 18px);flex-grow:1}.chao-dropdown-body .chao-select{display:none}.chao-dropdown-body .chao-arrow{width:18px}.chao-dropdown-body .chao-arrow::before{font-family:"Font Awesome 5 Free";font-weight:900;content:"\f0dd"}.flexContainer{display:flex;flex-direction:row;justify-content:space-between;justify-items:baseline}.flexContainer.flexColumn{flex-direction:column}.flexContainer .flexItem{flex-grow:1;margin:0.1em}.flexContainer .flexItem:first-child{margin-left:0}.flexContainer .flexItem:last-child{margin-right:0}.chao-input{border:1px solid #2196F3;border-radius:0.25em;background-color:transparent;padding:0.5em}.chao-input.chao-disabled,.chao-input.chao-readonly{border-color:#555;background-color:#EEE}.chao-input-btn{display:flex}.chao-input-btn > .chao-input{flex-grow:1;border-radius:0.25em 0 0 0.25em}.chao-input-btn > .chao-btn{border-radius:0 0.25em 0.25em 0}.chao-input-btn > .chao-btn:not(.chao-disabled):not(:hover) .chao-btn-title,.chao-input-btn > .chao-btn:not(.chao-disabled):not(:hover) .chao-btn-icon{color:#fff}.chao-input-btn > .chao-btn,.chao-input-btn > .chao-btn.chao-btn-info{background-color:#2196F3}.chao-input-btn > .chao-btn.chao-btn-success{background-color:#4bae4f}.chao-input-btn > .chao-btn.chao-btn-warning{background-color:#fe5621}.chao-input-btn > .chao-btn.chao-btn-error{background-color:#f3422b}.chao-notification-container{position:absolute;top:0;right:0;padding:5px}.chao-notification{display:flex;width:200px;margin-bottom:2px;padding:5px;box-shadow:4px 3px 2px 2px #ccc;color:#fff}.chao-notification .chao-notifcation-icon{font-size:20px;margin:0 5px}.chao-notification .chao-notification-content{display:flex;flex-grow:1;flex-direction:column;margin:0 5px}.chao-notification .chao-notification-content .chao-notification-title{font-weight:bold;margin-bottom:2px}.chao-notification .chao-notification-content .chao-notification-description{font-size:0.8em}.chao-notification .chao-notification-close,.chao-notification .chao-notification-close .chao-btn-icon{color:#fff}.chao-notification .chao-notification-close .chao-btn{padding:0}.chao-notification.chao-info-notification{border:1px solid #2196F3;background-color:#2196F3}.chao-notification.chao-success-notification{border:1px solid #4bae4f;background-color:#4bae4f}.chao-notification.chao-warning-notification{border:1px solid #fe5621;background-color:#fe5621}.chao-notification.chao-error-notification{border:1px solid #f3422b;background-color:#f3422b}.chao-progress-bar{position:relative;width:100%;height:24px;border:0 none;border-radius:0.25em;background-color:#eaeaea}.chao-progress-bar.chao-progress-default{height:24px}.chao-progress-bar.chao-progress-thin{height:6px}.chao-progress-bar .chao-progress{height:100%;width:0%;border-radius:0.25em}.chao-progress-bar .chao-status{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-weight:700;color:#333;line-height:24px}.chao-progress-bar.chao-progress-info .chao-progress{background-color:#2196F3}.chao-progress-bar.chao-progress-success .chao-progress{background-color:#4bae4f}.chao-progress-bar.chao-progress-warning .chao-progress{background-color:#fe5621}.chao-progress-bar.chao-progress-error .chao-progress{background-color:#f3422b}.chao-spinner:before,.chao-spinner:after,.chao-spinner{border-radius:50%;animation-fill-mode:both;animation:chao-spinner 1.8s infinite ease-in-out}.chao-spinner{display:inline-block;position:relative;top:-1em;left:1em;width:1em;height:1em;color:#2196F3;vertical-align:middle;pointer-events:none;transform:translateZ(0);animation-delay:-0.16s}.chao-spinner:before{right:100%;animation-delay:-0.32s}.chao-spinner:after{left:100%}.chao-spinner:before,.chao-spinner:after{content:"";display:block;position:absolute;top:0;width:inherit;height:inherit}@keyframes chao-spinner{0%,80%,100%{box-shadow:0 1em 0 -1em}40%{box-shadow:0 1em 0 -0.2em}}.chao-switch{position:relative;display:inline-block;width:60px;height:34px}.chao-switch .chao-checkbox{opacity:0;width:0;height:0}.chao-switch .chao-slider{position:absolute;cursor:pointer;border-radius:34px;top:0;left:0;right:0;bottom:0;background-color:#CCC;-webkit-transition:.4s;transition:.4s}.chao-switch.chao-disabled .chao-slider{background-color:#BBB}.chao-switch .chao-slider:before{position:absolute;content:"";border-radius:50%;height:26px;width:26px;left:4px;bottom:4px;background-color:white;-webkit-transition:.4s;transition:.4s}.chao-switch.chao-disabled input:checked + .chao-slider:before{background-color:#777}.chao-switch input:checked + .chao-slider{background-color:#2196F3}.chao-switch.chao-disabled input:checked + .chao-slider{background-color:#999}.chao-switch input:focus + .chao-slider{box-shadow:0 0 1px #2196F3}.chao-switch input:checked + .chao-slider:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translateX(26px)}.chao-textarea{border:1px solid #2196F3;border-radius:0.25em;background-color:transparent;padding:0.5em;resize:none}.chao-textarea.chao-disabled,.chao-textarea.chao-readonly{border-color:#555;background-color:#EEE}.chao-textarea::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.3);background-color:#F5F5F5;border-radius:0.05em}.chao-textarea::-webkit-scrollbar{width:10px;background-color:#F5F5F5;border-radius:0.05em}.chao-textarea::-webkit-scrollbar-thumb{background-color:#0ae;border-radius:0.1em}.chao-textarea.chao-disabled::-webkit-scrollbar-thumb,.chao-textarea.chao-readonly::-webkit-scrollbar-thumb{background-color:#555}.chao-validator.chao-validator-lazy{position:relative}.chao-validator-lazy .chao-tooltip.chao-invalid-message{position:absolute;display:block}.chao-tooltip.chao-invalid-message{display:inline-block;background-color:transparent;color:#C21807}.chao-validator-lazy .chao-tooltip.chao-tooltip-position-right{right:0em;top:0.3em}.chao-validator-lazy .chao-tooltip.chao-tooltip-position-top{bottom:2em}.chao-validator-lazy .chao-tooltip.chao-tooltip-position-bottom{top:2em}.chao-input.chao-invalid-content{border-color:#C21807}