aboutsummaryrefslogtreecommitdiff
path: root/assets/css/app.scss
blob: 5258d6b9d7b18c27b5745583e46afe8b6a82b197 (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/* This file is for your main application css. */

@import "./milligram.css";

:root {
  --color-1: #df7861;
  --color-2: #ecb390;
  --color-3: #ecdfc8;
  --color-4: #fcf8e8;
  --color-5: #ffffff;
}

body {
  color: #222;
  background-color: var(--color-3);
}

.button-large {
  font-size: 1.4rem;
  height: 4.5rem;
  line-height: 4.5rem;
  padding: 0 2rem;
}

/* Fix milligram */
.button-colored {
  background-color: var(--color-1);
  border-color: var(--color-1);

  &.button-milligram-solid[disabled] {
    background-color: var(--color-1);
    border-color: var(--color-1);
    opacity: 1;
  }
  &.button-clear, &.button-outline {
    background-color: transparent;
    color: var(--color-1);
  }
  &.button-clear {
    &[disabled]:hover {
      color: var(--color-1);
    }
    border-color: transparent;
  }
}

.container {
  margin: 0 auto;
  max-width: 90.0rem;
  padding: 0 1.0rem;
  position: relative;
  width: 100%;
}

.parties {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-radius: 5px;
  background-color: var(--color-4);
}
.party-peek {
  flex: 0 0 50%;
  text-align: center;
  padding: 16px 40px 12px 40px;
}
.party-peek figure {
  margin: 0;
}

.avatar {
  border-radius: 50%;
}
.avatar--big {
  max-height: 140px;
}
.avatar--tiny {
  max-height: 42px;
}

.row {
  margin-top: 4px;
  display: flex;
  flex-direction: row; /* Milligram only does this in mid-big screens */
}
.row--padded {
  margin-top: 10px;
}
.row-center {
  justify-content: center
}
.row-left {
  flex-direction: row;
}
.row-right {
  flex-direction: row-reverse;
}

.middle-box {
  background-color: var(--color-1);
  color: white;
  padding: 4px 12px 4px 12px;
  border-radius: 12px;
  box-shadow: 1px 1px 2px grey;
}

.white-box {
  background-color: white;
  border-radius: 5px;
  box-shadow: 1px 1px 2px grey;
}

/* Message box */
.message {
  padding: 0px !important;
  margin: 0 10px 0 10px;
  max-width: 65%;
  background-color: var(--color-5);
}

.message-photo {
  border-radius: 5px 5px 0 0;
  max-height: 600px;
}

.message-box {
  padding: 0 10px 0 10px;
  margin-top: 5px;
  overflow-wrap: break-word;
}

.message-date {
  text-align: right;
  color: grey;
  font-size: 12px;
}