aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/stylesheets/scss/courseware/toolbar.scss
blob: 0670486c91a358091291574febad6f62d87c84ba (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
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
.cw-toolbar {
    z-index: 30;
    display: flex;
    position: fixed;
    top: 0;
    flex-direction: row;
    justify-content: flex-end;
    right: 0;
    margin-left: 4px;
    height: 600px;

    .cw-toolbar-tools {
        width: 270px;
        min-height: 100%;
        border: solid thin var(--content-color-40);
        background-color: var(--white);
        overflow: hidden;
        position: relative;
        padding: 0 4px;
        top: 0;
        right: -270px;
        transition: right 0.6s;
        &.hd {
            width: 480px;
            right: -480px;
        }
        &.wqhd {
            width: 558px;
            right: -558px;
        }
        &.unfold {
            right: 0;
        }

        .cw-toolbar-tool-content {
            overflow-y: auto;
            padding-right: 8px;
        }

        .cw-toolbar-blocks {
            .input-group.files-search {
                &.search {
                    border: thin solid var(--dark-gray-color-30);
                    margin-bottom: 0px;
                    input {
                        border: none;
                    }
                }
    
                .input-group-append {
                    .button {
                        border: none;
                        border-left: thin solid var(--dark-gray-color-30);
                        &.active {
                            background-color: var(--base-color);
                        }
                    }
                    .reset-search {
                        border: none;
                        background-color: var(--white);
                    }
                }
    
                .active-filter {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    border: solid thin var(--black);
                    background-color: var(--content-color-10);
                    margin: 3px;
                    padding: 2px 3px;
    
                    .removefilter {
                        border: none;
                        background-color: transparent;
                    }
                }
            }
    
            .cw-block-search {
                width: inherit;
            }
    
            .filterpanel {
                margin-bottom: 5px;
                padding: 2px;
                border: thin solid var(--dark-gray-color-30);
                border-top: none;
                background-color: #fff;
    
                .button {
                    min-width: inherit;
                    margin: 4px 2px;
    
                    &.button-active {
                        background-color: var(--base-color);
                        color: var(--white);
                    }
                }
            }

        }

        .cw-toolbar-clipboard {
            .cw-collapsible {
                margin-bottom: 4px;
            }
        }
    }
    .cw-toolbar-folded-wrapper {
        display: flex;
        flex-direction: column;
    }
    .cw-toolbar-button-wrapper {
        position: sticky;
        top: 0;
        background-color: var(--white);
        border-bottom: solid thin var(--content-color-40);
        display: flex;
        z-index: 31;
        margin: 0 0 8px -4px;
        width: calc(100% + 8px);
    }
    .cw-toolbar-button {
        height: 44px;
        margin: 0 4px 0 4px;
        padding: 2px 8px 0 8px;
        border: none;
        background-color: var(--white);
        background-repeat: no-repeat;
        background-position: center center;
        cursor: pointer;
        border-bottom: solid 2px transparent;

        &.cw-toolbar-button-toggle {
            text-align: end;
            flex-grow: 1;
        }

        &.active {
            border-bottom: solid 2px var(--base-color);
        }
    }
    .cw-toolbar-spacer-right {
        z-index: 39;
        flex-shrink: 0;
        position: relative;
        background-color: var(--white);
        width: 15px;
        height: calc(100% + 2px);
    }

    .cw-toolbar-tools.hd {
        .cw-toolbar-button-wrapper {
            .cw-toolbar-button {
                min-width: 110px;
                padding: 2px 16px 0 16px;
                &.cw-toolbar-button-toggle {
                    text-align: end;
                }
            }
        }
    }
}
#contents-courseware-courseware,
#course-courseware-courseware {
    #content-wrapper {
        overflow-x: hidden;
    }
}