aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut/scss/main.scss
blob: c7f15f9f974915a56711ef887ce037c10257e722 (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
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
@import "base";

html, body {
  height: 100%;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.header-tabbed {
  margin-bottom: 0;

  h2 {
    line-height: 1;
  }
}

.nav.flex-column {
  .nav-link {
    padding: 0.1rem 15px 0.1rem 30px;

    &:hover, &.active {
      background: #ddd;
    }
  }

  .nav.flex-column {
    margin-left: 1rem;
  }
}

.mailbox-container, .message-container {
  padding: 0;
  flex-grow: 1;
  display: flex;

  & > .row {
    flex-grow: 1;
  }
}

.mailboxes-column {
  border-right: 3px #ddd solid;
  padding: 0;
}

.messages-column {
  padding: 0;

  .nav.flex-column .nav-link {
    padding: 0.1rem 15px 0.1rem 15px;
  }

  .date {
    min-width: 11rem;
    display: inline-block;
    text-align: right;
  }

  .from {
    min-width: 12rem;
    display: inline-block;
  }
}

.body-column {
  border-right: 3px #ddd solid;

  pre {
    background: transparent;
    max-width: 972px; // HACK
    overflow-x: auto;
    margin-bottom: 0;
  }
}

.parts-column {
  padding-left: 0;

  .nav.flex-column .nav-link {
    padding: 0.1rem 15px 0.1rem 15px;
  }
}

.text-normal {
  color: $black;
}

.message-tabs {
  padding: 0;
}