aboutsummaryrefslogtreecommitdiff
path: root/atom/packages/aesthetic-ui/styles/overlays.less
blob: 32e1820ce60f38bf578a561010529e2a0d761c2a (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
@import "ui-variables";
@import "ui-mixins";

atom-panel.modal, .overlay {
  color: @text-color;
  background-color: @overlay-background-color;
  padding: @component-padding;
  border-radius: @component-border-radius;
  top: 20px;
  .ui-raised-shadow;
  padding-top: 28px;
  &:before {
    content: '';
    display: block;
    position: absolute;
    top: 2px;
    right: 2px;
    height: 18px;
    left: 2px;
    background: linear-gradient(to right, #09246B, #A4CBF6);
  }

  &.from-top, &.modal {
    transform: translateY(50vh) translateY(-50%);
  }

  atom-text-editor[mini] {
    margin-bottom: @component-padding;
  }

  .select-list ol.list-group,
  &.select-list ol.list-group {

    background-color: @inset-panel-background-color;

    position: relative;
    border-top: 1px solid @shadow-2-color;
    border-left: 1px solid @shadow-2-color;
    border-bottom: 1px solid @highlight-2-color;
    border-right: 1px solid @highlight-2-color;

    li {
      padding: @component-padding;
      border-top: 1px solid @inset-panel-border-color;
      border-left: 1px solid @inset-panel-border-color;
      border-right: 1px solid @inset-panel-border-color;
      &:last-child { border-bottom: 1px solid @inset-panel-border-color; }

      &.two-lines { padding: @component-padding/2 @component-padding; }
      &.selected {
        .key-binding { background: transparent; }
      }
      .character-match { color: currentColor; }

      .status.icon {
        float: right;
        margin-left: @component-icon-padding;
        &:before {
          margin-right: 0;
        }
      }
    }

  }
}