2016-06-17 17:37:29 +00:00
|
|
|
.preferences {
|
2016-07-21 19:07:53 +00:00
|
|
|
@extend %modal;
|
2016-06-21 03:04:41 +00:00
|
|
|
position: absolute;
|
2016-12-20 04:48:36 +00:00
|
|
|
top: #{51 / $base-font-size}rem;
|
|
|
|
right: #{29 / $base-font-size}rem;
|
|
|
|
width: #{288 / $base-font-size}rem;
|
2016-06-17 17:37:29 +00:00
|
|
|
display: none;
|
2016-12-20 04:48:36 +00:00
|
|
|
padding: #{14 / $base-font-size}rem #{20 / $base-font-size}rem #{2 / $base-font-size}rem #{20 / $base-font-size}rem ;
|
2016-06-17 18:31:33 +00:00
|
|
|
&--selected {
|
|
|
|
display: flex;
|
2016-06-20 18:58:15 +00:00
|
|
|
flex-direction: column;
|
2016-06-17 18:31:33 +00:00
|
|
|
}
|
2016-12-20 04:48:36 +00:00
|
|
|
@include themify() {
|
|
|
|
background-color: getThemifyVariable('editor-gutter-color');
|
|
|
|
}
|
|
|
|
outline: none;
|
2016-06-17 17:37:29 +00:00
|
|
|
}
|
|
|
|
|
2016-06-17 18:31:33 +00:00
|
|
|
.preferences__exit-button {
|
2016-09-13 20:42:06 +00:00
|
|
|
@include themify() {
|
|
|
|
@extend %icon;
|
|
|
|
}
|
2016-09-13 21:05:42 +00:00
|
|
|
padding-top: #{5 / $base-font-size}rem;
|
2016-12-20 04:48:36 +00:00
|
|
|
margin-right: #{-6 / $base-font-size}rem;
|
2016-06-17 17:37:29 +00:00
|
|
|
}
|
2016-06-20 16:45:15 +00:00
|
|
|
|
2016-12-20 04:48:36 +00:00
|
|
|
.preference button {
|
|
|
|
@include themify() {
|
|
|
|
@extend %preferences-button;
|
|
|
|
width: #{32 / $base-font-size}rem;
|
|
|
|
height: #{32 / $base-font-size}rem;
|
|
|
|
margin-left: #{6 / $base-font-size}rem;
|
|
|
|
line-height: #{40 / $base-font-size}rem;
|
|
|
|
& svg {
|
|
|
|
width: #{10 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
}
|
2016-06-20 18:58:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.preferences__heading {
|
|
|
|
display: flex;
|
2016-06-21 03:04:41 +00:00
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-bottom: #{20 / $base-font-size}rem;
|
2016-10-12 16:08:12 +00:00
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('heading-text-color');
|
|
|
|
}
|
2016-06-20 16:45:15 +00:00
|
|
|
}
|
2016-06-20 18:58:15 +00:00
|
|
|
|
|
|
|
.preference {
|
2016-06-21 03:04:41 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2016-08-12 18:19:23 +00:00
|
|
|
padding-bottom: #{12 / $base-font-size}rem;
|
2016-07-12 02:53:27 +00:00
|
|
|
& + & {
|
2016-09-14 17:03:51 +00:00
|
|
|
@include themify() {
|
2016-12-20 04:48:36 +00:00
|
|
|
border-top: 1px dashed getThemifyVariable('button-border-color');
|
2016-09-14 17:03:51 +00:00
|
|
|
}
|
2016-07-12 02:53:27 +00:00
|
|
|
}
|
2016-06-20 18:58:15 +00:00
|
|
|
}
|
|
|
|
|
2016-06-20 19:23:42 +00:00
|
|
|
.preference__title {
|
2016-06-21 03:04:41 +00:00
|
|
|
width: 100%;
|
2016-12-20 04:48:36 +00:00
|
|
|
font-size: #{16 / $base-font-size}rem;
|
|
|
|
margin-top: #{13 / $base-font-size}rem;
|
|
|
|
margin-bottom: #{7 / $base-font-size}rem;
|
2016-10-12 16:08:12 +00:00
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('heading-text-color');
|
|
|
|
}
|
2016-06-20 18:58:15 +00:00
|
|
|
}
|
|
|
|
|
2016-08-19 19:51:41 +00:00
|
|
|
.preference__subtitle {
|
2016-09-22 03:39:50 +00:00
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('inactive-text-color');
|
|
|
|
}
|
2016-08-19 19:51:41 +00:00
|
|
|
width: 100%;
|
|
|
|
margin-bottom: #{10 / $base-font-size}rem;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2016-06-20 18:58:15 +00:00
|
|
|
.preference__value {
|
2016-09-14 17:03:51 +00:00
|
|
|
@include themify() {
|
2016-12-20 04:48:36 +00:00
|
|
|
border: #{1 / $base-font-size}rem solid getThemifyVariable('button-border-color');
|
2016-09-14 17:03:51 +00:00
|
|
|
background-color: getThemifyVariable('button-background-color');
|
2016-09-22 03:39:50 +00:00
|
|
|
color: getThemifyVariable('input-text-color');
|
2016-09-14 17:03:51 +00:00
|
|
|
}
|
2016-06-21 03:04:41 +00:00
|
|
|
text-align: center;
|
2016-07-11 23:14:45 +00:00
|
|
|
border-radius: 0%;
|
2016-12-20 04:48:36 +00:00
|
|
|
outline: none;
|
|
|
|
width: #{44 / $base-font-size}rem;
|
|
|
|
height: #{40 / $base-font-size}rem;
|
|
|
|
margin: 0 #{26 / $base-font-size}rem;
|
2016-07-11 23:14:45 +00:00
|
|
|
padding: 0;
|
2016-12-20 04:48:36 +00:00
|
|
|
font-size: #{16 / $base-font-size}rem;
|
|
|
|
font-family: Inconsolata;
|
2016-06-20 18:58:15 +00:00
|
|
|
}
|
2016-07-11 02:52:48 +00:00
|
|
|
|
|
|
|
.preference__label {
|
2016-09-22 03:39:50 +00:00
|
|
|
@include themify() {
|
2016-10-12 16:08:12 +00:00
|
|
|
color: getThemifyVariable('inactive-text-color');
|
2016-09-22 03:39:50 +00:00
|
|
|
&:hover {
|
2016-10-12 16:08:12 +00:00
|
|
|
color: getThemifyVariable('primary-text-color');
|
2016-09-22 03:39:50 +00:00
|
|
|
}
|
|
|
|
}
|
2016-12-20 04:48:36 +00:00
|
|
|
margin: #{-15 / $base-font-size}rem 0 0 #{-5 / $base-font-size}rem;
|
2016-08-09 21:29:17 +00:00
|
|
|
font-size: #{9 / $base-font-size}rem;
|
2016-12-20 04:48:36 +00:00
|
|
|
width: #{44 / $base-font-size}rem;
|
2016-07-11 02:52:48 +00:00
|
|
|
}
|
|
|
|
|
2016-07-11 12:44:27 +00:00
|
|
|
.preference__vertical-list {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2016-12-20 04:48:36 +00:00
|
|
|
width: #{44 / $base-font-size}rem;
|
|
|
|
padding-left: #{25 / $base-font-size}rem;
|
2016-07-11 12:44:27 +00:00
|
|
|
}
|
|
|
|
|
2016-08-25 21:46:30 +00:00
|
|
|
.preference__radio-button {
|
|
|
|
@extend %hidden-element;
|
|
|
|
}
|
|
|
|
|
2016-07-11 02:52:48 +00:00
|
|
|
.preference__option {
|
2016-09-14 15:55:53 +00:00
|
|
|
@include themify() {
|
|
|
|
@extend %preference-option;
|
2016-12-20 04:48:36 +00:00
|
|
|
padding-right: #{44 / $base-font-size}rem;
|
2016-09-14 15:55:53 +00:00
|
|
|
}
|
2016-07-11 02:52:48 +00:00
|
|
|
}
|
2016-08-09 21:29:17 +00:00
|
|
|
|
2016-12-20 04:48:36 +00:00
|
|
|
.preference__option:last-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
2016-09-01 03:07:43 +00:00
|
|
|
.preference__preview-button {
|
2016-09-14 15:55:53 +00:00
|
|
|
@include themify() {
|
|
|
|
@extend %preference-option;
|
|
|
|
}
|
2016-09-01 03:07:43 +00:00
|
|
|
}
|
|
|
|
|
2016-08-09 21:29:17 +00:00
|
|
|
.preference__options {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2016-08-29 18:39:23 +00:00
|
|
|
.preference__radio-button:checked + .preference__option {
|
2016-10-12 16:08:12 +00:00
|
|
|
@include themify() {
|
2016-09-14 15:55:53 +00:00
|
|
|
//for some reason this won't work for getThemifyVariable
|
|
|
|
color: map-get($theme-map, 'primary-text-color');
|
|
|
|
}
|
2016-08-29 18:39:23 +00:00
|
|
|
}
|
|
|
|
|
2016-08-11 18:09:59 +00:00
|
|
|
.preference--hidden {
|
|
|
|
@extend %hidden-element;
|
|
|
|
}
|
2016-12-20 04:48:36 +00:00
|
|
|
|
|
|
|
.preference__option.preference__canvas:not(:last-child) {
|
|
|
|
padding-right: #{20 / $base-font-size}rem;
|
|
|
|
}
|