aboutsummaryrefslogtreecommitdiffstats
path: root/src/static/css/base.css
blob: b6ab104e6bdd98993502548cbe38b60c6b509c89 (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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/* Sizing */
#wrapper {
    height: 100vh;
}

/* Used for turning divs into square */
.square-20 {
    height: 20px;
    width: 20px;
}

/* Make links stay the same color with no underline */
.discrete-a {
    text-decoration: none;
    color: inherit;
}

.discrete-a:hover {
    text-decoration: none;
    color: inherit;
}

/* Make sure pre elements wrap to not break box sizing */
/* Note: the pre element or parent may need to use the text-break class as well */
.pre-wrap {
    white-space: pre-wrap;
}

/* Allow for sidebar to be small, but also resize on small screens */
.sidebar {
    min-width: 200px;
}

/* Rotating arrows when dropdown happens */
i.fas.rotate {
    transition: transform 0.3s ease-in-out;
}

a[aria-expanded="true"] > i.rotate {
    transform: rotate(180deg);
}
/* End rotating arrows */

/* Start breadcrumbs for workflow */
#topPagination .topcrumb {
    flex: 1 1 0;
    display: flex;
    align-content: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    border-left: none;
}

.topcrumb > span {
    color: #343a40;
    cursor: default;
}

.topcrumb.active > span {
    background: #007bff;
    color: white;
}

.topcrumb.disabled > span {
    color: #6c757d;
    background: #f8f9fa;
}

/* Booking Node Styles */
.selected_node {
    border-color: #40c640;
    border-width: 2px;
    box-shadow: 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(109, 243, 76, 0.6);
    transition: border-color ease-in-out .1s,box-shadow ease-in-out .1s;
}

.invalid_field {
    border-color: #c65040;
    box-shadow: 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(243, 76, 76, 0.6);
    transition: border-color ease-in-out .1s,box-shadow ease-in-out .1s;
}

/* Cursor effects */
.not-allowed {
    cursor: not-allowed;
}

.z-n1 {
    z-index: -1 !important;
}

.z-0 {
    z-index: 0 !important;
}

.z-1 {
z-index: 1 !important;
}

.z-2 {
    z-index: 2 !important;
}
.z-3 {
    z-index: 3 !important;
}

.mh-30vh {
    max-height: 30vh;
}

.overflow-ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Design a pod Styles */
.scroll-container {
    position: absolute !important; /* Needed for proper functionality*/
    overflow: auto;
    scroll-snap-type: y proximity;
}

.scroll-area {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
}

.add-button {
    font-size: 3em;
    font-weight: bolder;
    text-align: center;
    height: 2em;
    width: 2em;
    margin-left: auto;
    margin-right: auto;
}

.cancel-book-button {
    font-size: 1em;
    font-weight: bolder;
    text-align: center;
    height: 2em;
    width: 10em;
}

.input-search:focus {
    border-color: none !important;
    box-shadow: none !important;
}

.arrow {
    box-sizing: border-box;
    height: 2vw;
    width: 2vw;
    border-style: solid;
    border-color: black;
    border-width: 0px 3px 3px 0px;
    transition: border-width 150ms ease-in-out;
    box-shadow: 0, 0, 100px, 100px, black;
}

.arrow-down {
    transform: rotate(45deg);
}

.arrow-up {
    transform: rotate(225deg);
}

#next {
    position: fixed !important;
    bottom: 0;
    left: 0;
    background-color: white;
    align-items: center;
    justify-content: center;
    z-index: 2 !important;
}

#prev {
    position: fixed !important;
    left: 0;
    background-color: white;
    align-items: center;
    justify-content: center;
    z-index: 2 !important;
}

#next:hover,#next:active {
    background-color: #d4d4d4;
}

#prev:hover,#prev:active {
    background-color: #d4d4d4;
}

.btn-workflow-nav {
    box-shadow: none !important;
}

.interface-btn {
    color: inherit;
}

.card-body-scroll {
    height: 25vh;
    overflow-y: auto;
}

.overflow-control {
    overflow-y: auto;
    overflow-x: hidden;
}