aboutsummaryrefslogtreecommitdiff
path: root/src_web/style/main.scss
blob: 612c2a7f56294db1701d9565b785f8102f454ad5 (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
@import '~normalize.css/normalize';
@import '~izitoast/dist/css/iziToast.min';

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


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


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


.left-panel {
    @include shadow-4dp();
    width: 400px;
    display: flex;
    flex-direction: column;
    background-color: $color-grey-100;

    .header {
        flex-shrink: 0;
        margin: 10px;
        display: flex;
        align-items: center;

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

        a {
            font-size: 24pt;
            color: $color-grey-800;

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

            &:hover {
                color: black;
            }
        }
    }

    .group {
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        margin: 10px;
        margin-bottom: 0px;
    }

    .content {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        margin: 10px;
        margin-bottom: 0px;
        align-items: stretch;
        overflow: auto;

        table.grid {
            width: 100%;

            .fixed {
                width: 50px
            }

            tbody td:last-child {
                text-align: center;
            }
        }

        & > *:not(:last-child) {
            margin-bottom: 10px;
        }
    }

    .calculate {
        flex-shrink: 0;
        margin: 10px;
        padding: 10px;
    }

    .invalid {
        background-color: rgba(red, 0.2);
    }
}


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


.right-panel {

}