| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- /*font*/
- /*size*/
- /*icon*/
- /*color*/
- /*input/radio/checkbox*/
- /*popup*/
- /*table*/
- /*filter*/
- /*menu*/
- /*loading*/
- /*validate*/
- /*grid*/
- /*toolbar*/
- /*tooltip*/
- /*pager*/
- /*modal*/
- /*checkbox*/
- /*radio*/
- /*button*/
- /*input*/
- /*textarea*/
- /*form*/
- /*select*/
- /*switch*/
- /*pulldown*/
- .vxe-switch {
- display: inline-block;
- color: #606266;
- vertical-align: middle;
- padding: 0.4em;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-align: center; }
- .vxe-switch.is--animat .vxe-switch--button {
- -webkit-transition: border-color .3s, background-color .3s;
- transition: border-color .3s, background-color .3s; }
- .vxe-switch.is--animat .vxe-switch--icon {
- -webkit-transition: all 0.3s;
- transition: all 0.3s; }
- .vxe-switch.is--on .vxe-switch--button {
- padding-right: 1.7em;
- background-color: #409eff; }
- .vxe-switch.is--on .vxe-switch--icon {
- left: 100%;
- -webkit-transform: translateX(-1.4em);
- transform: translateX(-1.4em); }
- .vxe-switch.is--off .vxe-switch--button {
- padding-left: 1.7em;
- background-color: rgba(0, 0, 0, 0.35); }
- .vxe-switch.is--off .vxe-switch--icon {
- left: 0.2em;
- -webkit-transform: translateX(0);
- transform: translateX(0); }
- .vxe-switch.is--on .vxe-switch--label-off,
- .vxe-switch.is--off .vxe-switch--label-on {
- height: 0;
- visibility: hidden;
- overflow: hidden; }
- .vxe-switch.is--on .vxe-switch--label, .vxe-switch.is--off .vxe-switch--label {
- opacity: 1; }
- .vxe-switch:not(.is--disabled) .vxe-switch--button {
- cursor: pointer; }
- .vxe-switch:not(.is--disabled) .vxe-switch--button:focus {
- -webkit-box-shadow: 0 0 0.4em 0 #409eff;
- box-shadow: 0 0 0.4em 0 #409eff; }
- .vxe-switch.is--disabled .vxe-switch--button {
- cursor: no-drop; }
- .vxe-switch.is--disabled.is--on .vxe-switch--button {
- background-color: #a6d2ff; }
- .vxe-switch.is--disabled.is--off .vxe-switch--button {
- background-color: rgba(0, 0, 0, 0.15); }
- .vxe-switch .vxe-switch--button {
- display: block;
- position: relative;
- height: 1.6em;
- line-height: 1;
- min-width: 3.2em;
- padding: 0 0.6em;
- border-radius: 1em;
- border: 0;
- outline: 0; }
- .vxe-switch .vxe-switch--label {
- opacity: 0;
- display: block;
- color: #fff;
- font-size: 0.8em; }
- .vxe-switch .vxe-switch--icon {
- position: absolute;
- top: 0.2em;
- left: 0;
- width: 1.2em;
- height: 1.2em;
- border-radius: 50%;
- background-color: #fff; }
- .vxe-switch .vxe-switch--label-icon {
- margin-right: 0.25em; }
- .vxe-switch {
- font-size: 14px; }
- .vxe-switch.size--medium {
- font-size: 14px; }
- .vxe-switch.size--small {
- font-size: 13px; }
- .vxe-switch.size--mini {
- font-size: 12px; }
|