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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

82 lines
1.3 KiB
SCSS
Raw Normal View History

2018-03-17 18:26:18 +05:30
.application-theme {
2022-08-13 15:12:31 +05:30
$ui-gray-bg: #303030;
$ui-light-gray-bg: #f0f0f0;
2020-06-23 00:09:42 +05:30
$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;
}
2022-07-23 23:45:48 +05:30
&.ui-gray {
background-color: $ui-gray-bg;
2020-06-23 00:09:42 +05:30
border: solid 1px $border-color;
2018-11-08 19:23:39 +05:30
}
2022-07-23 23:45:48 +05:30
&.ui-light-gray {
background-color: $ui-light-gray-bg;
2020-06-23 00:09:42 +05:30
}
&.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%;
}
}
}
}