onion/sass/ascribe_settings.scss

212 lines
4.3 KiB
SCSS
Raw Normal View History

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