summaryrefslogtreecommitdiff
path: root/styles/websites/mail.proton.css
blob: fabac7a478d3d0780c24a459e94787ec1ddb793d (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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
@import url("../global/base.css");

.spotlight,
.overlay,
.tooltip,
.dropdown {
  background: var(--transparent-background-darker) !important;
  backdrop-filter: var(--backdrop-blur) !important;
  color: var(--color-text) !important;
}

.toolbar {
  background: none !important;
}

.navigation-list {
  .navigation-item {
    .navigation-link {
      svg.navigation-icon {
        color: inherit;
      }
    }
  }
}

.items-column-list {
  background: none !important;
}

.item-container,
.dropdown-item:has(> button) {
  position: relative;

  &.unread {
    background: var(--transparent-background) !important;

    &::before {
      content: "";
      display: block;
      background: var(--color-secondary) !important;
      width: 4px;
      height: 100%;
      position: absolute;
      left: 0;
      top: 0;
    }
  }

  &.read {
    background: none !important;
  }

  &.item-is-selected {
    background: var(--transparent-background-darker) !important;
  }

  &:hover {
    box-shadow: none;
    background: var(--transparent-background-dark) !important;

    &::before {
      content: "";
      display: block;
      background: var(--color-primary) !important;
      width: 4px;
      height: 100%;
      position: absolute;
      left: 0;
      top: 0;
    }
  }
}

.label-stack {
  .label-stack-item {
    background-color: var(--label-bg, var(--color-bg)) !important;

    &:hover {
      background-color: var(--label-bg-hover, var(--color-bg)) !important;
    }
  }
}

.message-container {
  background: none !important;

  .message-header,
  .message-content {
    background: var(--transparent-background) !important;
  }
}

.composer {
  .composer-title-bar {
    background: var(--transparent-background-darker) !important;
    backdrop-filter: var(--backdrop-blur) !important;
  }

  .composer-container {
    background: var(--color-bg) !important;

    .editor-wrapper {
      border: 1px solid rgb(from var(--color-text) r g b / 0.25) !important;
    }
  }
}