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

93 lines
1.4 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 {
label {
2018-11-08 19:23:39 +05:30
margin: 0 $gl-padding-32 $gl-padding 0;
2018-03-17 18:26:18 +05:30
text-align: center;
}
.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 {
2019-03-02 22:35:43 +05:30
background-color: $gray-900;
2018-11-08 19:23:39 +05:30
}
&.ui-light {
2019-03-02 22:35:43 +05:30
background-color: $gray-200;
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%;
}
}
}
}