Commit 1a297674 by Brian Talbot

added in fields for problems and discussions portions of CMS settings

parent 65869461
......@@ -152,6 +152,74 @@
font-size: 13px;
}
.field.ui-status {
> .input {
display: block !important;
margin-bottom: 15px;
}
.ui-status-input-checkbox, .ui-status-input-radio {
position: absolute;
top: -9999px;
left: -9999px;
}
label {
cursor: pointer;
}
.ui-status-input-checkbox ~ label, .ui-status-input-radio ~ label {
display: inline-block;
margin: 0 0 0 5px;
color: $offBlack;
opacity: 0.50;
cursor: pointer;
@include transition(opacity 0.25s ease-in-out);
&:after {
content: "(Off)";
display: inline-block;
margin-left: 10px;
}
~ .tip {
margin-top: 0;
@include transition(color 0.25s ease-in-out);
}
}
.ui-status-indic {
position: relative;
top: 2px;
display: inline-block;
height: 15px;
width: 15px;
border: 2px;
background: $offBlack;
opacity: 0.50;
@include border-radius(50px);
@include box-sizing(border-box);
@include transition(opacity 0.25s ease-in-out);
}
.ui-status-input-checkbox:checked ~ label, .ui-status-input-radio:checked ~ label {
opacity: 0.99;
&:after {
content: "(On)";
}
~ .tip {
color: $darkGrey;
}
}
.ui-status-input-checkbox:checked ~ .ui-status-indic, .ui-status-input-radio:checked ~ .ui-status-indic {
opacity: 0.99;
}
}
.tip {
color: $mediumGrey;
font-size: 13px;
......@@ -174,7 +242,6 @@
> label, .label {
display: inline-block;
vertical-align: top;
width: 200px;
}
// tips
......@@ -191,7 +258,7 @@
// structural field, not semantic fields per se
.field {
display: inline-block;
width: 400px;
width: 100%;
> input, > textarea, .input {
display: inline-block;
......@@ -248,7 +315,6 @@
.group {
float: left;
margin-right: 20px;
width: 170px;
&:nth-child(2) {
margin-right: 0;
......@@ -283,6 +349,26 @@
&.enum {
}
}
// layout - aligned label/field pairs
&.row-col2 {
> label, .label {
width: 200px;
}
.field {
width: 400px;
}
&.multi-inline {
@include clearfix;
.group {
width: 170px;
}
}
}
}
// editing controls - adding
......@@ -326,7 +412,6 @@
}
}
// specific sections
.settings-details {
......@@ -379,10 +464,23 @@
.settings-problems {
> section {
&.is-shown {
display: block;
}
}
}
.settings-discussions {
}
.settings-discussions-exceptions, .settings-problems-exceptions {
p, ul {
font-size: 15px;
}
}
// states
......@@ -391,6 +489,27 @@
@include transition(color 1s ease-in-out);
}
// extras/abbreviations
// .settings-extras {
// > header {
// cursor: pointer;
// &.active {
// }
// }
// > div {
// display: none;
// @include transition(display 0.25s ease-in-out);
// &.is-shown {
// display: block;
// }
// }
// }
// misc
.divide {
display: none;
......
......@@ -13,6 +13,7 @@ $body-line-height: golden-ratio(.875em, 1);
$pink: rgb(182,37,104);
$error-red: rgb(253, 87, 87);
$offBlack: #3c3c3c;
$blue: #5597dd;
$orange: #edbd3c;
$lightGrey: #edf1f5;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment