Newer
Older
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
@import "bootstrap";
@import "colors";
@import "variables";
@import "common";
@import "search";
@import "rtl";
html {
font-size: 16px;
overflow-x: hidden;
}
body {
font-size: 1rem;
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; // native font stack
color: @near-black;
}
/* -- Layout --- */
.main .container { background-color: @white; }
.mainbody { padding-top: 1rem; }
/* --- Header --- */
.navbar { border-radius: 0; }
.banner {
width: auto;
color: #fff;
a { color: #fff; }
}
.banner .navbar-right { margin-top: calc((@banner-height-sm - 50px) / 2); } // Put right nav in the middle
.banner .navbar-brand {
width: (170 / 65) * @banner-height-sm;
height: @banner-height-sm;
}
@media (min-width: 768px) {
.banner .navbar-right { margin-top: calc((@banner-height - 50px) / 2); }
.banner .navbar-brand {
width: (170 / 65) * @banner-height;
height: @banner-height;
}
}
header {
background-color: @header-bg;
font-size: @reduced-font-size;
font-weight: 500;
color: @white;
.navbar-nav { margin-top: 0; }
a,
.nav a,
.btn-link {
color: @white;
&:hover { color: @header-light; }
}
.btn-primary {
color: @black;
background-color: @header-light;
}
.btn-primary:hover {
color: @black;
background-color: @header-light;
border-color: @black;
}
.nav>li>a:hover,
.nav>li>a:focus {
color: @black;
background-color: @header-light;
}
.navbar-toggle {
margin: .5rem;
padding-left: 1rem;
padding-right: 1rem;
font-size: @reduced-font-size;
}
.dropdown-menu a { color: @black; }
.dropdown-menu a:hover {
background-color: @header-light;
color: @black;
}
.dropdown-menu .active a,
.dropdown-menu .active a:hover { background-color: @header-bg; }
.form-control { border: 0; }
.form-control:focus {
padding-bottom: 3px; // Smaller font-size means smaller jump
border-bottom: 3px solid @gold;
}
.navbar-brand {
width: 200px;
height: 100%;
margin-top: 5px;
.background-image('vufind_logo_dark.png');
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
&,
&:active,
&:hover,
&:focus { color: transparent; }
&.lang-ar { .background-image('vufind_logo_ar_dark.png'); }
}
}
.breadcrumbs {
border-bottom: 1px solid @header-light;
background-color: @header-light;
}
.breadcrumb {
margin: 0;
padding-left: 0;
padding-right: 0;
font-size: @reduced-font-size;
color: @gray;
background-color: transparent;
border-radius: 0;
}
.breadcrumb a { color: @link-color; }
.breadcrumb .active { color: @black; }
.breadcrumb .active a { color: #37474F; } /* Material Blue Grey 800 */
.breadcrumb .active a:hover { color: @link-color-hover; } /* Material Blue Grey 900 */
.breadcrumb > li+li::before {
font-weight: 900;
color: #fff;
}
/* --- Cart --- */
#cartSummary strong { font-weight: inherit; }
/* --- Channels --- */
.channel-title { margin-top: 1rem; }
.channel,
.channel-title.no-results { margin-bottom: 2rem; }
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
/* --- MyResearch --- */
.myresearch-menu a:hover { background-color: @white; }
/* --- Record --- */
.record-nav {
display: table;
margin-left: auto;
margin-top: 1rem;
margin-right: auto;
}
.info-col { font-size: @reduced-font-size; }
.info-col h3 {
margin-top: 0;
font-weight: 500;
}
.record .sidebar { margin-top: 1rem; }
.comment-list { margin-top: .5rem; }
.comment { margin-bottom: .5rem; }
.comment .delete { font-size: @reduced-font-size; }
.comment-form .btn-primary { margin-top: .25rem; }
.tagList { line-height: 2rem; }
.tagList .tag .fa-close { margin: 0; }
/* --- Sidebar --- */
.sidebar {
padding-top: 1rem;
font-size: @reduced-font-size;
background-color: @light-gray;
h1,h2,h3,h4 { margin-top: 0; }
.facet-group {
margin-left: 1rem;
margin-right: 1rem;
background-color: @sidebar-item-bg;
color: @sidebar-item-color;
}
/* Collapsed arrows */
.facet-group .title {
background-color: @sidebar-title-bg;
color: @sidebar-title-color;
&::after {
width: 1rem;
font-family: "FontAwesome";
text-align: center;
color: @sidebar-title-icon-color;
content: '\f106';
}
}
.facet-group .title.collapsed::after { content: '\f107'; }
.active-filters .title::after,
#advSearchForm & .title:after { content: none; } // No arrow on active filter title
a.facet:hover,
.facet.checkbox:hover { background-color: @sidebar-item-hover-bg; }
.facet.active,
.facet.active:hover,
.active-filters .facet,
.active-filters .facet:hover,
.jstree-facet .jstree-container-ul > .active {
border-color: @sidebar-active-bg;
background-color: @sidebar-active-bg;
color: @sidebar-active-color;
.badge {
color: @sidebar-active-bg;
background-color: @white;
}
}
.facet .badge {
max-height: 15px;
margin-top: 5px;
}
}
.facet .badge {
flex-shrink: 0;
max-height: 19px;
line-height: .8;
background-color: @sidebar-item-badge;
}
.sidebar.left,
.sidebar.right {
padding-left: 0;
padding-right: 0;
}
.sidebar .checkbox-filter,
.sidebar > h4 { margin-left: 1rem; }
.jstree-facet {
.main .fa-check { margin-top: 3px; }
.jstree-icon::before { margin-top: 2px; }
}