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

  span { line-height: normal; }

  div { height: auto; }

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

    &:not(.open) {
      .menu-item .menu-label { opacity: 1; }
      > .toolbar-button > button:hover { background: $theme-brand-primary; }
    }
  }

  .list-item {
    .menu-item {
      border-radius: $theme-border-radius-small;
      margin: 4px;
    }

    &.selected,
    &.selected:focus {
      background: none;

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

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