1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00
onion/sass/ascribe_settings.scss

194 lines
3.8 KiB
SCSS
Raw Normal View History

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);
div {
span {
color: rgba(169, 68, 66, 1);
font-size: 0.9em;
margin-right: 1em;
}
input, textarea {
color: #666;
}
}
&:hover{
border-left: 3px solid rgba(169, 68, 66, 1);
}
}
.is-fixed {
cursor: default;
div {
cursor: default;
span {
cursor: default;
}
input, div, pre, textarea {
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
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-06-23 16:02:48 +02:00
span {
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
}
div {
2015-06-29 13:41:37 +02:00
/* margin-top: 10px; */
2015-06-29 14:36:55 +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-06-29 13:41:37 +02:00
.progressbar-container, .progressbar-progress {
margin-top: 0 !important;
}
2015-06-23 16:02:48 +02:00
input, pre, textarea, select {
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;
&:focus {
border:0;
outline:0;
box-shadow: none;
}
&::selection {
color: white;
background-color: rgba(0,0,0,1);
}
}
textarea{
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);
padding: .5em 1.5em .5em 1.5em;
cursor:pointer;
/* Taken from: http://www.htmllion.com/css3-checkbox.html */
.checkbox {
display: inline-block;
cursor: pointer;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: normal;
font-size: .9em;
color: rgba(0, 0, 0, .5);
vertical-align:middle;
span {
position: relative;
top: 1px;
left: 5px;
&:hover {
color: rgba(2, 182, 163, 1);
}
}
}
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);
}
2015-06-30 10:42:58 +02:00
}