aboutsummaryrefslogtreecommitdiff
path: root/frontend/styles/main.sass
blob: 7fa6963c665d95fac2229c59c1f7718dc3050507 (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
@use 'colors'
@use 'form'
@use 'leaflet'

// libs
@use 'lib/icons'

// UI
@use 'ui/modal'
@use 'ui/layout'

// Pages
@use 'pages/login'
@use 'pages/map'
@use 'pages/maps'

/* General */

html
    box-sizing: border-box
    height: 100%

*, *:before, *:after
    box-sizing: inherit

body
    margin: 0
    font-family: sans-serif
    font-size: 1.05rem
    height: 100%
    display: flex
    flex-flow: column

main
    flex-grow: 1
    min-height: 0

header
    display: flex
    justify-content: space-between
    width: 100%
    background-color: colors.$brown
    color: white
    line-height: 3rem

    & > a
        color: inherit
        padding: 0 1rem

.g-Logout__Button
    border: none
    background: transparent
    font-size: inherit
    color: white
    cursor: pointer
    padding: 0 1rem
    height: 100%

    &:hover
        text-decoration: underline

a
    color: colors.$blue
    text-decoration: none

    &:hover
        text-decoration: underline

p
    margin: 0 0 1rem
    line-height: 1.4rem