summaryrefslogtreecommitdiff
path: root/css/codeq.css
blob: 7172ef8029c5391bd29d698ea7a81a730b67dc99 (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
body {
    padding-top: 50px;
}


#title {
    color: whitesmoke;
}


.block {
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 0;
    min-height: 4em;
}

.block-label {
    color: grey;
    position: absolute;
    z-index: 60;
    opacity: .7;
    right: 1em;
    bottom: 0.25em;
    margin: 0;
    width: 150px;
    text-transform: uppercase;
    font-size: large;
    text-align: right;
}

/* block-toolbar */

#block-toolbar {
    position: absolute;
    width:100%;
    margin-bottom: 0px;
    border: 0;
}

/***** responsiveness *****/
/* lg */
@media (min-width: 1200px) {
    html, body, #gui, #block-row {
        height: 100%;
    }

    .block {
        overflow: auto;
        min-height: 100%; height: 100%;
    }
}

/* md */
@media (min-width: 992px) and (max-width: 1199px) {
    html, body, #gui, #block-row {
        height: 100%;
    }

    .block {
        overflow: auto;
        min-height: 50%; height: 50%;
    }
}

/* sm */
@media (min-width: 768px) and (max-width: 991px) {
}

/* xs */
@media (max-width: 767px) {
}


/***** blocks *****/
/* description */
#description {
    padding: 0.5em;
}

/* info */
#info {
    padding: 0.5em;
}

/* code_editor */
#code_editor {
    min-height: 100%;
    height: 100%;
    padding-top: 50px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
}

/* console */
#console {
    background: black;
    font-size: 14px;
    height: 100%;
    overflow-y: auto;
    padding: 0;
}

/* codeq hints */

/* the highlighted part of the text, used in pop-up and drop-down hints */
.editor-mark {
    background-color: #e7c3c3;
}

/* the pop-up window, it is already absolutely positioned and its and positioning properties controlled from CodeMirror */
.editor-popup {
    background: #245269;
    color: #e7c3c3;
    border: 1px solid black;
}


/***** helpers *****/
/* webkit-scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}