1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00
onion/sass/ascribe_settings.scss

225 lines
4.3 KiB
SCSS
Raw Normal View History

2015-08-31 19:04:44 +02:00
.settings-container {
2015-07-15 13:20:34 +02:00
margin: auto;
2015-08-31 19:04:44 +02:00
max-width: 600px;
2015-07-15 13:20:34 +02:00
}
2015-06-23 16:02:48 +02:00
.ascribe-settings-wrapper {
2015-07-08 14:37:20 +02:00
background-color: white;
2015-08-31 19:04:44 +02:00
border-left: 3px solid rgba(0, 0, 0, 0);
padding-bottom: 1em;
text-align: center;
width: 100%;
2015-06-23 16:02:48 +02:00
&div:last-of-type {
2015-08-31 19:04:44 +02:00
border-bottom: 1px solid rgba(0, 0, 0, .05);
2015-06-23 16:02:48 +02:00
}
2015-08-31 19:04:44 +02:00
&:hover {
border-left: 3px solid rgba(2, 182, 163, .4);
2015-06-23 16:02:48 +02:00
}
}
2015-08-31 19:04:44 +02:00
.is-hidden {
display: none;
2015-06-23 16:02:48 +02:00
}
.is-focused {
2015-08-31 19:04:44 +02:00
background-color: rgba(2, 182, 163, .05);
2015-07-08 14:37:20 +02:00
border-left: 3px solid rgba(2, 182, 163, 1) !important;
2015-06-23 16:02:48 +02:00
}
.is-error {
2015-08-31 19:04:44 +02:00
background-color: rgba(169, 68, 66, .05);
2015-06-23 16:02:48 +02:00
border-left: 3px solid rgba(169, 68, 66, 1);
2015-08-31 19:04:44 +02:00
2015-07-10 16:04:57 +02:00
> div {
> span {
2015-06-23 16:02:48 +02:00
color: rgba(169, 68, 66, 1);
2015-08-31 19:04:44 +02:00
font-size: .9em;
2015-06-23 16:02:48 +02:00
margin-right: 1em;
}
2015-08-31 19:04:44 +02:00
> input,
> textarea {
2015-06-23 16:02:48 +02:00
color: #666;
}
}
2015-08-31 19:04:44 +02:00
&:hover {
2015-06-23 16:02:48 +02:00
border-left: 3px solid rgba(169, 68, 66, 1);
}
}
.is-fixed {
cursor: default;
2015-08-31 19:04:44 +02:00
2015-07-10 16:04:57 +02:00
> div {
2015-06-23 16:02:48 +02:00
cursor: default;
2015-08-31 19:04:44 +02:00
2015-07-10 16:04:57 +02:00
> span {
2015-06-23 16:02:48 +02:00
cursor: default;
}
2015-08-31 19:04:44 +02:00
> input,
> div,
> pre,
> textarea {
2015-06-23 16:02:48 +02:00
color: #666;
2015-08-31 19:04:44 +02:00
cursor: default;
2015-06-23 16:02:48 +02:00
}
}
}
.ascribe-settings-property {
2015-08-31 19:04:44 +02:00
border-top: 1px solid rgba(0, 0, 0, .05);
cursor: pointer;
2015-06-23 16:02:48 +02:00
display: inline-block;
padding-left: 1.5em;
2015-06-29 13:41:37 +02:00
padding-right: 1.5em;
2015-08-31 19:04:44 +02:00
padding-top: 1em;
text-align: left;
width: 100%;
2015-06-23 16:02:48 +02:00
2015-08-31 19:04:44 +02:00
> div,
> input,
> pre,
> select,
> span:not(.glyphicon),
> textarea {
2015-06-23 16:02:48 +02:00
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
2015-06-29 14:36:55 +02:00
}
2015-08-31 19:04:44 +02:00
2015-07-10 16:04:57 +02:00
> span {
2015-08-31 19:04:44 +02:00
color: rgba(0, 0, 0, .5);
font-size: .9em;
2015-06-23 16:02:48 +02:00
font-weight: normal;
}
2015-07-10 16:04:57 +02:00
> div {
> div:not(.file-drag-and-drop div) {
2015-08-31 19:04:44 +02:00
color: rgba(0, 0, 0, .5);
cursor: default;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1.1em;
font-weight: normal;
padding-left: 0;
2015-06-23 16:02:48 +02:00
}
}
2015-07-10 16:04:57 +02:00
> .progressbar-container, .progressbar-progress {
2015-06-29 13:41:37 +02:00
margin-top: 0 !important;
}
2015-08-31 19:04:44 +02:00
> input,
> pre,
> textarea,
> select,
.datepicker__input {
background-color: rgba(0, 0, 0, 0);
border: 0;
box-shadow: none;
color: rgba(0, 0, 0, .8);
2015-06-23 16:02:48 +02:00
font-size: 1.1em;
2015-08-31 19:04:44 +02:00
font-weight: 400;
2015-06-23 16:02:48 +02:00
margin-top: .5em;
padding-left: 0;
2015-08-31 19:04:44 +02:00
width: 100%;
2015-06-23 16:02:48 +02:00
&:focus {
2015-08-31 19:04:44 +02:00
border: 0;
2015-06-23 16:02:48 +02:00
box-shadow: none;
2015-08-31 19:04:44 +02:00
outline: 0;
2015-06-23 16:02:48 +02:00
}
&::selection {
2015-08-31 19:04:44 +02:00
background-color: rgba(0, 0, 0, 1);
2015-06-23 16:02:48 +02:00
color: white;
}
}
2015-08-31 19:04:44 +02:00
2015-07-29 14:49:36 +02:00
.datepicker__input {
padding: 0;
}
2015-06-23 16:02:48 +02:00
2015-07-10 16:04:57 +02:00
> textarea{
2015-06-23 16:02:48 +02:00
color: #666;
margin-top: 1em;
padding: 0;
}
}
2015-06-30 10:42:58 +02:00
2015-07-09 11:56:54 +02:00
.ascribe-property-footer {
2015-08-31 19:04:44 +02:00
font-size: .8em;
2015-06-30 10:42:58 +02:00
margin-top: 10px;
width: 100%;
2015-07-09 11:56:54 +02:00
}
.ascribe-settings-property-collapsible-toggle {
2015-08-31 19:04:44 +02:00
border-top: 1px solid rgba(0, 0, 0, .05);
2015-07-09 11:56:54 +02:00
display: inline-block;
2015-08-31 19:04:44 +02:00
padding: .5em 1.5em;
text-align: left;
2015-07-09 11:56:54 +02:00
width: 100%;
}
.ascribe-checkbox-wrapper{
2015-08-31 19:04:44 +02:00
.checkbox > span {
color: black;
}
}
.ascribe-settings-property-collapsible-toggle, .ascribe-checkbox-wrapper {
2015-08-31 19:04:44 +02:00
cursor: pointer;
2015-07-09 11:56:54 +02:00
2015-08-31 19:04:44 +02:00
// Taken from: http://www.htmllion.com/css3-checkbox.html
2015-07-10 16:04:57 +02:00
.checkbox {
2015-07-09 11:56:54 +02:00
display: inline-block;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: .9em;
2015-08-31 19:04:44 +02:00
font-weight: normal;
vertical-align: middle;
2015-07-09 11:56:54 +02:00
2015-07-10 15:56:54 +02:00
> span {
2015-08-31 19:04:44 +02:00
left: 5px;
2015-07-09 11:56:54 +02:00
position: relative;
top: 1px;
2015-07-10 15:56:54 +02:00
-khtml-user-select: none;
2015-08-31 19:04:44 +02:00
-moz-user-select: none;
2015-07-10 15:56:54 +02:00
-ms-user-select: none;
2015-08-31 19:04:44 +02:00
-webkit-user-select: none;
2015-07-09 11:56:54 +02:00
}
}
2015-08-31 19:04:44 +02:00
[type=checkbox] {
display: none;
2015-07-09 11:56:54 +02:00
}
.checkbox:before {
2015-08-31 19:04:44 +02:00
background-color: white;
border: 1px solid rgba(0, 0, 0, .5);
border-radius: 1px;
color: #f3f3f3;
2015-07-09 11:56:54 +02:00
content: "";
display: inline-block;
height: 17px;
text-align: center;
2015-08-31 19:04:44 +02:00
vertical-align: middle;
width: 17px;
2015-07-09 11:56:54 +02:00
}
2015-08-31 19:04:44 +02:00
[type=checkbox]:checked + .checkbox:before {
color: rgba(2, 182, 163, 1);
2015-07-09 11:56:54 +02:00
content: "\2713";
font-size: 20px;
2015-08-31 19:04:44 +02:00
line-height: .8;
2015-07-09 11:56:54 +02:00
}
}
2015-08-31 19:04:44 +02:00
.ascribe-checkbox-badge {
> span > span {
margin-top: 0;
}
2015-08-31 19:04:44 +02:00
}