debian-mirror-gitlab/app/assets/stylesheets/pages/profiles/preferences.scss

98 lines
1.5 KiB
SCSS
Raw Normal View History

2018-03-17 18:26:18 +05:30
.multi-file-editor-options {
label {
margin-right: 20px;
text-align: center;
}
.preview {
font-size: 0;
img {
border: 1px solid $border-color-settings;
border-radius: 4px;
}
}
}
.application-theme {
2020-06-23 00:09:42 +05:30
$ui-dark-bg: #2e2e2e;
$ui-light-bg: #dfdfdf;
$ui-dark-mode-bg: #1f1f1f;
2018-03-17 18:26:18 +05:30
.preview {
font-size: 0;
2018-11-08 19:23:39 +05:30
height: 48px;
border-radius: 4px;
min-width: 112px;
margin-bottom: $gl-padding-8;
&.ui-indigo {
background-color: $indigo-900;
}
2018-03-17 18:26:18 +05:30
2018-11-08 19:23:39 +05:30
&.ui-light-indigo {
background-color: $indigo-700;
2018-03-17 18:26:18 +05:30
}
2018-11-08 19:23:39 +05:30
&.ui-blue {
background-color: $theme-blue-900;
2018-03-17 18:26:18 +05:30
}
2018-11-08 19:23:39 +05:30
&.ui-light-blue {
background-color: $theme-light-blue-700;
2018-03-17 18:26:18 +05:30
}
2018-11-08 19:23:39 +05:30
&.ui-green {
background-color: $theme-green-900;
2018-03-17 18:26:18 +05:30
}
2018-11-08 19:23:39 +05:30
&.ui-light-green {
background-color: $theme-light-green-700;
}
&.ui-red {
background-color: $theme-red-900;
}
&.ui-light-red {
background-color: $theme-light-red-700;
}
&.ui-dark {
2020-06-23 00:09:42 +05:30
background-color: $ui-dark-bg;
border: solid 1px $border-color;
2018-11-08 19:23:39 +05:30
}
&.ui-light {
2020-06-23 00:09:42 +05:30
background-color: $ui-light-bg;
}
&.gl-dark {
background-color: $ui-dark-mode-bg;
border: solid 1px $border-color;
2018-03-17 18:26:18 +05:30
}
}
.preview-row {
display: block;
}
}
2015-09-11 14:41:01 +05:30
.syntax-theme {
label {
2018-11-08 19:23:39 +05:30
margin-right: $gl-padding-32;
margin-bottom: $gl-padding;
2015-09-11 14:41:01 +05:30
text-align: center;
.preview {
margin-bottom: 10px;
width: 160px;
img {
2016-11-03 12:29:30 +05:30
border-radius: 4px;
2015-09-11 14:41:01 +05:30
max-width: 100%;
}
}
}
}