debian-mirror-gitlab/app/assets/stylesheets/pages/profiles/preferences.scss
2018-11-08 19:23:39 +05:30

92 lines
1.4 KiB
SCSS

.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 {
margin: 0 $gl-padding-32 $gl-padding 0;
text-align: center;
}
.preview {
font-size: 0;
height: 48px;
border-radius: 4px;
min-width: 112px;
margin-bottom: $gl-padding-8;
&.ui-indigo {
background-color: $indigo-900;
}
&.ui-light-indigo {
background-color: $indigo-700;
}
&.ui-blue {
background-color: $theme-blue-900;
}
&.ui-light-blue {
background-color: $theme-light-blue-700;
}
&.ui-green {
background-color: $theme-green-900;
}
&.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 {
background-color: $theme-gray-900;
}
&.ui-light {
background-color: $theme-gray-200;
}
}
.preview-row {
display: block;
}
}
.syntax-theme {
label {
margin-right: $gl-padding-32;
margin-bottom: $gl-padding;
text-align: center;
.preview {
margin-bottom: 10px;
width: 160px;
img {
border-radius: 4px;
max-width: 100%;
}
}
}
}