171 lines
4.0 KiB
SCSS
171 lines
4.0 KiB
SCSS
.admin-contrib {
|
|
form {
|
|
margin: 1rem 0;
|
|
max-width: 700px;
|
|
width: 100%;
|
|
}
|
|
fieldset {
|
|
margin-bottom: 1rem;
|
|
}
|
|
.contrib-input {
|
|
flex: 1;
|
|
}
|
|
.contrib-test {
|
|
align-items: flex-end;
|
|
display: flex;
|
|
flex-basis: 7.5rem;
|
|
margin-left: .5rem;
|
|
text-align: center;
|
|
a {
|
|
padding: .6rem 2.5rem;
|
|
}
|
|
}
|
|
label {
|
|
@extend %title;
|
|
display: block;
|
|
margin-bottom: .2rem;
|
|
}
|
|
.contrib-form-wrapper {
|
|
display: flex;
|
|
}
|
|
.submit-button {
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
.select-input-text {
|
|
.field-with-option {
|
|
display: flex;
|
|
}
|
|
.option-wrapper {
|
|
align-items: center;
|
|
border: 1px solid $gray-light;
|
|
border-left: 0;
|
|
border-radius: 0 5px 5px 0;
|
|
cursor: pointer;
|
|
display: flex;
|
|
padding: 0 1rem;
|
|
}
|
|
.help-copy {
|
|
@extend %small;
|
|
opacity: 0;
|
|
&.visible {
|
|
opacity: 1;
|
|
transition: opacity .2s linear;
|
|
}
|
|
}
|
|
}
|
|
.check {
|
|
background-color: darken($whitish, 10%);
|
|
border-radius: 2px;
|
|
cursor: pointer;
|
|
height: 1.5rem;
|
|
overflow: hidden;
|
|
position: relative;
|
|
width: 65px;
|
|
input {
|
|
cursor: pointer;
|
|
height: 500px;
|
|
left: -10px;
|
|
opacity: 0;
|
|
position: absolute;
|
|
top: -10px;
|
|
width: 500px;
|
|
z-index: 999;
|
|
+ div {
|
|
background-color: $gray;
|
|
height: 25px;
|
|
transition: all .2s linear;
|
|
width: 50%;
|
|
}
|
|
~ .check-text {
|
|
//@include transition(opacity .3s linear);
|
|
@extend %small;
|
|
color: $white;
|
|
position: absolute;
|
|
top: .1rem;
|
|
}
|
|
~ .check-yes {
|
|
opacity: 0;
|
|
right: .5rem;
|
|
}
|
|
~ .check-no {
|
|
left: .5rem;
|
|
opacity: .6;
|
|
}
|
|
}
|
|
input:checked {
|
|
+ div {
|
|
background-color: $fresh-taiga;
|
|
margin-left: 50%;
|
|
transition: all .2s linear;
|
|
}
|
|
~ .check-yes {
|
|
opacity: .6;
|
|
right: .4rem;
|
|
}
|
|
~ .check-no {
|
|
left: .4rem;
|
|
opacity: 0;
|
|
}
|
|
}
|
|
input:disabled {
|
|
cursor: auto;
|
|
+ div {
|
|
background-color: $gray-light;
|
|
}
|
|
}
|
|
}
|
|
.check-item {
|
|
align-items: center;
|
|
border-bottom: 1px solid $whitish;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 2rem;
|
|
&:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
}
|
|
.help {
|
|
margin-top: 2rem;
|
|
h3 {
|
|
font-family: opensans-semibold;
|
|
margin-bottom: 1rem;
|
|
}
|
|
ol {
|
|
padding: 0 0 0 2rem;
|
|
span {
|
|
font-family: opensans-semibold;
|
|
}
|
|
}
|
|
.img {
|
|
margin-bottom: 1rem;
|
|
}
|
|
.alt-image {
|
|
@extend %small;
|
|
font-style: italic;
|
|
}
|
|
code {
|
|
@extend %small;
|
|
background: $whitish;
|
|
direction: ltr;
|
|
display: block;
|
|
font-family: 'courier new', 'monospace';
|
|
line-height: 1.4rem;
|
|
margin-bottom: 1rem;
|
|
padding: .5rem;
|
|
unicode-bidi: embed;
|
|
white-space: pre;
|
|
width: 100%;
|
|
}
|
|
.code-info {
|
|
padding-left: 1rem;
|
|
li {
|
|
margin-bottom: .5rem;
|
|
}
|
|
span {
|
|
font-family: opensans-semibold;
|
|
}
|
|
}
|
|
}
|
|
}
|