336 lines
6.5 KiB
SCSS
336 lines
6.5 KiB
SCSS
/******************************************
|
|
FORM
|
|
******************************************/
|
|
|
|
p {
|
|
color: $grey2;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="number"],
|
|
input[type="password"],
|
|
input[type="date"],
|
|
input[type="email"],
|
|
input[type="url"],
|
|
select {
|
|
border-radius: 3px;
|
|
padding: 5px 10px;
|
|
border: none;
|
|
|
|
&.is-invalid {
|
|
border: 1px solid #d50c0c;
|
|
}
|
|
}
|
|
textarea {
|
|
font-family: "Arial", sans-serif;
|
|
border-radius: 3px;
|
|
padding: 8px 10px;
|
|
font-size: 13px;
|
|
border: none;
|
|
|
|
&.is-invalid {
|
|
border: 1px solid #d50c0c;
|
|
}
|
|
}
|
|
|
|
.btn-sm,
|
|
.btn-group-sm > .btn {
|
|
padding: 0.25rem 0.5rem !important;
|
|
font-size: 0.875rem;
|
|
line-height: 1.5;
|
|
border-radius: 0.2rem !important;
|
|
}
|
|
|
|
input[type="submit"].btn,
|
|
button.btn,
|
|
a.btn {
|
|
@include resetButton;
|
|
border-radius: 17px;
|
|
padding: 9px 19px;
|
|
border: none;
|
|
color: $white;
|
|
background-color: $blue;
|
|
transition: background-color 200ms ease-in;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: $lightblue;
|
|
}
|
|
|
|
&.btn-black {
|
|
background-color: $dark;
|
|
&:hover {
|
|
background-color: $lightdark;
|
|
}
|
|
}
|
|
|
|
&.btn-red {
|
|
background-color: $red;
|
|
&:hover {
|
|
background-color: $red;
|
|
}
|
|
}
|
|
|
|
&.btn-square {
|
|
border-radius: 2px;
|
|
padding: 8px 14px;
|
|
font-weight: bold;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
.mt-10 {
|
|
margin-top: 10px;
|
|
}
|
|
.ml-10 {
|
|
margin-left: 10px;
|
|
}
|
|
.mr-10 {
|
|
margin-right: 10px;
|
|
}
|
|
.floatr {
|
|
float: right;
|
|
}
|
|
.floatl {
|
|
float: left;
|
|
}
|
|
.tright {
|
|
text-align: right;
|
|
}
|
|
.tleft {
|
|
text-align: left;
|
|
}
|
|
.tcenter {
|
|
text-align: center;
|
|
}
|
|
|
|
.alert {
|
|
color: $white;
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
svg {
|
|
font-size: 26px;
|
|
margin-right: 18px;
|
|
}
|
|
&.alert-warning {
|
|
background-color: $orange;
|
|
}
|
|
&.alert-danger {
|
|
background-color: $red;
|
|
}
|
|
&.alert-ok {
|
|
background-color: $green;
|
|
}
|
|
}
|
|
|
|
.invalid-feedback {
|
|
color: $red;
|
|
margin: 7px 0;
|
|
display: block;
|
|
}
|
|
a {
|
|
color: $grey2;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.heading {
|
|
margin-bottom: 30px;
|
|
|
|
a {
|
|
margin-left: 10px;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
h1 {
|
|
color: $white;
|
|
font-size: 24px;
|
|
display: inline-block;
|
|
}
|
|
h3 {
|
|
color: $white;
|
|
font-size: 17px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.filter_row {
|
|
margin-bottom: 10px;
|
|
.right_col {
|
|
float: right;
|
|
}
|
|
.left_col {
|
|
float: left;
|
|
}
|
|
a {
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
background-color: $grey;
|
|
|
|
th {
|
|
background-color: $grey3;
|
|
font-weight: bold;
|
|
color: $white;
|
|
}
|
|
td,
|
|
th {
|
|
padding: 15px 7px;
|
|
text-align: left;
|
|
|
|
a {
|
|
color: $lightblue;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
tr {
|
|
border-bottom: 1px solid #505050;
|
|
|
|
&:nth-child(even) {
|
|
background-color: $grey3;
|
|
}
|
|
&:hover {
|
|
background-color: rgba(46, 168, 229, 0.2);
|
|
}
|
|
}
|
|
tfoot tr {
|
|
background-color: $grey3;
|
|
border: none;
|
|
&:hover {
|
|
background-color: $grey3;
|
|
}
|
|
}
|
|
}
|
|
|
|
.dataform {
|
|
.form-field {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
margin-top: 10px;
|
|
width: 600px;
|
|
position: relative;
|
|
|
|
.loader {
|
|
position: relative;
|
|
right: 24px;
|
|
color: $blue;
|
|
font-size: 19px;
|
|
}
|
|
|
|
input,
|
|
select,
|
|
textarea {
|
|
width: 255px;
|
|
}
|
|
label {
|
|
min-width: 123px;
|
|
}
|
|
}
|
|
.form-section {
|
|
margin-top: 20px;
|
|
|
|
label {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
.selector_form {
|
|
width: 100%;
|
|
|
|
.selector_filter {
|
|
width: 100%;
|
|
border: #dfdfdf solid 1px;
|
|
border-radius: 0;
|
|
padding: 12px 11px;
|
|
font-size: 14px;
|
|
}
|
|
.selector_list {
|
|
display: flex;
|
|
border: #dfdfdf solid 1px;
|
|
.selector_choices {
|
|
border-right: #dfdfdf solid 1px;
|
|
}
|
|
.selector_values {
|
|
li,
|
|
option {
|
|
& > .removeIcon {
|
|
display: none;
|
|
position: absolute;
|
|
right: 15px;
|
|
font-size: 15px;
|
|
}
|
|
&:hover > .removeIcon {
|
|
display: block;
|
|
}
|
|
}
|
|
&:disabled {
|
|
option {
|
|
&:hover > .removeIcon {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.selector_values,
|
|
.selector_choices {
|
|
background-color: $white;
|
|
width: 50%;
|
|
height: 152px;
|
|
overflow-y: auto;
|
|
|
|
li,
|
|
option {
|
|
cursor: pointer;
|
|
position: relative;
|
|
padding: 6px 5px;
|
|
color: $black;
|
|
background-color: $white;
|
|
|
|
&:hover {
|
|
background-color: $blue;
|
|
color: $white;
|
|
}
|
|
|
|
&.selected {
|
|
color: $grey2;
|
|
|
|
&:hover {
|
|
color: $grey2;
|
|
background-color: $white;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:disabled {
|
|
background-color: #999999;
|
|
option {
|
|
cursor: inherit;
|
|
background-color: #999999;
|
|
&:hover {
|
|
background-color: #999999;
|
|
color: $black;
|
|
}
|
|
&.selected {
|
|
&:hover {
|
|
background-color: #999999;
|
|
color: $black;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.button-row {
|
|
border-top: 1px solid #505050;
|
|
padding: 15px;
|
|
width: 100%;
|
|
margin-top: 25px;
|
|
}
|
|
}
|