Commit 1a297674 by Brian Talbot

added in fields for problems and discussions portions of CMS settings

parent 65869461
...@@ -152,6 +152,74 @@ ...@@ -152,6 +152,74 @@
font-size: 13px; 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 { .tip {
color: $mediumGrey; color: $mediumGrey;
font-size: 13px; font-size: 13px;
...@@ -174,7 +242,6 @@ ...@@ -174,7 +242,6 @@
> label, .label { > label, .label {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
width: 200px;
} }
// tips // tips
...@@ -191,7 +258,7 @@ ...@@ -191,7 +258,7 @@
// structural field, not semantic fields per se // structural field, not semantic fields per se
.field { .field {
display: inline-block; display: inline-block;
width: 400px; width: 100%;
> input, > textarea, .input { > input, > textarea, .input {
display: inline-block; display: inline-block;
...@@ -248,7 +315,6 @@ ...@@ -248,7 +315,6 @@
.group { .group {
float: left; float: left;
margin-right: 20px; margin-right: 20px;
width: 170px;
&:nth-child(2) { &:nth-child(2) {
margin-right: 0; margin-right: 0;
...@@ -283,6 +349,26 @@ ...@@ -283,6 +349,26 @@
&.enum { &.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 // editing controls - adding
...@@ -326,7 +412,6 @@ ...@@ -326,7 +412,6 @@
} }
} }
// specific sections // specific sections
.settings-details { .settings-details {
...@@ -379,10 +464,23 @@ ...@@ -379,10 +464,23 @@
.settings-problems { .settings-problems {
> section {
&.is-shown {
display: block;
}
}
} }
.settings-discussions { .settings-discussions {
}
.settings-discussions-exceptions, .settings-problems-exceptions {
p, ul {
font-size: 15px;
}
} }
// states // states
...@@ -391,6 +489,27 @@ ...@@ -391,6 +489,27 @@
@include transition(color 1s ease-in-out); @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 // misc
.divide { .divide {
display: none; display: none;
......
...@@ -13,6 +13,7 @@ $body-line-height: golden-ratio(.875em, 1); ...@@ -13,6 +13,7 @@ $body-line-height: golden-ratio(.875em, 1);
$pink: rgb(182,37,104); $pink: rgb(182,37,104);
$error-red: rgb(253, 87, 87); $error-red: rgb(253, 87, 87);
$offBlack: #3c3c3c;
$blue: #5597dd; $blue: #5597dd;
$orange: #edbd3c; $orange: #edbd3c;
$lightGrey: #edf1f5; $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