summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/profiles/preferences.scss
blob: babe81cb0f7aef4373a09deb2cf13dccc2ca4766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
.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 $gl-padding 0;
    text-align: center;
  }

  .preview {
    font-size: 0;
    height: 48px;
    border-radius: 4px;
    min-width: 135px;
    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: 20px;
    text-align: center;

    .preview {
      margin-bottom: 10px;
      width: 160px;

      img {
        border-radius: 4px;

        max-width: 100%;
      }
    }
  }
}