aboutsummaryrefslogtreecommitdiff
path: root/src_web/style/main.scss
blob: 21a6c79a927a2b52cfb4116aec4919fb2b7dbcc1 (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
@import '~normalize.css/normalize';

@import './fonts/fontawesome';
@import './fonts/roboto';
@import './color';


html, body {
    font-size: 10pt;
    font-family: 'Roboto';
    height: 100%;
    margin: 0px;
}


.window {
    height: 100%;
    display: flex;
}


.left-panel {
    width: 300px;
    display: flex;
    flex-direction: column;
    background-color: $color-grey-100;

    & > * {
        display: flex;
        flex-direction: column;
        margin: 10px;
        margin-bottom: 0px;
        flex-shrink: 0;
    }

    .header {
        margin-bottom: 10px;
        color: $color-grey-800;
        flex-direction: row;
        align-items: center;

        .title {
            flex-grow: 1;
            font-size: 18pt;
            font-weight: 500;
        }

        a {
            font-size: 24pt;

            &:visited {
                color: $color-grey-800;
            }

            &:hover {
                color: black;
            }
        }
    }

    .list {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        flex-shrink: 1;

        & > * {
            flex-shrink: 0;
        }

        .content {
            flex-grow: 1;
            flex-shrink: 1;
            overflow: auto;
        }

        .add {
            align-self: flex-end;
        }
    }

    .submit {
        margin: 10px;
        padding: 10px;
    }
}


.center-panel {
    flex-grow: 1;
}


.right-panel {

}