2018-10-31 09:38:41 +00:00
|
|
|
%button {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
border: none;
|
|
|
|
border-radius: 100em;
|
|
|
|
background-color: $color-yellow;
|
|
|
|
color: $color-black;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2018-10-05 09:55:29 +00:00
|
|
|
|
2018-10-22 15:03:00 +00:00
|
|
|
.form-view {
|
2018-10-19 21:47:15 +00:00
|
|
|
@extend %frame;
|
|
|
|
padding: 1em;
|
2018-10-19 18:36:16 +00:00
|
|
|
}
|
2018-10-31 09:38:41 +00:00
|
|
|
sib-display sib-form form {
|
2018-10-19 18:36:16 +00:00
|
|
|
margin: -0.5em;
|
|
|
|
> * {
|
|
|
|
margin: 0.5em;
|
|
|
|
}
|
2018-10-08 08:49:31 +00:00
|
|
|
}
|
2018-10-19 18:36:16 +00:00
|
|
|
sib-form.block {
|
|
|
|
display: block;
|
|
|
|
> form {
|
|
|
|
> * {
|
|
|
|
display: block;
|
|
|
|
margin-top: 2em;
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
&:not(sib-form-checkbox) {
|
|
|
|
label {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
input,
|
|
|
|
textarea {
|
|
|
|
background-color: $color-grey-light;
|
|
|
|
box-shadow: none !important;
|
|
|
|
border: none;
|
|
|
|
padding: 1em 2em;
|
|
|
|
}
|
|
|
|
input,
|
|
|
|
select {
|
|
|
|
height: 3em;
|
|
|
|
}
|
|
|
|
input,
|
|
|
|
textarea,
|
|
|
|
select {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
textarea {
|
|
|
|
resize: vertical;
|
|
|
|
height: 200px;
|
|
|
|
min-height: 3em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
sib-form-multiple-dropdown select {
|
|
|
|
width: calc(100% - 2.5em);
|
|
|
|
}
|
|
|
|
input[type='submit'] {
|
|
|
|
width: auto;
|
2018-10-05 09:55:29 +00:00
|
|
|
}
|
|
|
|
}
|
2018-10-19 18:36:16 +00:00
|
|
|
}
|
2018-10-05 09:55:29 +00:00
|
|
|
|
2018-10-19 18:36:16 +00:00
|
|
|
sib-form {
|
2018-10-05 09:55:29 +00:00
|
|
|
// text like
|
2018-10-19 18:36:16 +00:00
|
|
|
textarea,
|
|
|
|
input:not([type='button']):not([type='checkbox']):not([type='color']):not([type='file']):not([type='hidden']):not([type='image']):not([type='radio']):not([type='range']):not([type='reset']):not([type='submit']) {
|
2018-10-05 09:55:29 +00:00
|
|
|
padding: 0.5em;
|
|
|
|
border: none;
|
|
|
|
@extend %shadow;
|
|
|
|
}
|
2018-10-19 18:36:16 +00:00
|
|
|
|
2018-10-05 09:55:29 +00:00
|
|
|
// button like
|
|
|
|
button,
|
2018-10-19 18:36:16 +00:00
|
|
|
input[type='button'],
|
|
|
|
input[type='color'],
|
|
|
|
input[type='file'],
|
|
|
|
input[type='reset'],
|
|
|
|
input[type='submit'] {
|
2018-10-31 09:38:41 +00:00
|
|
|
@extend %button;
|
2018-10-05 09:55:29 +00:00
|
|
|
}
|
|
|
|
|
2018-10-19 18:36:16 +00:00
|
|
|
input[type='reset'] {
|
2018-10-05 09:55:29 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2018-10-19 18:36:16 +00:00
|
|
|
|
|
|
|
sib-form-multiple-dropdown {
|
|
|
|
button {
|
|
|
|
appearance: none;
|
|
|
|
background-color: $color-white;
|
|
|
|
color: $color-yellow;
|
|
|
|
border: 1px solid;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
line-height: 0;
|
|
|
|
font-size: 1.5em;
|
|
|
|
padding: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 0.2em;
|
|
|
|
vertical-align: middle;
|
2018-10-22 15:03:00 +00:00
|
|
|
padding: 0 0.04em 0.08em;
|
2018-10-19 18:36:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-11-19 18:45:42 +00:00
|
|
|
|
2018-11-21 16:57:43 +00:00
|
|
|
sib-form-label-text,sib-form-dropdown{
|
2018-12-10 16:39:22 +00:00
|
|
|
//display: flex;
|
|
|
|
//flex-wrap: nowrap;
|
2018-11-19 18:45:42 +00:00
|
|
|
}
|
2018-11-21 16:57:43 +00:00
|
|
|
|
|
|
|
select{
|
|
|
|
background-color: $color-white;
|
|
|
|
border-style: none;
|
|
|
|
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15)
|
|
|
|
}
|