Commit 7b1eb2a6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'update-nav-theme-previews' into 'master'

Harmonize theme preferences previews

See merge request gitlab-org/gitlab-ce!19916
parents f733d4f8 d7faa41f
...@@ -244,10 +244,11 @@ $tooltip-font-size: 12px; ...@@ -244,10 +244,11 @@ $tooltip-font-size: 12px;
/* /*
* Padding * Padding
*/ */
$gl-padding-24: 24px;
$gl-padding: 16px;
$gl-padding-8: 8px;
$gl-padding-4: 4px; $gl-padding-4: 4px;
$gl-padding-8: 8px;
$gl-padding: 16px;
$gl-padding-24: 24px;
$gl-padding-32: 32px;
$gl-col-padding: 15px; $gl-col-padding: 15px;
$gl-input-padding: 10px; $gl-input-padding: 10px;
$gl-vert-padding: 6px; $gl-vert-padding: 6px;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
.application-theme { .application-theme {
label { label {
margin: 0 $gl-padding $gl-padding 0; margin: 0 $gl-padding-32 $gl-padding 0;
text-align: center; text-align: center;
} }
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
font-size: 0; font-size: 0;
height: 48px; height: 48px;
border-radius: 4px; border-radius: 4px;
min-width: 135px; min-width: 112px;
margin-bottom: $gl-padding-8; margin-bottom: $gl-padding-8;
&.ui-indigo { &.ui-indigo {
...@@ -75,7 +75,8 @@ ...@@ -75,7 +75,8 @@
.syntax-theme { .syntax-theme {
label { label {
margin-right: 20px; margin-right: $gl-padding-32;
margin-bottom: $gl-padding;
text-align: center; text-align: center;
.preview { .preview {
...@@ -84,7 +85,6 @@ ...@@ -84,7 +85,6 @@
img { img {
border-radius: 4px; border-radius: 4px;
max-width: 100%; max-width: 100%;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment