示例中的复选框样式更新
This commit is contained in:
parent
86d5573cf7
commit
afe8b66d8b
|
@ -2152,13 +2152,13 @@
|
|||
color: rgb(255,255,255) !important; }
|
||||
|
||||
.bg-primary {
|
||||
background-color: rgb(30,136,229) !important; }
|
||||
background-color: rgb(245, 60, 50) !important; }
|
||||
|
||||
.bg-primary-contrast {
|
||||
background-color: rgb(255,255,255) !important; }
|
||||
|
||||
.bg-primary-dark {
|
||||
background-color: rgb(21,101,192) !important; }
|
||||
background-color: rgb(230, 0, 18) !important; }
|
||||
|
||||
.bg-accent {
|
||||
background-color: rgb(67,160,71) !important; }
|
||||
|
@ -2167,13 +2167,13 @@
|
|||
background-color: rgb(255,255,255) !important; }
|
||||
|
||||
.text-primary {
|
||||
color: rgb(30,136,229) !important; }
|
||||
color: rgb(245, 60, 50) !important; }
|
||||
|
||||
.text-primary-contrast {
|
||||
color: rgb(255,255,255) !important; }
|
||||
|
||||
.text-primary-dark {
|
||||
color: rgb(21,101,192) !important; }
|
||||
color: rgb(230, 0, 18) !important; }
|
||||
|
||||
.text-accent {
|
||||
color: rgb(67,160,71) !important; }
|
||||
|
@ -5266,9 +5266,9 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
|||
.u-checkbox {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin: 0 5px;
|
||||
height: 18px;
|
||||
line-height: 18px;
|
||||
margin: 0 8px;
|
||||
height: 16px;
|
||||
line-height: 16px;
|
||||
font-size: 14px;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
|
@ -5276,9 +5276,6 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
|||
position: relative;
|
||||
line-height: 1;
|
||||
vertical-align: middle; }
|
||||
.u-checkbox.disabled .u-checkbox-label {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.5; }
|
||||
.u-checkbox input[type='checkbox'] {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
|
@ -5291,29 +5288,36 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
|||
.u-checkbox input[disabled] {
|
||||
cursor: not-allowed; }
|
||||
.u-checkbox input[type='checkbox']:focus + .u-checkbox-label:before {
|
||||
border-color: rgb(30,136,229); }
|
||||
border-color: rgb(245, 60, 50); }
|
||||
.u-checkbox.is-checked .u-checkbox-label:before {
|
||||
box-shadow: inset 0 0 0 10px rgb(30,136,229);
|
||||
border-color: rgb(30,136,229); }
|
||||
box-shadow: inset 0 0 0 10px #fff;
|
||||
border-color: rgb(165, 173, 186); }
|
||||
.u-checkbox.is-checked .u-checkbox-label:after {
|
||||
color: #fff;
|
||||
color: rgb(245, 60, 50);
|
||||
content: "\e658";
|
||||
line-height: 18px;
|
||||
font-size: 14px; }
|
||||
line-height: 16px;
|
||||
font-size: 12px;
|
||||
font-weight: 600; }
|
||||
.u-checkbox.is-checked.u-checkbox-inverse .u-checkbox-label:before {
|
||||
box-shadow: inset 0 0 0 10px rgb(245, 60, 50);
|
||||
border-color: rgb(245, 60, 50); }
|
||||
.u-checkbox.is-checked.u-checkbox-inverse .u-checkbox-label:after {
|
||||
color: #fff; }
|
||||
.u-checkbox .u-checkbox-label {
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
padding-left: 25px; }
|
||||
padding-left: 25px;
|
||||
line-height: 16px;
|
||||
color: #212121; }
|
||||
.u-checkbox .u-checkbox-label:before {
|
||||
border-radius: 3px;
|
||||
border: 1px solid;
|
||||
border: 1px solid rgb(165, 173, 186);
|
||||
background-color: #fff;
|
||||
transition: all 0.3s ease-in-out;
|
||||
content: '';
|
||||
font-family: 'uf';
|
||||
display: inline-block;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
left: 0;
|
||||
top: 0;
|
||||
text-align: center;
|
||||
|
@ -5322,54 +5326,85 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
|||
content: '';
|
||||
font-family: 'uf';
|
||||
display: inline-block;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
left: 0;
|
||||
top: 0;
|
||||
text-align: center;
|
||||
position: absolute; }
|
||||
|
||||
.u-checkbox.u-checkbox-indeterminate .u-checkbox-label:after {
|
||||
color: #fff;
|
||||
content: "\e6ce";
|
||||
line-height: 18px;
|
||||
font-size: 14px; }
|
||||
.u-checkbox.disabled .u-checkbox-label {
|
||||
cursor: not-allowed;
|
||||
color: #909090; }
|
||||
.u-checkbox.disabled .u-checkbox-label:before {
|
||||
border-color: #DFE1E6;
|
||||
color: #909090; }
|
||||
.u-checkbox.disabled .u-checkbox-label:after {
|
||||
color: #c1c7d0; }
|
||||
|
||||
.u-checkbox.u-checkbox-indeterminate .u-checkbox-label:before {
|
||||
box-shadow: inset 0 0 0 10px rgb(30,136,229);
|
||||
border-color: rgb(30,136,229); }
|
||||
box-shadow: inset 0 0 0 10px #fff;
|
||||
border-color: rgb(165, 173, 186); }
|
||||
|
||||
.u-checkbox.u-checkbox-indeterminate .u-checkbox-label:after {
|
||||
color: rgb(245, 60, 50);
|
||||
content: "\e6ce";
|
||||
line-height: 16px;
|
||||
font-size: 12px;
|
||||
font-weight: 600; }
|
||||
|
||||
.u-checkbox.u-checkbox-indeterminate.u-checkbox-inverse .u-checkbox-label:before {
|
||||
box-shadow: inset 0 0 0 10px rgb(245, 60, 50);
|
||||
border-color: rgb(245, 60, 50); }
|
||||
|
||||
.u-checkbox.u-checkbox-indeterminate.u-checkbox-inverse .u-checkbox-label:after {
|
||||
color: #fff; }
|
||||
|
||||
.u-checkbox.u-checkbox-success.is-checked .u-checkbox-label:before {
|
||||
box-shadow: inset 0 0 0 10px rgb(76,175,80);
|
||||
border-color: rgb(76,175,80); }
|
||||
box-shadow: inset 0 0 0 10px #fff;
|
||||
border-color: rgb(165, 173, 186); }
|
||||
|
||||
.u-checkbox.u-checkbox-success.is-checked .u-checkbox-label:after {
|
||||
color: rgb(76,175,80); }
|
||||
|
||||
.u-checkbox.u-checkbox-success input[type='checkbox']:focus + .u-checkbox-label:before {
|
||||
border-color: rgb(76,175,80); }
|
||||
|
||||
.u-checkbox.u-checkbox-warning.is-checked .u-checkbox-label:before {
|
||||
box-shadow: inset 0 0 0 10px rgb(255,152,0);
|
||||
border-color: rgb(255,152,0); }
|
||||
box-shadow: inset 0 0 0 10px #fff;
|
||||
border-color: rgb(165, 173, 186); }
|
||||
|
||||
.u-checkbox.u-checkbox-warning.is-checked .u-checkbox-label:after {
|
||||
color: rgb(255,152,0); }
|
||||
|
||||
.u-checkbox.u-checkbox-warning input[type='checkbox']:focus + .u-checkbox-label:before {
|
||||
border-color: rgb(255,152,0); }
|
||||
|
||||
.u-checkbox.u-checkbox-danger.is-checked .u-checkbox-label:before {
|
||||
box-shadow: inset 0 0 0 10px rgb(244,67,54);
|
||||
border-color: rgb(244,67,54); }
|
||||
box-shadow: inset 0 0 0 10px #fff;
|
||||
border-color: rgb(165, 173, 186); }
|
||||
|
||||
.u-checkbox.u-checkbox-danger.is-checked .u-checkbox-label:after {
|
||||
color: rgb(244,67,54); }
|
||||
|
||||
.u-checkbox.u-checkbox-danger input[type='checkbox']:focus + .u-checkbox-label:before {
|
||||
border-color: rgb(244,67,54); }
|
||||
|
||||
.u-checkbox.u-checkbox-dark.is-checked .u-checkbox-label:before {
|
||||
box-shadow: inset 0 0 0 10px rgb(97,97,97);
|
||||
border-color: rgb(97,97,97); }
|
||||
box-shadow: inset 0 0 0 10px #fff;
|
||||
border-color: rgb(165, 173, 186); }
|
||||
|
||||
.u-checkbox.u-checkbox-dark.is-checked .u-checkbox-label:after {
|
||||
color: rgb(97,97,97); }
|
||||
|
||||
.u-checkbox.u-checkbox-dark input[type='checkbox']:focus + .u-checkbox-label:before {
|
||||
border-color: rgb(97,97,97); }
|
||||
|
||||
.u-checkbox.u-checkbox-info.is-checked .u-checkbox-label:before {
|
||||
box-shadow: inset 0 0 0 10px rgb(0,188,212);
|
||||
border-color: rgb(0,188,212); }
|
||||
box-shadow: inset 0 0 0 10px #fff;
|
||||
border-color: rgb(165, 173, 186); }
|
||||
|
||||
.u-checkbox.u-checkbox-info.is-checked .u-checkbox-label:after {
|
||||
color: rgb(0,188,212); }
|
||||
|
||||
.u-checkbox.u-checkbox-info input[type='checkbox']:focus + .u-checkbox-label:before {
|
||||
border-color: rgb(0,188,212); }
|
||||
|
@ -5388,8 +5423,8 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
|||
position: relative;
|
||||
vertical-align: middle; }
|
||||
.u-tree .u-tree-checkbox-checked .u-tree-checkbox-inner, .u-tree .u-tree-checkbox-indeterminate .u-tree-checkbox-inner {
|
||||
background-color: rgb(30,136,229);
|
||||
border-color: rgb(30,136,229); }
|
||||
background-color: rgb(245, 60, 50);
|
||||
border-color: rgb(245, 60, 50); }
|
||||
.u-tree .u-tree-checkbox-inner {
|
||||
position: relative;
|
||||
top: 0;
|
||||
|
@ -5402,8 +5437,8 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
|||
background-color: #fff;
|
||||
transition: all .3s; }
|
||||
.u-tree .u-tree-checkbox-checked .u-tree-checkbox-inner, .u-tree .u-tree-checkbox-indeterminate .u-tree-checkbox-inner {
|
||||
background-color: rgb(30,136,229);
|
||||
border-color: rgb(30,136,229); }
|
||||
background-color: rgb(245, 60, 50);
|
||||
border-color: rgb(245, 60, 50); }
|
||||
.u-tree .u-tree-checkbox-disabled .u-tree-checkbox-inner {
|
||||
border-color: #d9d9d9;
|
||||
background-color: #f3f3f3; }
|
||||
|
@ -5493,11 +5528,11 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
|||
.u-tree li a.u-tree-node-content-wrapper {
|
||||
width: calc(100% - 18px); }
|
||||
.u-tree li a:hover {
|
||||
background-color: rgb(243,243,243); }
|
||||
background-color: rgb(235, 236, 240); }
|
||||
.u-tree li a.u-tree-node-selected {
|
||||
background-color: rgb(243,243,243); }
|
||||
background-color: rgb(235, 236, 240); }
|
||||
.u-tree li a.u-tree-node-selected .u-tree-title {
|
||||
color: rgb(30,136,229); }
|
||||
color: rgb(245, 60, 50); }
|
||||
.u-tree li span.u-checkbox {
|
||||
margin: 2px 4px 0 0; }
|
||||
.u-tree li span.u-tree-switcher,
|
||||
|
@ -5685,7 +5720,7 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
|||
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
|
||||
background-color: #fff;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px; }
|
||||
border-radius: 3px; }
|
||||
.u-panel .u-panel-heading {
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
|
@ -6383,7 +6418,7 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
|||
background: rgb(224,224,224);
|
||||
border: 1px solid rgb(224,224,224);
|
||||
border-radius: 3px;
|
||||
color: rgb(0,0,0);
|
||||
color: rgb(33,33,33);
|
||||
position: relative;
|
||||
min-width: 72px;
|
||||
padding: 4px 13px;
|
||||
|
@ -6410,16 +6445,22 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
|||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(189,189,189); }
|
||||
.u-button.colored {
|
||||
color: rgb(30,136,229); }
|
||||
color: rgb(245, 60, 50); }
|
||||
.u-button.colored:focus:not(:active) {
|
||||
background-color: rgb(238,238,238);
|
||||
border-color: rgb(189,189,189); }
|
||||
.u-button.disable {
|
||||
-webkit-box-shadow: none;
|
||||
filter: alpha(opacity=65);
|
||||
box-shadow: none;
|
||||
.u-button.disable, .u-button.u-button[disabled] {
|
||||
cursor: not-allowed;
|
||||
opacity: .65; }
|
||||
background-color: #DFE1E6;
|
||||
border-color: #DFE1E6;
|
||||
color: #fff; }
|
||||
.u-button.disable:hover, .u-button.disable:active, .u-button.disable:focus, .u-button.u-button[disabled]:hover, .u-button.u-button[disabled]:active, .u-button.u-button[disabled]:focus {
|
||||
background-color: #DFE1E6;
|
||||
border-color: #DFE1E6;
|
||||
color: #fff; }
|
||||
.u-button:not(.u-button-icon) i.uf {
|
||||
padding-left: 0;
|
||||
line-height: normal; }
|
||||
|
||||
input.u-button[type="submit"] {
|
||||
-webkit-appearance: none; }
|
||||
|
@ -6433,7 +6474,7 @@ input.u-button[type="submit"] {
|
|||
width: 38px;
|
||||
padding: 0;
|
||||
line-height: normal;
|
||||
border: 1px solid rgb(189,189,189); }
|
||||
border: 1px solid rgb(165, 173, 186); }
|
||||
.u-button-floating.colored {
|
||||
background: rgb(67,160,71);
|
||||
color: rgb(255,255,255);
|
||||
|
@ -6447,53 +6488,55 @@ input.u-button[type="submit"] {
|
|||
|
||||
.u-button.disabled, .u-button[disabled] {
|
||||
cursor: not-allowed;
|
||||
opacity: .65;
|
||||
filter: alpha(opacity=65);
|
||||
box-shadow: none; }
|
||||
background-color: #DFE1E6;
|
||||
border-color: #DFE1E6;
|
||||
color: #fff; }
|
||||
|
||||
.u-button-default {
|
||||
color: #333;
|
||||
background-color: #fff;
|
||||
border-color: #ccc; }
|
||||
.u-button-default:hover, .u-button-default:focus, .u-button-default:active {
|
||||
.u-button-default:hover, .u-button-default:active {
|
||||
background-color: #e6e6e6;
|
||||
border-color: #adadad; }
|
||||
|
||||
.u-button-border {
|
||||
color: rgb(0,0,0);
|
||||
border: 1px solid rgb(189,189,189);
|
||||
color: rgb(33,33,33);
|
||||
border: 1px solid rgb(165, 173, 186);
|
||||
background: rgb(255,255,255); }
|
||||
.u-button-border:hover {
|
||||
color: rgb(0,0,0);
|
||||
color: rgb(33,33,33);
|
||||
background-color: rgb(238,238,238);
|
||||
border-color: rgb(189,189,189); }
|
||||
border-color: rgb(165, 173, 186); }
|
||||
.u-button-border:active {
|
||||
color: rgb(0,0,0);
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(189,189,189); }
|
||||
.u-button-border:focus:not(:active) {
|
||||
color: rgb(0,0,0);
|
||||
color: rgb(33,33,33);
|
||||
background-color: rgb(238,238,238);
|
||||
border-color: rgb(189,189,189); }
|
||||
border-color: rgb(165, 173, 186); }
|
||||
|
||||
.u-button.u-button-primary {
|
||||
color: rgb(255,255,255);
|
||||
background-color: rgb(30,136,229);
|
||||
border: 1px rgb(30,136,229) solid; }
|
||||
.u-button.u-button-primary.focus, .u-button.u-button-primary:focus, .u-button.u-button-primary:hover {
|
||||
background-color: rgb(66,165,245);
|
||||
border-color: rgb(66,165,245); }
|
||||
background-color: rgb(245, 60, 50);
|
||||
border: 1px rgb(245, 60, 50) solid; }
|
||||
.u-button.u-button-primary:hover {
|
||||
background-color: rgb(230, 0, 18);
|
||||
border-color: rgb(230, 0, 18); }
|
||||
.u-button.u-button-primary.focus, .u-button.u-button-primary:focus {
|
||||
background-color: rgb(245, 60, 50);
|
||||
border-color: rgb(245, 60, 50); }
|
||||
.u-button.u-button-primary.active, .u-button.u-button-primary:active {
|
||||
background-color: rgb(21,101,192);
|
||||
border-color: rgb(21,101,192); }
|
||||
background-color: rgb(230, 0, 18);
|
||||
border-color: rgb(230, 0, 18); }
|
||||
|
||||
.u-button.u-button-secondary {
|
||||
color: rgb(0,0,0);
|
||||
color: rgb(33,33,33);
|
||||
background-color: rgb(224,224,224);
|
||||
border: 1px rgb(224,224,224) solid; }
|
||||
.u-button.u-button-secondary.focus, .u-button.u-button-secondary:focus, .u-button.u-button-secondary:hover {
|
||||
background-color: rgb(238,238,238);
|
||||
border-color: rgb(238,238,238); }
|
||||
.u-button.u-button-secondary:hover {
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(189,189,189); }
|
||||
.u-button.u-button-secondary.focus, .u-button.u-button-secondary:focus {
|
||||
background-color: rgb(224,224,224);
|
||||
border-color: rgb(224,224,224); }
|
||||
.u-button.u-button-secondary.active, .u-button.u-button-secondary:active {
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(189,189,189); }
|
||||
|
@ -6502,9 +6545,12 @@ input.u-button[type="submit"] {
|
|||
color: rgb(255,255,255);
|
||||
background-color: rgb(244,67,54);
|
||||
border: 1px rgb(244,67,54) solid; }
|
||||
.u-button.u-button-danger.focus, .u-button.u-button-danger:focus, .u-button.u-button-danger:hover {
|
||||
background-color: rgb(229,115,115);
|
||||
border-color: rgb(229,115,115); }
|
||||
.u-button.u-button-danger:hover {
|
||||
background-color: rgb(211,47,47);
|
||||
border-color: rgb(211,47,47); }
|
||||
.u-button.u-button-danger.focus, .u-button.u-button-danger:focus {
|
||||
background-color: rgb(244,67,54);
|
||||
border-color: rgb(244,67,54); }
|
||||
.u-button.u-button-danger.active, .u-button.u-button-danger:active {
|
||||
background-color: rgb(211,47,47);
|
||||
border-color: rgb(211,47,47); }
|
||||
|
@ -6513,9 +6559,12 @@ input.u-button[type="submit"] {
|
|||
color: rgb(255,255,255);
|
||||
background-color: rgb(0,188,212);
|
||||
border: 1px rgb(0,188,212) solid; }
|
||||
.u-button.u-button-info.focus, .u-button.u-button-info:focus, .u-button.u-button-info:hover {
|
||||
background-color: rgb(77,208,225);
|
||||
border-color: rgb(77,208,225); }
|
||||
.u-button.u-button-info:hover {
|
||||
background-color: rgb(0,151,167);
|
||||
border-color: rgb(0,151,167); }
|
||||
.u-button.u-button-info.focus, .u-button.u-button-info:focus {
|
||||
background-color: rgb(0,188,212);
|
||||
border-color: rgb(0,188,212); }
|
||||
.u-button.u-button-info.active, .u-button.u-button-info:active {
|
||||
background-color: rgb(0,151,167);
|
||||
border-color: rgb(0,151,167); }
|
||||
|
@ -6524,9 +6573,12 @@ input.u-button[type="submit"] {
|
|||
color: rgb(255,255,255);
|
||||
background-color: rgb(255,152,0);
|
||||
border: 1px rgb(255,152,0) solid; }
|
||||
.u-button.u-button-warning.focus, .u-button.u-button-warning:focus, .u-button.u-button-warning:hover {
|
||||
background-color: rgb(255,183,77);
|
||||
border-color: rgb(255,183,77); }
|
||||
.u-button.u-button-warning:hover {
|
||||
background-color: rgb(245,124,0);
|
||||
border-color: rgb(245,124,0); }
|
||||
.u-button.u-button-warning.focus, .u-button.u-button-warning:focus {
|
||||
background-color: rgb(255,152,0);
|
||||
border-color: rgb(255,152,0); }
|
||||
.u-button.u-button-warning.active, .u-button.u-button-warning:active {
|
||||
background-color: rgb(245,124,0);
|
||||
border-color: rgb(245,124,0); }
|
||||
|
@ -6535,9 +6587,12 @@ input.u-button[type="submit"] {
|
|||
color: rgb(255,255,255);
|
||||
background-color: rgb(76,175,80);
|
||||
border: 1px rgb(76,175,80) solid; }
|
||||
.u-button.u-button-success.focus, .u-button.u-button-success:focus, .u-button.u-button-success:hover {
|
||||
background-color: rgb(129,199,132);
|
||||
border-color: rgb(129,199,132); }
|
||||
.u-button.u-button-success:hover {
|
||||
background-color: rgb(56,142,60);
|
||||
border-color: rgb(56,142,60); }
|
||||
.u-button.u-button-success.focus, .u-button.u-button-success:focus {
|
||||
background-color: rgb(76,175,80);
|
||||
border-color: rgb(76,175,80); }
|
||||
.u-button.u-button-success.active, .u-button.u-button-success:active {
|
||||
background-color: rgb(56,142,60);
|
||||
border-color: rgb(56,142,60); }
|
||||
|
@ -6546,9 +6601,12 @@ input.u-button[type="submit"] {
|
|||
color: rgb(255,255,255);
|
||||
background-color: rgb(97,97,97);
|
||||
border: 1px rgb(97,97,97) solid; }
|
||||
.u-button.u-button-dark.focus, .u-button.u-button-dark:focus, .u-button.u-button-dark:hover {
|
||||
background-color: rgb(117,117,117);
|
||||
border-color: rgb(117,117,117); }
|
||||
.u-button.u-button-dark:hover {
|
||||
background-color: rgb(66,66,66);
|
||||
border-color: rgb(66,66,66); }
|
||||
.u-button.u-button-dark.focus, .u-button.u-button-dark:focus {
|
||||
background-color: rgb(97,97,97);
|
||||
border-color: rgb(97,97,97); }
|
||||
.u-button.u-button-dark.active, .u-button.u-button-dark:active {
|
||||
background-color: rgb(66,66,66);
|
||||
border-color: rgb(66,66,66); }
|
||||
|
@ -6557,9 +6615,12 @@ input.u-button[type="submit"] {
|
|||
color: rgb(97,97,97);
|
||||
background-color: rgb(255,255,255);
|
||||
border: 1px rgb(255,255,255) solid; }
|
||||
.u-button.u-button-light.focus, .u-button.u-button-light:focus, .u-button.u-button-light:hover {
|
||||
background-color: rgb(238,238,238);
|
||||
border-color: rgb(238,238,238); }
|
||||
.u-button.u-button-light:hover {
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(189,189,189); }
|
||||
.u-button.u-button-light.focus, .u-button.u-button-light:focus {
|
||||
background-color: rgb(255,255,255);
|
||||
border-color: rgb(255,255,255); }
|
||||
.u-button.u-button-light.active, .u-button.u-button-light:active {
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(189,189,189); }
|
||||
|
@ -6568,10 +6629,14 @@ input.u-button[type="submit"] {
|
|||
color: rgb(76,175,80);
|
||||
background-color: #fff;
|
||||
border: 1px rgb(76,175,80) solid; }
|
||||
.u-button-border.u-button-success.focus, .u-button-border.u-button-success:focus, .u-button-border.u-button-success:hover {
|
||||
background-color: rgb(129,199,132);
|
||||
border-color: rgb(129,199,132);
|
||||
.u-button-border.u-button-success:hover {
|
||||
background-color: rgb(56,142,60);
|
||||
border-color: rgb(56,142,60);
|
||||
color: #fff; }
|
||||
.u-button-border.u-button-success.focus, .u-button-border.u-button-success:focus {
|
||||
color: rgb(76,175,80);
|
||||
background-color: #fff;
|
||||
border-color: rgb(76,175,80); }
|
||||
.u-button-border.u-button-success.active, .u-button-border.u-button-success:active {
|
||||
color: #fff;
|
||||
background-color: rgb(56,142,60);
|
||||
|
@ -6581,10 +6646,14 @@ input.u-button[type="submit"] {
|
|||
color: rgb(255,152,0);
|
||||
background-color: #fff;
|
||||
border: 1px rgb(255,152,0) solid; }
|
||||
.u-button-border.u-button-warning.focus, .u-button-border.u-button-warning:focus, .u-button-border.u-button-warning:hover {
|
||||
background-color: rgb(255,183,77);
|
||||
border-color: rgb(255,183,77);
|
||||
.u-button-border.u-button-warning:hover {
|
||||
background-color: rgb(245,124,0);
|
||||
border-color: rgb(245,124,0);
|
||||
color: #fff; }
|
||||
.u-button-border.u-button-warning.focus, .u-button-border.u-button-warning:focus {
|
||||
color: rgb(255,152,0);
|
||||
background-color: #fff;
|
||||
border-color: rgb(255,152,0); }
|
||||
.u-button-border.u-button-warning.active, .u-button-border.u-button-warning:active {
|
||||
color: #fff;
|
||||
background-color: rgb(245,124,0);
|
||||
|
@ -6594,10 +6663,14 @@ input.u-button[type="submit"] {
|
|||
color: rgb(244,67,54);
|
||||
background-color: #fff;
|
||||
border: 1px rgb(244,67,54) solid; }
|
||||
.u-button-border.u-button-danger.focus, .u-button-border.u-button-danger:focus, .u-button-border.u-button-danger:hover {
|
||||
background-color: rgb(229,115,115);
|
||||
border-color: rgb(229,115,115);
|
||||
.u-button-border.u-button-danger:hover {
|
||||
background-color: rgb(211,47,47);
|
||||
border-color: rgb(211,47,47);
|
||||
color: #fff; }
|
||||
.u-button-border.u-button-danger.focus, .u-button-border.u-button-danger:focus {
|
||||
color: rgb(244,67,54);
|
||||
background-color: #fff;
|
||||
border-color: rgb(244,67,54); }
|
||||
.u-button-border.u-button-danger.active, .u-button-border.u-button-danger:active {
|
||||
color: #fff;
|
||||
background-color: rgb(211,47,47);
|
||||
|
@ -6607,36 +6680,48 @@ input.u-button[type="submit"] {
|
|||
color: rgb(0,188,212);
|
||||
background-color: #fff;
|
||||
border: 1px rgb(0,188,212) solid; }
|
||||
.u-button-border.u-button-info.focus, .u-button-border.u-button-info:focus, .u-button-border.u-button-info:hover {
|
||||
background-color: rgb(77,208,225);
|
||||
border-color: rgb(77,208,225);
|
||||
.u-button-border.u-button-info:hover {
|
||||
background-color: rgb(0,151,167);
|
||||
border-color: rgb(0,151,167);
|
||||
color: #fff; }
|
||||
.u-button-border.u-button-info.focus, .u-button-border.u-button-info:focus {
|
||||
color: rgb(0,188,212);
|
||||
background-color: #fff;
|
||||
border-color: rgb(0,188,212); }
|
||||
.u-button-border.u-button-info.active, .u-button-border.u-button-info:active {
|
||||
color: #fff;
|
||||
background-color: rgb(0,151,167);
|
||||
border-color: rgb(0,151,167); }
|
||||
|
||||
.u-button-border.u-button-primary {
|
||||
color: rgb(30,136,229);
|
||||
color: rgb(245, 60, 50);
|
||||
background-color: #fff;
|
||||
border: 1px rgb(30,136,229) solid; }
|
||||
.u-button-border.u-button-primary.focus, .u-button-border.u-button-primary:focus, .u-button-border.u-button-primary:hover {
|
||||
background-color: rgb(66,165,245);
|
||||
border-color: rgb(66,165,245);
|
||||
border: 1px rgb(245, 60, 50) solid; }
|
||||
.u-button-border.u-button-primary:hover {
|
||||
background-color: rgb(230, 0, 18);
|
||||
border-color: rgb(230, 0, 18);
|
||||
color: #fff; }
|
||||
.u-button-border.u-button-primary.focus, .u-button-border.u-button-primary:focus {
|
||||
color: rgb(245, 60, 50);
|
||||
background-color: #fff;
|
||||
border-color: rgb(245, 60, 50); }
|
||||
.u-button-border.u-button-primary.active, .u-button-border.u-button-primary:active {
|
||||
color: #fff;
|
||||
background-color: rgb(21,101,192);
|
||||
border-color: rgb(21,101,192); }
|
||||
background-color: rgb(230, 0, 18);
|
||||
border-color: rgb(230, 0, 18); }
|
||||
|
||||
.u-button-border.u-button-secondary {
|
||||
color: rgb(224,224,224);
|
||||
background-color: #fff;
|
||||
border: 1px rgb(224,224,224) solid; }
|
||||
.u-button-border.u-button-secondary.focus, .u-button-border.u-button-secondary:focus, .u-button-border.u-button-secondary:hover {
|
||||
background-color: rgb(238,238,238);
|
||||
border-color: rgb(238,238,238);
|
||||
.u-button-border.u-button-secondary:hover {
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(189,189,189);
|
||||
color: #fff; }
|
||||
.u-button-border.u-button-secondary.focus, .u-button-border.u-button-secondary:focus {
|
||||
color: rgb(224,224,224);
|
||||
background-color: #fff;
|
||||
border-color: rgb(224,224,224); }
|
||||
.u-button-border.u-button-secondary.active, .u-button-border.u-button-secondary:active {
|
||||
color: #fff;
|
||||
background-color: rgb(189,189,189);
|
||||
|
@ -6646,10 +6731,14 @@ input.u-button[type="submit"] {
|
|||
color: rgb(97,97,97);
|
||||
background-color: #fff;
|
||||
border: 1px rgb(97,97,97) solid; }
|
||||
.u-button-border.u-button-dark.focus, .u-button-border.u-button-dark:focus, .u-button-border.u-button-dark:hover {
|
||||
background-color: rgb(117,117,117);
|
||||
border-color: rgb(117,117,117);
|
||||
.u-button-border.u-button-dark:hover {
|
||||
background-color: rgb(66,66,66);
|
||||
border-color: rgb(66,66,66);
|
||||
color: #fff; }
|
||||
.u-button-border.u-button-dark.focus, .u-button-border.u-button-dark:focus {
|
||||
color: rgb(97,97,97);
|
||||
background-color: #fff;
|
||||
border-color: rgb(97,97,97); }
|
||||
.u-button-border.u-button-dark.active, .u-button-border.u-button-dark:active {
|
||||
color: #fff;
|
||||
background-color: rgb(66,66,66);
|
||||
|
@ -6659,10 +6748,14 @@ input.u-button[type="submit"] {
|
|||
color: rgb(97,97,97);
|
||||
background-color: #fff;
|
||||
border: 1px rgb(255,255,255) solid; }
|
||||
.u-button-border.u-button-light.focus, .u-button-border.u-button-light:focus, .u-button-border.u-button-light:hover {
|
||||
background-color: rgb(238,238,238);
|
||||
border-color: rgb(238,238,238);
|
||||
.u-button-border.u-button-light:hover {
|
||||
background-color: rgb(189,189,189);
|
||||
border-color: rgb(189,189,189);
|
||||
color: #fff; }
|
||||
.u-button-border.u-button-light.focus, .u-button-border.u-button-light:focus {
|
||||
color: rgb(97,97,97);
|
||||
background-color: #fff;
|
||||
border-color: rgb(255,255,255); }
|
||||
.u-button-border.u-button-light.active, .u-button-border.u-button-light:active {
|
||||
color: #fff;
|
||||
background-color: rgb(189,189,189);
|
||||
|
@ -6677,7 +6770,7 @@ input.u-button[type="submit"] {
|
|||
width: 32px;
|
||||
padding: 0;
|
||||
line-height: normal;
|
||||
border: 1px solid rgb(189,189,189); }
|
||||
border: 1px solid rgb(165, 173, 186); }
|
||||
|
||||
.u-button-lg {
|
||||
padding: 8px 15px;
|
||||
|
@ -6733,14 +6826,14 @@ input.u-button[type="submit"] {
|
|||
display: inline-block;
|
||||
padding: 0 12px;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
height: 32px;
|
||||
cursor: text;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
color: #424242;
|
||||
background-color: #fff;
|
||||
background-image: none;
|
||||
border: 1px solid #bdbdbd;
|
||||
border: 1px solid rgb(165, 173, 186);
|
||||
border-radius: 3px;
|
||||
transition: all .3s; }
|
||||
.u-form-control:focus {
|
||||
|
@ -6750,18 +6843,18 @@ input.u-button[type="submit"] {
|
|||
display: none; }
|
||||
|
||||
.u-form-control[disabled] {
|
||||
background: #eee;
|
||||
border-color: #e0e0e0;
|
||||
color: #BDBDBD;
|
||||
background: #F7F9FB;
|
||||
border-color: #DFE1E6;
|
||||
color: #909090;
|
||||
cursor: not-allowed; }
|
||||
|
||||
.u-form-control.lg {
|
||||
height: 38px;
|
||||
height: 40px;
|
||||
font-size: 14px; }
|
||||
|
||||
.u-form-control.sm {
|
||||
font-size: 12px;
|
||||
height: 24px; }
|
||||
height: 26px; }
|
||||
|
||||
.u-form-control-search-wrapper {
|
||||
position: absolute;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2121,7 +2121,10 @@
|
|||
}
|
||||
|
||||
return (0, _createChainableTypeChecker2.default)(allPropTypes);
|
||||
}
|
||||
} /**
|
||||
* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
|
||||
/***/ }),
|
||||
/* 29 */
|
||||
|
@ -2142,6 +2145,10 @@
|
|||
|
||||
// Mostly taken from ReactPropTypes.
|
||||
|
||||
/* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
|
||||
function createChainableTypeChecker(validate) {
|
||||
function checkType(isRequired, props, propName, componentName, location, propFullName) {
|
||||
var componentNameSafe = componentName || '<<anonymous>>';
|
||||
|
@ -2176,7 +2183,11 @@
|
|||
|
||||
exports.__esModule = true;
|
||||
|
||||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
||||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /**
|
||||
* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
|
||||
|
||||
var _react = __webpack_require__(4);
|
||||
|
||||
|
@ -2220,8 +2231,10 @@
|
|||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
var warned = {};
|
||||
|
||||
var warned = {}; /**
|
||||
* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
function deprecated(validator, reason) {
|
||||
return function validate(props, propName, componentName, location, propFullName) {
|
||||
var componentNameSafe = componentName || '<<anonymous>>';
|
||||
|
@ -2516,7 +2529,11 @@
|
|||
|
||||
exports.__esModule = true;
|
||||
|
||||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
||||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /**
|
||||
* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
|
||||
|
||||
var _react = __webpack_require__(4);
|
||||
|
||||
|
@ -2553,6 +2570,10 @@
|
|||
|
||||
exports.__esModule = true;
|
||||
exports.default = isRequiredForA11y;
|
||||
/**
|
||||
* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
function isRequiredForA11y(validator) {
|
||||
return function validate(props, propName, componentName, location, propFullName) {
|
||||
var componentNameSafe = componentName || '<<anonymous>>';
|
||||
|
@ -2578,6 +2599,10 @@
|
|||
|
||||
exports.__esModule = true;
|
||||
exports.default = splitComponentProps;
|
||||
/**
|
||||
* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
function _objectEntries(obj) {
|
||||
var entries = [];
|
||||
var keys = Object.keys(obj);
|
||||
|
@ -2620,6 +2645,10 @@
|
|||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
/**
|
||||
* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
function createChainedFunction() {
|
||||
for (var _len = arguments.length, funcs = Array(_len), _key = 0; _key < _len; _key++) {
|
||||
funcs[_key] = arguments[_key];
|
||||
|
@ -2652,6 +2681,10 @@
|
|||
/* 38 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/**
|
||||
* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
|
@ -3181,6 +3214,10 @@
|
|||
|
||||
exports.__esModule = true;
|
||||
exports.default = contains;
|
||||
/**
|
||||
* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
function contains(root, n) {
|
||||
var node = n;
|
||||
while (node) {
|
||||
|
@ -3212,6 +3249,10 @@
|
|||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
/**
|
||||
* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
function addEventListenerWrap(target, eventType, cb) {
|
||||
/* eslint camelcase: 2 */
|
||||
var callback = _reactDom2.default.unstable_batchedUpdates ? function run(e) {
|
||||
|
@ -3731,7 +3772,11 @@
|
|||
|
||||
exports.__esModule = true;
|
||||
|
||||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
||||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /**
|
||||
* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
|
||||
|
||||
var _Event = __webpack_require__(46);
|
||||
|
||||
|
@ -3922,6 +3967,10 @@
|
|||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
/**
|
||||
* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
var EVENT_NAME_MAP = {
|
||||
transitionend: {
|
||||
transition: 'transitionend',
|
||||
|
@ -4235,7 +4284,10 @@
|
|||
ret.push(c);
|
||||
});
|
||||
return ret;
|
||||
}
|
||||
} /**
|
||||
* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
|
||||
/***/ }),
|
||||
/* 50 */
|
||||
|
@ -4271,7 +4323,11 @@
|
|||
|
||||
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
||||
|
||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /**
|
||||
* This source code is quoted from rc-util.
|
||||
* homepage: https://github.com/react-component/util
|
||||
*/
|
||||
|
||||
|
||||
//import isWindow from './isWindow';
|
||||
|
||||
|
@ -5526,6 +5582,16 @@
|
|||
var documentWidth = documentElement.scrollWidth;
|
||||
var documentHeight = documentElement.scrollHeight;
|
||||
|
||||
// scrollXXX on html is sync with body which means overflow: hidden on body gets wrong scrollXXX.
|
||||
// We should cut this ourself.
|
||||
var bodyStyle = window.getComputedStyle(body);
|
||||
if (bodyStyle.overflowX === 'hidden') {
|
||||
documentWidth = win.innerWidth;
|
||||
}
|
||||
if (bodyStyle.overflowY === 'hidden') {
|
||||
documentHeight = win.innerHeight;
|
||||
}
|
||||
|
||||
// Reset element position after calculate the visible area
|
||||
if (element.style) {
|
||||
element.style.position = originalPosition;
|
||||
|
@ -7908,7 +7974,9 @@
|
|||
if (colorsMap[colors]) {
|
||||
clsObj[clsPrefix + '-' + colorsMap[colors]] = true;
|
||||
}
|
||||
//clsObj[`${clsPrefix}-border`] = bordered;
|
||||
if (bordered) {
|
||||
clsObj[clsPrefix + '-border'] = bordered;
|
||||
}
|
||||
var classes = (0, _classnames2["default"])(clsPrefix, clsObj);
|
||||
return _react2["default"].createElement(
|
||||
'button',
|
||||
|
@ -10205,8 +10273,8 @@
|
|||
type: _propTypes2["default"].string
|
||||
|
||||
};
|
||||
/**
|
||||
* badge 默认显示内容1
|
||||
/**
|
||||
* badge 默认显示内容1
|
||||
*/
|
||||
var defaultProps = {
|
||||
clsPrefix: 'uf'
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -63,4 +63,4 @@
|
|||
"react-addons-test-utils": "15.3.2",
|
||||
"react-dom": "15.3.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue