@ivu/components
Version:
ivu components
2,421 lines (2,409 loc) • 70.5 kB
CSS
/*colors*/
/*
*****************************************
*/
/*border-color*/
/*
*****************************************
*/
.ybtn {
display: inline-block;
padding: 6px 12px;
margin-bottom: 0;
font-size: 1.4rem;
font-weight: 500;
line-height: 1.42857143;
border: 1px solid transparent;
border-radius: 4px;
text-align: center;
vertical-align: middle;
white-space: nowrap;
cursor: pointer;
touch-action: manipulation;
-moz-user-select: none;
user-select: none;
}
.ybtn.has-txt > i {
margin-right: 0.5em;
}
.ybtn:focus,
.ybtn:active:focus {
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
.ybtn:hover,
.ybtn:focus {
color: #333;
text-decoration: none;
transition: all 0.3s;
}
.ybtn:active {
outline: 0;
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.ybtn[disabled] {
cursor: not-allowed;
box-shadow: none;
opacity: 0.65;
}
.ybtn.ybtn-default {
color: #fff;
background-color: #666;
border-color: #777;
}
.ybtn.ybtn-default:hover,
.ybtn.ybtn-default:focus,
.ybtn.ybtn-default:active {
color: #fff;
background-color: #777;
border-color: #666;
transition: all 0.3s;
}
.ybtn.ybtn-outline-default {
color: #666;
background-color: transparent;
border-color: #666;
}
.ybtn.ybtn-outline-default:hover,
.ybtn.ybtn-outline-default:focus,
.ybtn.ybtn-outline-default:active {
color: #777;
border-color: #777;
transition: all 0.3s;
}
.ybtn.ybtn-info {
color: #fff;
background-color: #318ffa;
border-color: #23b7e5;
}
.ybtn.ybtn-info:hover,
.ybtn.ybtn-info:focus,
.ybtn.ybtn-info:active {
color: #fff;
background-color: #23b7e5;
border-color: #318ffa;
transition: all 0.3s;
}
.ybtn.ybtn-outline-info {
color: #318ffa;
background-color: transparent;
border-color: #318ffa;
}
.ybtn.ybtn-outline-info:hover,
.ybtn.ybtn-outline-info:focus,
.ybtn.ybtn-outline-info:active {
color: #23b7e5;
border-color: #23b7e5;
transition: all 0.3s;
}
.ybtn.ybtn-success {
color: #fff;
background-color: #3abf52;
border-color: #6ce581;
}
.ybtn.ybtn-success:hover,
.ybtn.ybtn-success:focus,
.ybtn.ybtn-success:active {
color: #fff;
background-color: #6ce581;
border-color: #3abf52;
transition: all 0.3s;
}
.ybtn.ybtn-outline-success {
color: #3abf52;
background-color: transparent;
border-color: #3abf52;
}
.ybtn.ybtn-outline-success:hover,
.ybtn.ybtn-outline-success:focus,
.ybtn.ybtn-outline-success:active {
color: #6ce581;
border-color: #6ce581;
transition: all 0.3s;
}
.ybtn.ybtn-warning {
color: #fff;
background-color: #f60;
border-color: #ff7f50;
}
.ybtn.ybtn-warning:hover,
.ybtn.ybtn-warning:focus,
.ybtn.ybtn-warning:active {
color: #fff;
background-color: #ff7f50;
border-color: #f60;
transition: all 0.3s;
}
.ybtn.ybtn-outline-warning {
color: #f60;
background-color: transparent;
border-color: #f60;
}
.ybtn.ybtn-outline-warning:hover,
.ybtn.ybtn-outline-warning:focus,
.ybtn.ybtn-outline-warning:active {
color: #ff7f50;
border-color: #ff7f50;
transition: all 0.3s;
}
.ybtn.ybtn-danger {
color: #fff;
background-color: #f05050;
border-color: #ff3e38;
}
.ybtn.ybtn-danger:hover,
.ybtn.ybtn-danger:focus,
.ybtn.ybtn-danger:active {
color: #fff;
background-color: #ff3e38;
border-color: #f05050;
transition: all 0.3s;
}
.ybtn.ybtn-outline-danger {
color: #f05050;
background-color: transparent;
border-color: #f05050;
}
.ybtn.ybtn-outline-danger:hover,
.ybtn.ybtn-outline-danger:focus,
.ybtn.ybtn-outline-danger:active {
color: #ff3e38;
border-color: #ff3e38;
transition: all 0.3s;
}
.ybtn.ybtn-sm {
padding: 5px 10px;
font-size: 1.2rem;
line-height: 1.5;
border-radius: 3px;
}
.ybtn.ybtn-lg {
padding: 10px 16px;
font-size: 1.8rem;
line-height: 1.3333333;
border-radius: 6px;
}
.ybtn.ybtn-block {
display: block;
width: 100%;
}
.ybtn.ybtn-right {
float: right;
}
.ybtn-group .ybtn {
border-radius: 0;
margin-left: -1px;
}
.ybtn-group .ybtn:first-of-type {
margin-left: 0;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.ybtn-group .ybtn:last-of-type {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
/*栅格*/
.y-row {
zoom: 1;
margin-top: 10px;
margin-bottom: 10px;
}
.y-row::after {
clear: both;
content: '';
display: block;
height: 0;
visibility: hidden;
}
.y-row.gutter {
margin-left: -8px;
margin-right: -8px;
}
.y-row.gutter > div {
padding: 8px;
}
.y-row.gutter-8 {
margin-left: -8px;
margin-right: -8px;
}
.y-row.gutter-8 > div {
padding: 8px;
}
.y-row.gutter-12 {
margin-left: -12px;
margin-right: -12px;
}
.y-row.gutter-12 > div {
padding: 12px;
}
.y-row.gutter-16 {
margin-left: -16px;
margin-right: -16px;
}
.y-row.gutter-16 > div {
padding: 16px;
}
.y-row.gutter-20 {
margin-left: -20px;
margin-right: -20px;
}
.y-row.gutter-20 > div {
padding: 20px;
}
.y-row .y-col-1,
.y-row .y-col-2,
.y-row .y-col-3,
.y-row .y-col-4,
.y-row .y-col-5,
.y-row .y-col-6,
.y-row .y-col-7,
.y-row .y-col-8,
.y-row .y-col-9,
.y-row .y-col-10,
.y-row .y-col-11,
.y-row .y-col-12 {
position: relative;
float: left;
zoom: 1;
}
.y-row .y-col-1::after,
.y-row .y-col-2::after,
.y-row .y-col-3::after,
.y-row .y-col-4::after,
.y-row .y-col-5::after,
.y-row .y-col-6::after,
.y-row .y-col-7::after,
.y-row .y-col-8::after,
.y-row .y-col-9::after,
.y-row .y-col-10::after,
.y-row .y-col-11::after,
.y-row .y-col-12::after {
clear: both;
content: '';
display: block;
height: 0;
visibility: hidden;
}
.y-row .y-col {
width: 100%;
}
.y-row .y-col-1 {
width: 8.33333333%;
}
.y-row .y-col-2 {
width: 16.66666667%;
}
.y-row .y-col-3 {
width: 25%;
}
.y-row .y-col-4 {
width: 33.33333333%;
}
.y-row .y-col-5 {
width: 41.66666667%;
}
.y-row .y-col-6 {
width: 50%;
}
.y-row .y-col-7 {
width: 58.33333333%;
}
.y-row .y-col-8 {
width: 66.66666667%;
}
.y-row .y-col-9 {
width: 75%;
}
.y-row .y-col-10 {
width: 83.33333333%;
}
.y-row .y-col-11 {
width: 91.66666667%;
}
.y-row .y-col-12 {
width: 100%;
}
.y-row .y-offset {
margin-left: 0;
}
.y-row .y-offset-0 {
margin-left: 0;
}
.y-row .y-offset-1 {
margin-left: 8.33333333%;
}
.y-row .y-offset-2 {
margin-left: 16.66666667%;
}
.y-row .y-offset-3 {
margin-left: 25%;
}
.y-row .y-offset-4 {
margin-left: 33.33333333%;
}
.y-row .y-offset-5 {
margin-left: 41.66666667%;
}
.y-row .y-offset-6 {
margin-left: 50%;
}
.y-row .y-offset-7 {
margin-left: 58.33333333%;
}
.y-row .y-offset-8 {
margin-left: 66.66666667%;
}
.y-row .y-offset-9 {
margin-left: 75%;
}
.y-row .y-offset-10 {
margin-left: 83.33333333%;
}
.y-row .y-offset-11 {
margin-left: 91.66666667%;
}
.y-row .y-offset-12 {
margin-left: 100%;
}
@media screen and (max-width: 1200px) {
.y-row .y-col-md {
width: 100%;
}
.y-row .y-col-md-1 {
width: 8.33333333%;
}
.y-row .y-col-md-2 {
width: 16.66666667%;
}
.y-row .y-col-md-3 {
width: 25%;
}
.y-row .y-col-md-4 {
width: 33.33333333%;
}
.y-row .y-col-md-5 {
width: 41.66666667%;
}
.y-row .y-col-md-6 {
width: 50%;
}
.y-row .y-col-md-7 {
width: 58.33333333%;
}
.y-row .y-col-md-8 {
width: 66.66666667%;
}
.y-row .y-col-md-9 {
width: 75%;
}
.y-row .y-col-md-10 {
width: 83.33333333%;
}
.y-row .y-col-md-11 {
width: 91.66666667%;
}
.y-row .y-col-md-12 {
width: 100%;
}
.y-row .y-offset-md {
margin-left: 0;
}
.y-row .y-offset-md-0 {
margin-left: 0;
}
.y-row .y-offset-md-1 {
margin-left: 8.33333333%;
}
.y-row .y-offset-md-2 {
margin-left: 16.66666667%;
}
.y-row .y-offset-md-3 {
margin-left: 25%;
}
.y-row .y-offset-md-4 {
margin-left: 33.33333333%;
}
.y-row .y-offset-md-5 {
margin-left: 41.66666667%;
}
.y-row .y-offset-md-6 {
margin-left: 50%;
}
.y-row .y-offset-md-7 {
margin-left: 58.33333333%;
}
.y-row .y-offset-md-8 {
margin-left: 66.66666667%;
}
.y-row .y-offset-md-9 {
margin-left: 75%;
}
.y-row .y-offset-md-10 {
margin-left: 83.33333333%;
}
.y-row .y-offset-md-11 {
margin-left: 91.66666667%;
}
.y-row .y-offset-md-12 {
margin-left: 100%;
}
}
@media screen and (max-width: 992px) {
.y-row .y-col-sm {
width: 100%;
}
.y-row .y-col-sm-1 {
width: 8.33333333%;
}
.y-row .y-col-sm-2 {
width: 16.66666667%;
}
.y-row .y-col-sm-3 {
width: 25%;
}
.y-row .y-col-sm-4 {
width: 33.33333333%;
}
.y-row .y-col-sm-5 {
width: 41.66666667%;
}
.y-row .y-col-sm-6 {
width: 50%;
}
.y-row .y-col-sm-7 {
width: 58.33333333%;
}
.y-row .y-col-sm-8 {
width: 66.66666667%;
}
.y-row .y-col-sm-9 {
width: 75%;
}
.y-row .y-col-sm-10 {
width: 83.33333333%;
}
.y-row .y-col-sm-11 {
width: 91.66666667%;
}
.y-row .y-col-sm-12 {
width: 100%;
}
.y-row .y-offset-sm {
margin-left: 0;
}
.y-row .y-offset-sm-0 {
margin-left: 0;
}
.y-row .y-offset-sm-1 {
margin-left: 8.33333333%;
}
.y-row .y-offset-sm-2 {
margin-left: 16.66666667%;
}
.y-row .y-offset-sm-3 {
margin-left: 25%;
}
.y-row .y-offset-sm-4 {
margin-left: 33.33333333%;
}
.y-row .y-offset-sm-5 {
margin-left: 41.66666667%;
}
.y-row .y-offset-sm-6 {
margin-left: 50%;
}
.y-row .y-offset-sm-7 {
margin-left: 58.33333333%;
}
.y-row .y-offset-sm-8 {
margin-left: 66.66666667%;
}
.y-row .y-offset-sm-9 {
margin-left: 75%;
}
.y-row .y-offset-sm-10 {
margin-left: 83.33333333%;
}
.y-row .y-offset-sm-11 {
margin-left: 91.66666667%;
}
.y-row .y-offset-sm-12 {
margin-left: 100%;
}
}
@media screen and (max-width: 768px) {
.y-row .y-col-xs {
width: 100%;
}
.y-row .y-col-xs-1 {
width: 8.33333333%;
}
.y-row .y-col-xs-2 {
width: 16.66666667%;
}
.y-row .y-col-xs-3 {
width: 25%;
}
.y-row .y-col-xs-4 {
width: 33.33333333%;
}
.y-row .y-col-xs-5 {
width: 41.66666667%;
}
.y-row .y-col-xs-6 {
width: 50%;
}
.y-row .y-col-xs-7 {
width: 58.33333333%;
}
.y-row .y-col-xs-8 {
width: 66.66666667%;
}
.y-row .y-col-xs-9 {
width: 75%;
}
.y-row .y-col-xs-10 {
width: 83.33333333%;
}
.y-row .y-col-xs-11 {
width: 91.66666667%;
}
.y-row .y-col-xs-12 {
width: 100%;
}
.y-row .y-offset-xs {
margin-left: 0;
}
.y-row .y-offset-xs-0 {
margin-left: 0;
}
.y-row .y-offset-xs-1 {
margin-left: 8.33333333%;
}
.y-row .y-offset-xs-2 {
margin-left: 16.66666667%;
}
.y-row .y-offset-xs-3 {
margin-left: 25%;
}
.y-row .y-offset-xs-4 {
margin-left: 33.33333333%;
}
.y-row .y-offset-xs-5 {
margin-left: 41.66666667%;
}
.y-row .y-offset-xs-6 {
margin-left: 50%;
}
.y-row .y-offset-xs-7 {
margin-left: 58.33333333%;
}
.y-row .y-offset-xs-8 {
margin-left: 66.66666667%;
}
.y-row .y-offset-xs-9 {
margin-left: 75%;
}
.y-row .y-offset-xs-10 {
margin-left: 83.33333333%;
}
.y-row .y-offset-xs-11 {
margin-left: 91.66666667%;
}
.y-row .y-offset-xs-12 {
margin-left: 100%;
}
}
/*colors*/
/*
*****************************************
*/
/*border-color*/
/*
*****************************************
*/
.yclearfloat {
zoom: 1;
}
.yclearfloat::after {
clear: both;
content: '';
display: block;
height: 0;
visibility: hidden;
}
.y-form {
zoom: 1;
position: relative;
}
.y-form::after {
clear: both;
content: '';
display: block;
height: 0;
visibility: hidden;
}
.y-form .yform-group {
margin: 15px 0;
}
.y-form .yform-group.yform-btn {
margin-top: 25px;
}
.y-form .yform-group .flabel {
font-size: 1.4rem;
font-weight: 500;
margin: 8px 0;
display: block;
padding-right: 20px;
}
.y-form .yform-group .flabel > .required {
color: #ff3e38;
font-weight: 600;
margin: 0 4px;
display: inline-block;
line-height: 1;
}
.y-form .yform-group .fsection > span.text {
font-size: 1.4rem;
margin: 8px 0;
display: inline-block;
}
.y-form .yform-group .fsection button + button {
margin: 0 15px;
}
.y-form .yform-group .fspan {
display: block;
padding-top: 2px;
padding-left: 4px;
font-size: 11px;
font-weight: 400;
}
.y-form .yform-group .fspan.error {
color: #f05050;
}
.y-form .yform-group .fspan.info {
color: #23b7e5;
}
.y-form .yform-group .fspan.success {
color: #3abf52;
}
.y-form .yform-group .fspan.warning {
color: #edbb20;
}
.y-form .form-btns {
float: left;
text-align: center;
}
.y-form .form-btns .ybtn:not(:last-of-type) {
margin-right: 15px;
}
.y-form .form-btns.pl {
float: left;
}
.y-form .form-btns.pr {
float: right;
}
.y-form .form-btns.bl {
float: none;
}
.y-form .form-btns.bl .ybtn {
margin: 0;
display: block;
width: 100%;
}
.y-form .form-btns.bl .ybtn:not(:last-of-type) {
margin-bottom: 15px;
}
.y-form.yfh .yform-group {
zoom: 1;
}
.y-form.yfh .yform-group::after {
clear: both;
content: '';
display: block;
height: 0;
visibility: hidden;
}
.y-form.yfh .yform-group .flabel {
text-align: right;
}
.y-form.yfh.left .yform-group {
zoom: 1;
}
.y-form.yfh.left .yform-group::after {
clear: both;
content: '';
display: block;
height: 0;
visibility: hidden;
}
.y-form.yfh.left .yform-group .flabel {
text-align: left;
}
/*colors*/
/*
*****************************************
*/
/*border-color*/
/*
*****************************************
*/
.yinput {
display: inline-block;
width: 100%;
min-width: 0;
height: 34px;
padding: 6px 10px;
font-size: 1.4rem;
line-height: 1.42857143;
color: #555;
background-color: transparent;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.yinput::-webkit-input-placeholder {
color: #999;
}
.yinput:hover {
border-color: #318ffa;
transition: all 0.3s;
}
.yinput:focus {
border-color: #318ffa;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.yinput[disabled] {
background-color: #eee;
cursor: not-allowed;
}
.y-input {
position: relative;
z-index: 1;
}
.y-input input {
display: inline-block;
width: 100%;
min-width: 0;
height: 34px;
padding: 6px 10px;
font-size: 1.4rem;
line-height: 1.42857143;
color: #555;
background-color: transparent;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.y-input input::-webkit-input-placeholder {
color: #999;
}
.y-input input:hover {
border-color: #318ffa;
transition: all 0.3s;
}
.y-input input:focus {
border-color: #318ffa;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.y-input input[disabled] {
background-color: #eee;
cursor: not-allowed;
}
.y-input input + i {
cursor: pointer;
}
.y-input.error input {
border-color: #ff3e38;
}
.y-input.error input:focus {
border-color: #318ffa;
}
.y-input.no-border input {
border: 0;
border-bottom: 1px solid #ddd;
box-shadow: none;
border-radius: 0;
}
.y-input.no-border input:focus {
border-bottom: 1px solid #318ffa;
box-shadow: none;
}
.y-input.no-border input:hover {
border-color: #318ffa;
transition: all 0.3s;
}
.y-input.no-border.error input {
border-color: #ff3e38;
}
.y-input.no-border.error input:focus {
border-color: #318ffa;
}
.y-input.no-border.input-plugin > input + span {
border-radius: 0;
}
.y-input.input-ico > input {
padding-right: 32px;
}
.y-input.input-ico > i {
position: absolute;
top: 7px;
right: 7px;
height: 20px;
line-height: 20px;
width: 20px;
display: block;
text-align: center;
color: #23b7e5;
border-radius: 50%;
transform: rotate(0deg);
transition: transform 0.3s;
}
.y-input.input-ico > i.il {
left: 7px;
}
.y-input.input-ico.licon > input {
padding-left: 32px;
}
.y-input.p-right {
display: flex;
}
.y-input.p-right > input {
flex: 1;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.y-input.p-right > .rspan {
min-width: 36px;
height: 34px;
line-height: 34px;
padding: 0 6px;
text-align: center;
background-color: #eee;
border: 1px solid #ccc;
border-left: 0;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
cursor: pointer;
-moz-user-select: none;
user-select: none;
}
.y-input.p-left {
display: flex;
}
.y-input.p-left > input {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.y-input.p-left > .lspan {
min-width: 36px;
height: 34px;
line-height: 34px;
padding: 0 6px;
text-align: center;
background-color: #eee;
border: 1px solid #ccc;
border-right: 0;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.y-input.sel-list {
display: flex;
flex-flow: row wrap;
width: 100%;
height: auto;
padding: 0 10px;
background-color: transparent;
border: 1px solid #ccc;
border-radius: 4px;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.y-input.sel-list:hover {
border-color: #318ffa;
transition: all 0.3s;
}
.y-input.sel-list:focus {
border-color: #318ffa;
outline: 0;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.y-input.sel-list > input {
flex: 1;
width: auto;
border: 0;
box-shadow: none;
}
.y-input.sel-list > .sel-span {
display: block;
position: relative;
margin-top: 5px;
min-width: 36px;
height: 24px;
line-height: 24px;
text-align: center;
border-radius: 4px;
background-color: #f0f0f0;
color: rgba(0, 0, 0, 0.65);
padding-right: 16px;
padding-left: 3px;
}
.y-input.sel-list > .sel-span:not(:last-of-type) {
margin-right: 5px;
}
.y-input.sel-list > .sel-span > i {
position: absolute;
display: block;
height: 16px;
line-height: 16px;
text-align: center;
top: 4px;
right: 0;
padding: 0 3px;
cursor: pointer;
color: rgba(0, 0, 0, 0.43);
font-size: 11px;
font-weight: 300;
}
.y-input.sel-list > .sel-span > i:hover {
color: rgba(0, 0, 0, 0.65);
}
/*colors*/
/*
*****************************************
*/
/*border-color*/
/*
*****************************************
*/
.yinput {
display: inline-block;
width: 100%;
min-width: 0;
height: 34px;
padding: 6px 10px;
font-size: 1.4rem;
line-height: 1.42857143;
color: #555;
background-color: transparent;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.yinput::-webkit-input-placeholder {
color: #999;
}
.yinput:hover {
border-color: #318ffa;
transition: all 0.3s;
}
.yinput:focus {
border-color: #318ffa;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.yinput[disabled] {
background-color: #eee;
cursor: not-allowed;
}
.textarea {
display: inline-block;
width: 100%;
min-width: 0;
height: 34px;
padding: 6px 10px;
font-size: 1.4rem;
line-height: 1.42857143;
color: #555;
background-color: transparent;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
height: auto;
}
.textarea::-webkit-input-placeholder {
color: #999;
}
.textarea:hover {
border-color: #318ffa;
transition: all 0.3s;
}
.textarea:focus {
border-color: #318ffa;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.textarea[disabled] {
background-color: #eee;
cursor: not-allowed;
}
.textarea.error {
border-color: #f05050;
}
.textarea.info {
border-color: #23b7e5;
}
/*colors*/
/*
*****************************************
*/
/*border-color*/
/*
*****************************************
*/
.yradio {
display: inline-block;
vertical-align: top;
font-size: 0;
}
.yradio.block {
display: block;
}
.yradio.block .radio,
.yradio.block .checkbox {
display: block;
margin: 0;
}
.yradio .radio,
.yradio .checkbox {
position: relative;
display: inline-block;
font-weight: normal;
-moz-user-select: none;
user-select: none;
white-space: nowrap;
cursor: pointer;
margin-right: 10px;
height: 34px;
line-height: 34px;
}
.yradio .radio > span,
.yradio .checkbox > span {
vertical-align: middle;
font-size: 13px;
}
.yradio .radio > span:first-of-type,
.yradio .checkbox > span:first-of-type {
position: relative;
display: inline-block;
outline: none;
}
.yradio .radio > span:first-of-type > input,
.yradio .checkbox > span:first-of-type > input {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
cursor: pointer;
opacity: 0;
}
.yradio .radio > span:first-of-type > span,
.yradio .checkbox > span:first-of-type > span {
position: relative;
top: 0;
left: 0;
display: block;
width: 14px;
height: 14px;
border-radius: 14px;
background-color: #fff;
border: 1px solid #d9d9d9;
transition: all 0.3s;
}
.yradio .radio > span:first-of-type > span:after,
.yradio .checkbox > span:first-of-type > span:after {
content: '';
position: absolute;
top: 3px;
left: 3px;
width: 6px;
height: 6px;
border-radius: 4px;
background-color: #318ffa;
opacity: 0;
transition: all 0.3s;
}
.yradio .radio > span:last-of-type,
.yradio .checkbox > span:last-of-type {
padding-left: 8px;
padding-right: 8px;
}
.yradio .radio:hover > span:first-of-type > span,
.yradio .checkbox:hover > span:first-of-type > span {
border-color: #318ffa;
transition: all 0.3s;
}
.yradio .radio.on > span:first-of-type > span:after,
.yradio .checkbox.on > span:first-of-type > span:after {
opacity: 1;
transition: all 0.3s;
}
.yradio .radio.disabled,
.yradio .checkbox.disabled {
cursor: not-allowed;
}
.yradio .radio.disabled > span:first-of-type,
.yradio .checkbox.disabled > span:first-of-type {
/*>input{
cursor:not-allowed;
}*/
}
.yradio .radio.disabled > span:first-of-type > span,
.yradio .checkbox.disabled > span:first-of-type > span {
border-color: #d9d9d9 !important;
background-color: #f7f7f7;
}
.yradio .radio.disabled > span:last-of-type,
.yradio .checkbox.disabled > span:last-of-type {
color: rgba(0, 0, 0, 0.25);
}
.y-radio {
display: inline-block;
vertical-align: top;
font-size: 0;
}
.y-radio.block {
display: block;
}
.y-radio.block .radio,
.y-radio.block .checkbox {
display: block;
margin: 0;
}
.y-radio .radio,
.y-radio .checkbox {
position: relative;
display: inline-block;
font-weight: normal;
-moz-user-select: none;
user-select: none;
white-space: nowrap;
cursor: pointer;
margin-right: 10px;
height: 34px;
line-height: 34px;
}
.y-radio .radio > span,
.y-radio .checkbox > span {
vertical-align: middle;
font-size: 13px;
}
.y-radio .radio > span:first-of-type,
.y-radio .checkbox > span:first-of-type {
position: relative;
display: inline-block;
outline: none;
}
.y-radio .radio > span:first-of-type > input,
.y-radio .checkbox > span:first-of-type > input {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
cursor: pointer;
opacity: 0;
}
.y-radio .radio > span:first-of-type > span,
.y-radio .checkbox > span:first-of-type > span {
position: relative;
top: 0;
left: 0;
display: block;
width: 14px;
height: 14px;
border-radius: 14px;
background-color: #fff;
border: 1px solid #d9d9d9;
transition: all 0.3s;
}
.y-radio .radio > span:first-of-type > span:after,
.y-radio .checkbox > span:first-of-type > span:after {
content: '';
position: absolute;
top: 3px;
left: 3px;
width: 6px;
height: 6px;
border-radius: 4px;
background-color: #318ffa;
opacity: 0;
transition: all 0.3s;
}
.y-radio .radio > span:last-of-type,
.y-radio .checkbox > span:last-of-type {
padding-left: 8px;
padding-right: 8px;
}
.y-radio .radio:hover > span:first-of-type > span,
.y-radio .checkbox:hover > span:first-of-type > span {
border-color: #318ffa;
transition: all 0.3s;
}
.y-radio .radio.on > span:first-of-type > span:after,
.y-radio .checkbox.on > span:first-of-type > span:after {
opacity: 1;
transition: all 0.3s;
}
.y-radio .radio.disabled,
.y-radio .checkbox.disabled {
cursor: not-allowed;
}
.y-radio .radio.disabled > span:first-of-type,
.y-radio .checkbox.disabled > span:first-of-type {
/*>input{
cursor:not-allowed;
}*/
}
.y-radio .radio.disabled > span:first-of-type > span,
.y-radio .checkbox.disabled > span:first-of-type > span {
border-color: #d9d9d9 !important;
background-color: #f7f7f7;
}
.y-radio .radio.disabled > span:last-of-type,
.y-radio .checkbox.disabled > span:last-of-type {
color: rgba(0, 0, 0, 0.25);
}
/*colors*/
/*
*****************************************
*/
/*border-color*/
/*
*****************************************
*/
.yradio {
display: inline-block;
vertical-align: top;
font-size: 0;
}
.yradio.block {
display: block;
}
.yradio.block .radio,
.yradio.block .checkbox {
display: block;
margin: 0;
}
.yradio .radio,
.yradio .checkbox {
position: relative;
display: inline-block;
font-weight: normal;
-moz-user-select: none;
user-select: none;
white-space: nowrap;
cursor: pointer;
margin-right: 10px;
height: 34px;
line-height: 34px;
}
.yradio .radio > span,
.yradio .checkbox > span {
vertical-align: middle;
font-size: 13px;
}
.yradio .radio > span:first-of-type,
.yradio .checkbox > span:first-of-type {
position: relative;
display: inline-block;
outline: none;
}
.yradio .radio > span:first-of-type > input,
.yradio .checkbox > span:first-of-type > input {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
cursor: pointer;
opacity: 0;
}
.yradio .radio > span:first-of-type > span,
.yradio .checkbox > span:first-of-type > span {
position: relative;
top: 0;
left: 0;
display: block;
width: 14px;
height: 14px;
border-radius: 14px;
background-color: #fff;
border: 1px solid #d9d9d9;
transition: all 0.3s;
}
.yradio .radio > span:first-of-type > span:after,
.yradio .checkbox > span:first-of-type > span:after {
content: '';
position: absolute;
top: 3px;
left: 3px;
width: 6px;
height: 6px;
border-radius: 4px;
background-color: #318ffa;
opacity: 0;
transition: all 0.3s;
}
.yradio .radio > span:last-of-type,
.yradio .checkbox > span:last-of-type {
padding-left: 8px;
padding-right: 8px;
}
.yradio .radio:hover > span:first-of-type > span,
.yradio .checkbox:hover > span:first-of-type > span {
border-color: #318ffa;
transition: all 0.3s;
}
.yradio .radio.on > span:first-of-type > span:after,
.yradio .checkbox.on > span:first-of-type > span:after {
opacity: 1;
transition: all 0.3s;
}
.yradio .radio.disabled,
.yradio .checkbox.disabled {
cursor: not-allowed;
}
.yradio .radio.disabled > span:first-of-type,
.yradio .checkbox.disabled > span:first-of-type {
/*>input{
cursor:not-allowed;
}*/
}
.yradio .radio.disabled > span:first-of-type > span,
.yradio .checkbox.disabled > span:first-of-type > span {
border-color: #d9d9d9 !important;
background-color: #f7f7f7;
}
.yradio .radio.disabled > span:last-of-type,
.yradio .checkbox.disabled > span:last-of-type {
color: rgba(0, 0, 0, 0.25);
}
.ycheckbox {
display: inline-block;
vertical-align: top;
font-size: 0;
}
.ycheckbox.block {
display: block;
}
.ycheckbox.block .radio,
.ycheckbox.block .checkbox {
display: block;
margin: 0;
}
.ycheckbox .radio,
.ycheckbox .checkbox {
position: relative;
display: inline-block;
font-weight: normal;
-moz-user-select: none;
user-select: none;
white-space: nowrap;
cursor: pointer;
margin-right: 10px;
height: 34px;
line-height: 34px;
}
.ycheckbox .radio > span,
.ycheckbox .checkbox > span {
vertical-align: middle;
font-size: 13px;
}
.ycheckbox .radio > span:first-of-type,
.ycheckbox .checkbox > span:first-of-type {
position: relative;
display: inline-block;
outline: none;
}
.ycheckbox .radio > span:first-of-type > input,
.ycheckbox .checkbox > span:first-of-type > input {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
cursor: pointer;
opacity: 0;
}
.ycheckbox .radio > span:first-of-type > span,
.ycheckbox .checkbox > span:first-of-type > span {
position: relative;
top: 0;
left: 0;
display: block;
width: 14px;
height: 14px;
border-radius: 14px;
background-color: #fff;
border: 1px solid #d9d9d9;
transition: all 0.3s;
}
.ycheckbox .radio > span:first-of-type > span:after,
.ycheckbox .checkbox > span:first-of-type > span:after {
content: '';
position: absolute;
top: 3px;
left: 3px;
width: 6px;
height: 6px;
border-radius: 4px;
background-color: #318ffa;
opacity: 0;
transition: all 0.3s;
}
.ycheckbox .radio > span:last-of-type,
.ycheckbox .checkbox > span:last-of-type {
padding-left: 8px;
padding-right: 8px;
}
.ycheckbox .radio:hover > span:first-of-type > span,
.ycheckbox .checkbox:hover > span:first-of-type > span {
border-color: #318ffa;
transition: all 0.3s;
}
.ycheckbox .radio.on > span:first-of-type > span:after,
.ycheckbox .checkbox.on > span:first-of-type > span:after {
opacity: 1;
transition: all 0.3s;
}
.ycheckbox .radio.disabled,
.ycheckbox .checkbox.disabled {
cursor: not-allowed;
}
.ycheckbox .radio.disabled > span:first-of-type,
.ycheckbox .checkbox.disabled > span:first-of-type {
/*>input{
cursor:not-allowed;
}*/
}
.ycheckbox .radio.disabled > span:first-of-type > span,
.ycheckbox .checkbox.disabled > span:first-of-type > span {
border-color: #d9d9d9 !important;
background-color: #f7f7f7;
}
.ycheckbox .radio.disabled > span:last-of-type,
.ycheckbox .checkbox.disabled > span:last-of-type {
color: rgba(0, 0, 0, 0.25);
}
.ycheckbox .checkbox > span:first-of-type > span {
border-radius: 2px;
}
.ycheckbox .checkbox > span:first-of-type > span:after {
top: 1px;
left: 4px;
width: 5px;
height: 8px;
border: 2px solid #fff;
border-top: 0;
border-left: 0;
border-radius: 0;
transform: rotate(45deg) scale(0);
}
.ycheckbox .checkbox.on > span:first-of-type > span {
background-color: #318ffa;
border-color: #318ffa;
}
.ycheckbox .checkbox.on > span:first-of-type > span:after {
transform: rotate(45deg) scale(1);
}
.ycheckbox .checkbox.on > span:first-of-type > span.half {
background-color: #fff;
}
.ycheckbox .checkbox.on > span:first-of-type > span.half:after {
top: 2px;
left: 2px;
width: 8px;
height: 8px;
background-color: #318ffa;
border: 0;
border-radius: 1px;
transform: scale(1);
}
.ycheckbox .checkbox.half-check > span:first-of-type > span {
background-color: #318ffa;
border-color: #318ffa;
}
.ycheckbox .checkbox.half-check > span:first-of-type > span:after {
left: 4px;
top: 1px;
width: 5px;
height: 8px;
border: 2px solid #fff;
border-top: 0;
border-left: 0;
border-radius: 0;
transform: rotate(45deg);
}
.y-checkbox {
display: inline-block;
vertical-align: top;
font-size: 0;
}
.y-checkbox.block {
display: block;
}
.y-checkbox.block .radio,
.y-checkbox.block .checkbox {
display: block;
margin: 0;
}
.y-checkbox .radio,
.y-checkbox .checkbox {
position: relative;
display: inline-block;
font-weight: normal;
-moz-user-select: none;
user-select: none;
white-space: nowrap;
cursor: pointer;
margin-right: 10px;
height: 34px;
line-height: 34px;
}
.y-checkbox .radio > span,
.y-checkbox .checkbox > span {
vertical-align: middle;
font-size: 13px;
}
.y-checkbox .radio > span:first-of-type,
.y-checkbox .checkbox > span:first-of-type {
position: relative;
display: inline-block;
outline: none;
}
.y-checkbox .radio > span:first-of-type > input,
.y-checkbox .checkbox > span:first-of-type > input {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
cursor: pointer;
opacity: 0;
}
.y-checkbox .radio > span:first-of-type > span,
.y-checkbox .checkbox > span:first-of-type > span {
position: relative;
top: 0;
left: 0;
display: block;
width: 14px;
height: 14px;
border-radius: 14px;
background-color: #fff;
border: 1px solid #d9d9d9;
transition: all 0.3s;
}
.y-checkbox .radio > span:first-of-type > span:after,
.y-checkbox .checkbox > span:first-of-type > span:after {
content: '';
position: absolute;
top: 3px;
left: 3px;
width: 6px;
height: 6px;
border-radius: 4px;
background-color: #318ffa;
opacity: 0;
transition: all 0.3s;
}
.y-checkbox .radio > span:last-of-type,
.y-checkbox .checkbox > span:last-of-type {
padding-left: 8px;
padding-right: 8px;
}
.y-checkbox .radio:hover > span:first-of-type > span,
.y-checkbox .checkbox:hover > span:first-of-type > span {
border-color: #318ffa;
transition: all 0.3s;
}
.y-checkbox .radio.on > span:first-of-type > span:after,
.y-checkbox .checkbox.on > span:first-of-type > span:after {
opacity: 1;
transition: all 0.3s;
}
.y-checkbox .radio.disabled,
.y-checkbox .checkbox.disabled {
cursor: not-allowed;
}
.y-checkbox .radio.disabled > span:first-of-type,
.y-checkbox .checkbox.disabled > span:first-of-type {
/*>input{
cursor:not-allowed;
}*/
}
.y-checkbox .radio.disabled > span:first-of-type > span,
.y-checkbox .checkbox.disabled > span:first-of-type > span {
border-color: #d9d9d9 !important;
background-color: #f7f7f7;
}
.y-checkbox .radio.disabled > span:last-of-type,
.y-checkbox .checkbox.disabled > span:last-of-type {
color: rgba(0, 0, 0, 0.25);
}
.y-checkbox .checkbox > span:first-of-type > span {
border-radius: 2px;
}
.y-checkbox .checkbox > span:first-of-type > span:after {
top: 1px;
left: 4px;
width: 5px;
height: 8px;
border: 2px solid #fff;
border-top: 0;
border-left: 0;
border-radius: 0;
transform: rotate(45deg) scale(0);
}
.y-checkbox .checkbox.on > span:first-of-type > span {
background-color: #318ffa;
border-color: #318ffa;
}
.y-checkbox .checkbox.on > span:first-of-type > span:after {
transform: rotate(45deg) scale(1);
}
.y-checkbox .checkbox.on > span:first-of-type > span.half {
background-color: #fff;
}
.y-checkbox .checkbox.on > span:first-of-type > span.half:after {
top: 2px;
left: 2px;
width: 8px;
height: 8px;
background-color: #318ffa;
border: 0;
border-radius: 1px;
transform: scale(1);
}
.y-checkbox .checkbox.half-check > span:first-of-type > span {
background-color: #318ffa;
border-color: #318ffa;
}
.y-checkbox .checkbox.half-check > span:first-of-type > span:after {
left: 4px;
top: 1px;
width: 5px;
height: 8px;
border: 2px solid #fff;
border-top: 0;
border-left: 0;
border-radius: 0;
transform: rotate(45deg);
}
.y-select {
position: relative;
}
.y-select ul {
position: absolute;
width: 100%;
margin-top: 2px;
overflow: auto;
border-radius: 5px;
border: 1px solid #ccc;
background-color: #fcfcfc;
display: none;
z-index: 999;
}
.y-select ul > li {
height: 30px;
line-height: 30px;
padding: 0 10px;
cursor: pointer;
}
.y-select ul > li:hover {
background-color: #ecf6fd;
transition: all 0.3s;
}
.y-select ul > li.selected {
background-color: #f0f0f0;
}
.y-select i {
z-index: -1;
}
.y-select input {
cursor: pointer;
}
.y-select.focus .y-input.input-ico > i {
transform: rotate(-180deg);
transition: transform 0.2s;
}
.y-select.focus ul {
display: block;
}
@keyframes selectAnim {
0% {
opacity: 0;
visibility: hidden;
transform: translate3d(0, -20px, 0);
}
100% {
opacity: 1;
visibility: visible;
transform: none;
}
}
.selectAnim {
animation: selectAnim 0.3s;
}
/*colors*/
/*
*****************************************
*/
/*border-color*/
/*
*****************************************
*/
.yswitch {
min-width: 52px;
height: 26px;
display: inline-block;
line-height: 1;
position: relative;
vertical-align: middle;
border-radius: 13px;
overflow: hidden;
margin: 4px;
}
.yswitch.disabled {
opacity: 0.7;
}
.yswitch.disabled > input[disabled] {
cursor: not-allowed;
}
.yswitch > input {
opacity: 0;
z-index: 2;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
outline: 0;
border: 0;
cursor: pointer;
border-radius: 13px;
}
.yswitch > input:checked + label {
background-color: #318ffa;
text-align: left;
padding-left: 10px;
padding-right: 26px;
transition: background-color 0.3s;
}
.yswitch > input:checked + label::before {
left: calc(100% + 3px - 26px);
transition: left 0.3s;
}
.yswitch > label {
position: relative;
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
line-height: 26px;
padding-left: 26px;
padding-right: 10px;
text-align: right;
color: #fff;
border-radius: 13px;
cursor: pointer;
-moz-user-select: none;
user-select: none;
background-color: #666;
transition: background-color 0.3s;
}
.yswitch > label::before {
content: '';
position: absolute;
left: 0;
top: 3px;
display: block;
width: 100%;
max-width: 20px;
height: 20px;
border-radius: 100%;
background-color: #fff;
left: 3px;
transition: left 0.3s;
}
/*colors*/
/*
*****************************************
*/
/*border-color*/
/*
*****************************************
*/
.y-panel {
width: 100%;
border-radius: 4px;
position: relative;
top: 0;
transition: top 0.2s;
min-width: 312px;
overflow: auto;
border: 1px solid hsla(0, 0%, 80%, 0.5);
}
.y-panel:hover {
top: -2px;
box-shadow: 0px 2px 5px hsla(0, 0%, 80%, 0.7);
transition: all 0.3s;
}
.y-panel .y-panel-header {
height: 43px;
line-height: 43px;
padding: 0;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border-bottom: 1px solid hsla(0, 0%, 80%, 0.7);
/*&.pl-0{
>h4{
width:calc(~"100% - 46px");//36+10
}
}
&.pl-1{
>h4{
width:calc(~"100% - 106px");
}
}
&.pl-2{
>h4{
width:calc(~"100% - 142px");
}
}
&.pl-3{
>h4{
width:calc(~"100% - 178px");
}
}
&.pl-4{
>h4{
width:calc(~"100% - 214px");
}
}
&.pl-5{
>h4{
width:calc(~"100% - 250px");
}
}
&.pl-6{
>h4{
width:calc(~"100% - 286px");
}
}*/
}
.y-panel .y-panel-header > h4 {
margin: 0;
padding: 0 15px;
font-size: 1.4rem;
font-weight: 600;
float: left;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.y-panel .y-panel-header.ydrag {
cursor: default !important;
}
.y-panel .y-panel-header.ydrag h4 {
cursor: move;
}
.y-panel .y-panel-header.pl > h4 {
width: calc(100% - 46px);
}
.y-panel .y-panel-header.pl-0 > h4 {
width: calc(100% - 46px);
}
.y-panel .y-panel-header.pl-1 > h4 {
width: calc(100% - 106px);
}
.y-panel .y-panel-header.pl-2 > h4 {
width: calc(100% - 142px);
}
.y-panel .y-panel-header.pl-3 > h4 {
width: calc(100% - 178px);
}
.y-panel .y-panel-header.pl-4 > h4 {
width: calc(100% - 214px);
}
.y-panel .y-panel-header.pl-5 > h4 {
width: calc(100% - 250px);
}
.y-panel .y-panel-header.pl-6 > h4 {
width: calc(100% - 286px);
}
.y-panel .y-panel-header > i {
display: block;
float: right;
width: 36px;
line-height: 42px;
text-align: center;
margin-right: 10px;
}
.y-panel .y-panel-header .plugins {
float: right;
cursor: auto;
}
.y-panel .y-panel-header .plugins > div {
min-width: 36px;
height: 42px;
line-height: 42px;
border-radius: 3px;
text-align: center;
float: left;
color: #999;
}
.y-panel .y-panel-header .plugins > div > i {
cursor: pointer;
}
.y-panel .y-panel-header .plugins > div > i:hover {
color: #777;
transform: scale(1.3, 1.3);
transition: all 0.3s;
}
.y-panel .y-panel-header .plugins > div > .yswitch {
top: -2px;
}
.y-panel .y-panel-header .plugins > div.select-theme {
position: relative;
}
.y-panel .y-panel-header .plugins > div.select-theme > i {
position: relative;
top: 14px;
display: block;
margin: 0 auto;
width: 14px;
height: 14px;
border: 2px solid #eee;
background-color: #666;
}
.y-panel .y-panel-header .plugins > div.select-theme > i:hover {
border-color: #fff;
transition: all 0.3s;
}
.y-panel .y-panel-header .plugins > div.select-theme ul {
display: none;
width: 172px;
padding: 10px 15px;
position: absolute;
right: 0px;
top: 40px;
background-color: #eee;
border-radius: 5px;
}
.y-panel .y-panel-header .plugins > div.select-theme ul li {
float: left;
margin-left: 8px;
width: 22px;
height: 22px;
border: 2px solid #eee;
background-color: #999;
border-radius: 3px;
opacity: 0.6;
cursor: pointer;
}
.y-panel .y-panel-header .plugins > div.select-theme ul li:first-child {
margin: 0;
}
.y-panel .y-panel-header .plugins > div.select-theme ul li:hover {
opacity: 1;
}
.y-panel.default .y-panel-header {
color: #fff;
background-color: #666;
border-color: #999;
}
.y-panel.default .y-panel-header .plugins > div {
color: #fff;
}
.y-panel.default .y-panel-header .plugins > div > i:hover {
color: #f60;
transition: all 0.3s;
}
.y-panel.default .y-panel-header .plugins > div.select-theme > i {
border: 2px solid #fff;
background-color: #666;
}
.y-panel.default .y-panel-header .plugins > div.select-theme > i:hover {
border-color: #f60;
transition: all 0.3s;
}
.y-panel.info .y-panel-header {
color: #fff;
background-color: #318ffa;
border-color: #23b7e5;
}
.y-panel.info .y-panel-header .plugins > div {
color: #fff;
}
.y-panel.info .y-panel-header .plugins > div > i:hover {
color: #ff7f50;
transition: all 0.3s;
}
.y-panel.info .y-panel-header .plugins > div.select-theme > i {
border: 2px solid #fff;
background-color: #23b7e5;
}
.y-panel.info .y-panel-header .plugins > div.select-theme > i:hover {
border-color: #ff7f50;
transition: all 0.3s;
}
.y-panel.success .y-panel-header {
color: #fff;
background-color: #6ce581;
border-color: #3abf52;
}
.y-panel.success .y-panel-header .plugins > div {
color: #fff;
}
.y-panel.success .y-panel-header .plugins > div > i:hover {
color: #fecb2e;
transition: all 0.3s;
}
.y-panel.success .y-panel-header .plugins > div.select-theme > i {
border: 2px solid #fff;
background-color: #3abf52;
}
.y-panel.success .y-panel-header .plugins > div.select-theme > i:hover {
border-color: #fecb2e;
transition: all 0.3s;
}
.y-panel.warning .y-panel-header {
color: #fff;
background-color: #ff7f50;
border-color: #edbb20;
}
.y-panel.warning .y-panel-header .plugins > div {
color: #fff;
}
.y-panel.warning .y-panel-header .plugins > div > i:hover {
color: #666;
transition: all 0.3s;
}
.y-panel.warning .y-panel-header .plugins > div.select-theme > i {
border: 2px solid #fff;
background-color: #edbb20;
}
.y-panel.warning .y-panel-header .plugins > div.select-theme > i:hover {
border-color: #666;
transition: all 0.3s;
}
.y-panel.danger .y-panel-header {
color: #fff;
background-color: #ff3e38;
border-color: #f05050;
}
.y-panel.danger .y-panel-header .plugins > div {
color: #fff;
}
.y-panel.danger .y-panel-header .plugins > div > i:hover {
color: #23b7e5;
transition: all 0.3s;
}
.y-panel.danger .y-panel-header .plugins > div.select-theme > i {
border: 2px solid #fff;
background-color: #f05050;
}
.y-panel.danger .y-panel-header .plugins > div.select-theme > i:hover {
border-color: #23b7e5;
transition: all 0.3s;
}
.y-panel .y-panel-body {
overflow: auto;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
transition: height 0.2s;
}
.y-items > .y-item {
zoom: 1;
padding: 10px 15px;
border-top: 1px dashed #ccc;
}
.y-items > .y-item::after {
clear: both;
content: '';
display: block;
height: 0;
visibility: hidden;
}
.y-items > .y-item:first-of-type {
border-top: 0;
}
.y-items > .y-item h2 {
margin-top: 0;
}
/*colors*/
/*
*****************************************
*/
/*border-color*/
/*
*****************************************
*/
.pagination {
padding: 0 10px;
display: inline-block;
}
.pagination > span {
color: #23b7e5;
font-weight: 500;
}
.pagination ul {
margin-top: 1px;
overflow: hidden;
text-align: center;
cursor: not-allowed;
}
.pagination ul > li {
float: left;
height: 30px;
min-width: 32px;
line-height: 30px;
border: 1px solid #eee;
margin-left: -1px;
padding: 0 10px;
color: #318ffa;
background-color: #fcfcfc;
cursor: pointer;
user-select: none;
}
.pagination ul > li:first-child {
margin: 0;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.pagination ul > li:last-of-type {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.pagination ul > li:hover {
background-color: #f3f3f3;
color: #3abf52;
transition: all 0.3s;
}
.pagination ul > li.active {
background-color: #23b7e5;
color: #fff;
border-radius: 3px;
}
.pagination ul > li.active:hover {
background-color: #318ffa;
color: #fff;
transition: all 0.3s;
}
.pagination ul > li.disabled {
pointer-events: none;
opacity: 0.6;
background-color: #f3f3f3;
}
.pagination ul > li.more {
pointer-events: none;
opacity: 0.6;
background-color: #f3f3f3;
line-height: 24px;
}
.pagination ul.outline > li {
color: #777;
border-color: #bbb;
border-radius: 5px;
margin: 0 3px;
padding: 0 8px;
}
.pagination ul.outline > li:hover {
background-color: #fcfcfc;
border-color: #23b7e5;
color: #23b7e5;
transition: all 0.3s;
}
.pagination ul.outline > li.active {
background-color: #fcfcfc;
border-color: #23b7e5;
color: #23b7e5;
}
.pagination ul.outline > li.active:hover {
background-color: #fcfcfc;
border-color: #318ffa;
color: #318ffa;
transition: all 0.3s;
}
/*colors*/
/*
*****************************************
*/
/*border-color*/
/*
*****************************************
*/
.ytable-toolbar .yttb {
overflow: hidden;
}
.ytable-toolbar .addtable {
padding-top: 10px;
line-height: 34px;
}
.ytable-toolbar .addtable input {
width: auto;
margin-right: 8px;
}
.ytable-toolbar .addtable button {
padding: 5px 10px;
margin-right: 8px;
}
.ytable-header {
margin: 10px 0;
height: 34px;
}
.ytable-header .yth-select {
position: relative;
max-width: 100px;
width: 20%;
float: left;
}
.ytable-header .yth-select > .select-tip {
display: inline-block;
height: 32px;
line-height: 32px;
min-width: 52px;
font-size: 1.3rem;
font-weight: 500;
color: #318ffa;
text-align: center;
position: absolute;
right: -3px;
top: 0;
transform: translateX(100%);
}
.ytable-header .yth-search {
position: relative;
max-width: 220px;
width: 30%;
float: right;
}
.ytable-header .yth-search > .y-input > span {
background-color: #318ffa;
color: #fff;
}
.ytable-container {
width: 100%;
max-width: 100%;
overflow: auto;
margin-top: 10px;
margin-bottom: 20px;
}
.ytable-container .ytable {
width: 100%;
background-color: #fff;
border: 1px solid #ddd;
}
.ytable-container .ytable > thead > tr > th,
.ytable-container .ytable > tbody > tr > th,
.ytable-container .ytable > tfoot > tr > th,
.ytable-container .ytable > thead > tr > td,
.ytable-container .ytable > tbody > tr > td,
.ytable-container .ytable > tfoot > tr > td {
height: 32px;
line-height: 32px;
padding: 0;
vertical-align: top;
border-top: 1px solid #ddd;
text-align: center;
word-break: break-all;
word-wrap: break-word;
max-width: 200px;
min-width: 30px;
}
.ytable-container .ytable > thead > tr > th > span,
.ytable-container .ytable > tbody > tr > th > span,
.ytable-container .ytable > tfoot > tr > th > span,
.ytable-container .ytable > thead > tr > td > span,
.ytable-container .ytable > tbody > tr > td > span,
.ytable-container .ytable > tfoot > tr > td > span {
display: block;
border: 0;
outline: 0;
width: 100%;
height: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ytable-container .ytable > thead > tr {
background-color: #fafafa;
}
.ytable-container .ytable > thead > tr > th {
vertical-align: bottom;
border-bottom: 2px solid #ddd;
}
.ytable-container .ytable > thead:first-of-type > tr:first-of-type > th,
.ytable-container .ytable > thead:first-of-type > tr:first-of-type > td {
border-top: 0;
}
.ytable-container .ytable > tbody > tr:hover {
background-color: #f5f5f5;
transition: all 0.3s;
}
.ytable-container .ytable > tbody > tr > td > input {
width: 100%;
height: 32px;
border: 0;
margin-bottom: -1px;
border-bottom: 1px solid #318ffa;
font-style: italic;
color: #23b7e5;
padding: 0 8px;
}
.ytable-container .ytable > tbody > tr > td.edit,
.ytable-container .ytable > tbody > tr > td.delete,
.ytable-container .ytable > tbody > tr > td.plugin {
width: 70px;
font-weight: 500;
}
.ytable-container .ytable > tbody > tr > td.edit > span > a,
.ytable-container .ytable > tbody > tr > td.delete > span > a,
.ytable-container .ytable > tbody > tr > td.plugin > span > a {
padding: 4px 6px;
border-radius: 3px;
color: #fff;
}
.ytable-container .ytable > tbody > tr > td.edit > span > a {
background-color: #23b7e5;
}
.ytable-container .ytable > tbody > tr > td.edit > span > a:not(:last-of-type) {
margin-right: 8px;
}
.ytable-container .ytable > tbody > tr > td.delete > span > a {
background-color: #f05050;
}
.ytable-container .ytable > tbody + tbody {
border-top: 2px;
}
.ytable-container .ytable.ytable-bordered > thead > tr > th,
.ytable-container .ytable.ytable-bordered > tbody > tr > th,
.ytable-container .ytable.ytable-bordered > tfoot > tr > th,
.ytable-container .ytable.ytable-bordered > thead > tr td,
.ytable-container .ytable.ytable-bordered > tbody > tr td,
.ytable-container .ytable.ytable-bordered > tfoot > tr td {
border: 1px solid #ddd;
}
.yta