summaryrefslogtreecommitdiffstats
path: root/webapp/sass/routes/_shortcuts-modal.scss
blob: 854340b2cc3f96b6e256049592c45b2415d32091 (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
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
@charset 'UTF-8';

.app__body {
    .modal {
        .shortcuts-modal {
            margin-top: 50px;
            width: 1100px;

            .shortcuts-content {
                .modal-header {
                    background: transparent;
                    border: none;
                    color: inherit;
                    padding: 20px 40px 20px;

                    .close {
                        color: inherit;
                        font-size: 28px;
                        font-weight: normal;
                        right: 35px;
                        top: 35px;
                    }

                    .modal-title {
                        color: inherit;
                        font-size: 20px;

                        > div {
                            &:first-child {
                                margin-bottom: 2.5em;
                            }
                        }

                        .shortcut-line {
                            margin: 17px 0;

                            span {
                                &:first-child {
                                    margin-right: 5px;
                                }
                            }

                            .shortcut-key {
                                border-radius: 3px;
                                font-size: .9em;
                                font-weight: 500;
                                margin: 5px 0 5px 5px;
                                padding: 1px 5px;
                            }
                        }
                    }
                }
            }

            .modal-body {
                max-height: calc(100vh - 67px);
                padding: 0 40px 20px;
            }

            .section {
                > div {
                    &:first-child {
                        margin-bottom: 2.5em;
                    }
                }

                .shortcut-line {
                    margin: 17px 0;

                    span {
                        &:first-child {
                            margin-right: 5px;
                        }
                    }

                    .shortcut-key {
                        border-radius: 3px;
                        font-size: 12px;
                        font-weight: 500;
                        margin: 5px 0 5px 5px;
                        padding: 1px 5px;
                    }
                }
            }

            .section-title {
                font-size: 18px;
                margin: 1.5em 0;
            }

            .subsection {
                border-left: 2px solid;
                padding-left: 15px;
            }

            .info__label {
                margin: 35px 0 10px;
                text-align: center;
            }
        }
    }
}