aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/title-bar.scss
blob: 5316f35b3c66a30bf521587aea13c0d8375ccae8 (plain) (blame)
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
#electron-app-title-bar {
  background: $theme-gray-lightest;
  border-bottom: 0;
  box-shadow: 0px 0 8px rgba(#000, 0.1);

  span {
    line-height: normal;
  }

  div {
    height: auto;
  }

  .toolbar-dropdown {
    &.open {
      box-shadow: 0px 0 8px rgba(#000, 0.1);
    }

    &:not(.open) {
      .menu-item .menu-label {
        opacity: 1;
      }

      &>.toolbar-button > button:hover {
        background: $theme-brand-primary;
      }
    }
  }

  .list-item {
    .menu-item {
      margin: 4px;
      border-radius: $theme-border-radius-small;
    }
    &.selected, &.selected:focus {
      background: none;

      .menu-item {
        background: $theme-brand-primary;
      }
    }
  }

  .menu-pane {
    box-shadow: 0px 0 10px rgba(#000, 0.5);
    border-bottom-left-radius: $theme-border-radius-small;
    border-bottom-right-radius: $theme-border-radius-small;
  }
}