¨4.0.1¨
This commit is contained in:
@@ -1,17 +1,19 @@
|
||||
/* buttons */
|
||||
|
||||
.btn {
|
||||
font-size: 15px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
padding: 10px 20px;
|
||||
transition: 200ms ease-in-out;
|
||||
padding: 8px 16px;
|
||||
transition: 150ms ease-in-out;
|
||||
}
|
||||
|
||||
.btn-default {
|
||||
background: #f1f1f1;
|
||||
outline: 0;
|
||||
border-color: #dddddd;
|
||||
|
||||
&.focus,
|
||||
&:focus,
|
||||
&.active {
|
||||
@@ -65,6 +67,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.btn-delete {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
fieldset[disabled] .btn-default {
|
||||
&:focus,
|
||||
&.focus,
|
||||
@@ -310,9 +316,9 @@ fieldset[disabled] .btn-info {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
border: 2px solid #ffffff;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
border: 1px solid #ffffff;
|
||||
border-radius: 100%;
|
||||
border-right-color: transparent;
|
||||
border-top-color: transparent;
|
||||
@@ -320,7 +326,7 @@ fieldset[disabled] .btn-info {
|
||||
}
|
||||
|
||||
&.btn-default:after {
|
||||
border: 2px solid #0068e1;
|
||||
border: 1px solid #0068e1;
|
||||
border-right-color: transparent;
|
||||
border-top-color: transparent;
|
||||
}
|
||||
@@ -380,26 +386,35 @@ fieldset[disabled] .btn-info {
|
||||
/* label */
|
||||
|
||||
.label {
|
||||
font-weight: normal;
|
||||
font-weight: 500;
|
||||
display: inline-block;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.label-default {
|
||||
background: #d2d6de;
|
||||
color: #4b5563;
|
||||
background: #e5e7eb;
|
||||
}
|
||||
|
||||
.label-primary {
|
||||
background: #0068e1;
|
||||
color: #3b82f6;
|
||||
background: #dbeafe;
|
||||
}
|
||||
|
||||
.label-success {
|
||||
background: #37bc9b;
|
||||
color: #16a34a;
|
||||
background: #bbf7d0;
|
||||
}
|
||||
|
||||
.label-danger {
|
||||
background: #fc4b4b;
|
||||
color: #ef4444;
|
||||
background: #fee2e2;
|
||||
}
|
||||
|
||||
.label-warning {
|
||||
color: #c08304;
|
||||
background: #fdeba3;
|
||||
}
|
||||
|
||||
/* form error */
|
||||
|
||||
@@ -429,8 +444,8 @@ fieldset[disabled] .btn-info {
|
||||
|
||||
.input-group-addon {
|
||||
color: #ff3366;
|
||||
background-color: #f2dede;
|
||||
border-color: #ff3366;
|
||||
background: #f6f6f7;
|
||||
border-color: #d9d9d9;
|
||||
}
|
||||
|
||||
.form-control-feedback {
|
||||
@@ -438,13 +453,15 @@ fieldset[disabled] .btn-info {
|
||||
}
|
||||
}
|
||||
|
||||
.help-block {
|
||||
margin-bottom: 0;
|
||||
.input-group-addon {
|
||||
background: #f6f6f7;
|
||||
border-color: #d9d9d9;
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
label {
|
||||
font-size: 15px;
|
||||
font-size: 14px;
|
||||
font-weight: 400 !important;
|
||||
color: #333333;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
@@ -458,7 +475,7 @@ fieldset[disabled] .btn-info {
|
||||
|
||||
&:checked + label,
|
||||
&:not(:checked) + label {
|
||||
font-family: "Roboto", sans-serif;
|
||||
font-family: "Inter", sans-serif;
|
||||
position: relative;
|
||||
padding-left: 28px;
|
||||
cursor: pointer;
|
||||
@@ -476,7 +493,7 @@ fieldset[disabled] .btn-info {
|
||||
height: 17px;
|
||||
border-radius: 3px;
|
||||
background: #e9e9e9;
|
||||
transition: 200ms ease-in-out;
|
||||
transition: 150ms ease-in-out;
|
||||
}
|
||||
|
||||
&:checked + label:after,
|
||||
@@ -489,7 +506,7 @@ fieldset[disabled] .btn-info {
|
||||
left: 2px;
|
||||
color: #ffffff;
|
||||
-webkit-text-stroke: 1px #0068e1;
|
||||
transition: 200ms ease-in-out;
|
||||
transition: 150ms ease-in-out;
|
||||
}
|
||||
|
||||
&:checked + label:before {
|
||||
@@ -509,8 +526,6 @@ fieldset[disabled] .btn-info {
|
||||
}
|
||||
}
|
||||
|
||||
/* radio button */
|
||||
|
||||
.radio {
|
||||
text-align: left;
|
||||
|
||||
@@ -527,7 +542,7 @@ fieldset[disabled] .btn-info {
|
||||
|
||||
&:checked + label,
|
||||
&:not(:checked) + label {
|
||||
font-family: "Roboto", sans-serif;
|
||||
font-family: "Inter", sans-serif;
|
||||
position: relative;
|
||||
padding-left: 28px;
|
||||
cursor: pointer;
|
||||
@@ -557,7 +572,7 @@ fieldset[disabled] .btn-info {
|
||||
top: 4px;
|
||||
left: 3px;
|
||||
border-radius: 100%;
|
||||
transition: 200ms ease-in-out;
|
||||
transition: 150ms ease-in-out;
|
||||
}
|
||||
|
||||
&:not(:checked) + label:after {
|
||||
@@ -569,7 +584,7 @@ fieldset[disabled] .btn-info {
|
||||
top: 3px;
|
||||
left: 3px;
|
||||
border-radius: 100%;
|
||||
transition: 200ms ease-in-out;
|
||||
transition: 150ms ease-in-out;
|
||||
opacity: 0;
|
||||
transform: scale(0);
|
||||
}
|
||||
@@ -589,11 +604,60 @@ fieldset[disabled] .btn-info {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.switch {
|
||||
[type="checkbox"] {
|
||||
display: none;
|
||||
|
||||
&:checked + label::before {
|
||||
background: #0068e1;
|
||||
}
|
||||
|
||||
&:checked + label::after {
|
||||
left: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
font-weight: 400 !important;
|
||||
position: relative;
|
||||
min-height: 20px;
|
||||
margin-bottom: 0 !important;
|
||||
padding-left: 46px;
|
||||
cursor: pointer;
|
||||
|
||||
&:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 4px;
|
||||
height: 12px;
|
||||
width: 30px;
|
||||
background: #e9e9e9;
|
||||
border-radius: 8px;
|
||||
transition: 150ms ease-in-out;
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: -4px;
|
||||
top: 1px;
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
background: #ffffff;
|
||||
border-radius: 16px;
|
||||
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
|
||||
transition: 150ms ease-in-out;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* select option */
|
||||
|
||||
.custom-select-white {
|
||||
appearance: none;
|
||||
background: #f9f9f9 url('../images/arrow-white.png') no-repeat right 8px center;
|
||||
background: #f9f9f9 url("../images/arrow-white.png") no-repeat right 8px
|
||||
center;
|
||||
background-size: 10px;
|
||||
line-height: normal !important;
|
||||
height: 40px;
|
||||
@@ -604,9 +668,9 @@ fieldset[disabled] .btn-info {
|
||||
|
||||
.custom-select-black {
|
||||
appearance: none;
|
||||
background: #ffffff url('../images/arrow-black.png') no-repeat right 8px center;
|
||||
background: #ffffff url("../images/arrow-black.png") no-repeat right 8px
|
||||
center;
|
||||
background-size: 10px;
|
||||
line-height: normal !important;
|
||||
height: 40px;
|
||||
padding: 0 30px 0 10px;
|
||||
border-radius: 3px;
|
||||
|
||||
Reference in New Issue
Block a user