forked from acl-org/acl-anthology
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.scss
112 lines (98 loc) · 2.75 KB
/
main.scss
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
$enable-gradients: true;
$blue: #446E9B;
$red: #d9534f;
$orange: #f47c3c;
$green: #93C54B;
$cyan: #29ABE0;
$secondary: #dee2e6;
$yiq-contrasted-threshold: 200;
/* Required Bootstrap components */
@import 'vendor/bootstrap/scss/functions';
@import 'vendor/bootstrap/scss/variables';
@import 'vendor/bootstrap/scss/mixins';
$attachment_color: darken( $green, 10% );
$theme-colors: map-merge(
$theme-colors,
(
"attachment": $attachment_color
)
);
/* Optional Bootstrap components -- we only include those we need */
@import 'vendor/bootstrap/scss/root';
@import 'vendor/bootstrap/scss/reboot';
@import 'vendor/bootstrap/scss/type';
@import 'vendor/bootstrap/scss/images';
@import 'vendor/bootstrap/scss/code';
@import 'vendor/bootstrap/scss/grid';
@import 'vendor/bootstrap/scss/tables';
@import 'vendor/bootstrap/scss/forms';
@import 'vendor/bootstrap/scss/buttons';
@import 'vendor/bootstrap/scss/transitions';
// @import 'vendor/bootstrap/scss/dropdown';
// @import 'vendor/bootstrap/scss/button-group';
// @import 'vendor/bootstrap/scss/input-group';
// @import 'vendor/bootstrap/scss/custom-forms';
@import 'vendor/bootstrap/scss/nav';
@import 'vendor/bootstrap/scss/navbar';
@import 'vendor/bootstrap/scss/card';
// @import 'vendor/bootstrap/scss/breadcrumb';
@import 'vendor/bootstrap/scss/pagination';
@import 'vendor/bootstrap/scss/badge';
// @import 'vendor/bootstrap/scss/jumbotron';
@import 'vendor/bootstrap/scss/alert';
// @import 'vendor/bootstrap/scss/progress';
// @import 'vendor/bootstrap/scss/media';
@import 'vendor/bootstrap/scss/list-group';
@import 'vendor/bootstrap/scss/close';
// @import 'vendor/bootstrap/scss/toasts';
@import 'vendor/bootstrap/scss/modal';
@import 'vendor/bootstrap/scss/tooltip';
// @import 'vendor/bootstrap/scss/popover';
// @import 'vendor/bootstrap/scss/carousel';
// @import 'vendor/bootstrap/scss/spinners';
@import 'vendor/bootstrap/scss/utilities';
@import 'vendor/bootstrap/scss/print';
@import 'homepage';
@import 'info';
@import 'papers';
@import 'texmath';
/* Some space improvements on smaller displays */
@include media-breakpoint-down(sm) {
h2#title {
font-size: $h3-font-size !important;
}
}
/* Fix spacing issues in nested lists */
ul ul, ul ol, ol ul, ol ol {
& + p {
margin-top: 1rem !important;
}
}
.col-xl-width-auto {
flex-basis: auto;
width: auto;
}
.transform-lower-sm {
text-transform: lowercase;
}
@include media-breakpoint-up(sm) {
.transform-lower-sm {
text-transform: unset !important;
}
}
/* For co-author/venue info on people/ pages */
.list-group-compact {
.list-group-item {
padding-top: .5rem;
padding-bottom: .5rem;
}
}
.list-group-toggle-btn {
@extend .btn;
&[aria-expanded=false] {
@extend .btn-info;
}
&[aria-expanded=true] {
display: none;
}
}