jekyll-theme-lcsb-default 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe7d578a4a73c7a03412ac3bc11fe88fe4439d583f0c37eef0cf8f6bf4fc2a82
4
- data.tar.gz: 4156c595d140f76b4cbb369aaea7db0a74c48be03aeab4fec54dbbe7a2f3a4dd
3
+ metadata.gz: 716f9d2d26cde86ac8e626b20b07d8a79e7713313cbe8bbbb3293554ae612c85
4
+ data.tar.gz: 695f734f8bf8418c01e8293f20136646a8480265c08c523d78c061e0e48f548b
5
5
  SHA512:
6
- metadata.gz: 1e8fec56c686d2330858284966ee91272e6099c1433e75e263f9c8ac5f9a2d13eac2c4c3de9dcfaa08cc1f9074d099ad252fa84b0c66bd6c0957adf7a67e663a
7
- data.tar.gz: 3d3a22693c3646e074f81d88c575e594744f190a393ac59a230fd294df355ce9ecc89fff41e19c0229fae7ddc3082821db3123c745d2fe949b2b8370737dd144
6
+ metadata.gz: 5ee2b0ba57ae87d07f4e73fd77817fad1dcb337ac680be0396abea428885433a0eecb474824d188001878717976583d1cb673deb8e1b66d49dc06725039a6d58
7
+ data.tar.gz: f43440ed634e37f72f3df1f80462c9c0ec4cc9daccc98bbc70fc2b81a1f534968e563e068486d9c3f3aa9ff096196e9a25f719487d980591ccadb6f5e4ba48e6
@@ -30,6 +30,7 @@
30
30
  </script>
31
31
  <script src="https://analytics.lcsb.uni.lu/lap/static/js/jquery.min.js"></script>
32
32
  <script src="https://analytics.lcsb.uni.lu/lap/static/js/lap.js"></script>
33
+ <link rel="stylesheet" type="text/css" href="https://analytics.lcsb.uni.lu/lap/static/css/lap.css" />
33
34
  {%- endif -%}
34
35
 
35
36
  {%- if jekyll.environment == "review" -%}
@@ -56,6 +56,5 @@ $footer-height: 50px;
56
56
  "minima/syntax-highlighting",
57
57
  "minima/lcsb",
58
58
  "minima/boxes",
59
- "minima/search",
60
- "minima/gdpr"
59
+ "minima/search"
61
60
  ;
@@ -3,5 +3,5 @@
3
3
  # Note: keep the format of NUMBER.NUMBER.NUMBER (where NUMBER is [0-9]+);
4
4
  # Otherwise Gitlab-CI could fail to detect the version (see .gitlab-ci.yml) and auto-tag the job
5
5
  module Theme
6
- VERSION = "0.4.2"
6
+ VERSION = "0.4.3"
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-lcsb-default
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trefex
@@ -93,7 +93,6 @@ files:
93
93
  - _sass/minima/_base.scss
94
94
  - _sass/minima/_boxes.scss
95
95
  - _sass/minima/_frozen.scss
96
- - _sass/minima/_gdpr.scss
97
96
  - _sass/minima/_layout.scss
98
97
  - _sass/minima/_lcsb.scss
99
98
  - _sass/minima/_search.scss
@@ -1,251 +0,0 @@
1
- #lap-cookies-banner {
2
- position: fixed;
3
- bottom: 0;
4
- background-color: #fff;
5
- padding-top: 1em;
6
- padding-bottom: 1em;
7
- z-index: 1000;
8
- left: 0;
9
- text-align: center;
10
- border-top: 1px solid #198cdc;
11
- width: 100%;
12
- display: none;
13
-
14
- /* hidden by default */
15
- }
16
-
17
- #lap-cookies-banner .banner-intro {
18
- width: 40%;
19
- position: relative;
20
- left: 30%;
21
- text-align: left;
22
- }
23
-
24
- #lap-cookies-banner .banner-img {
25
- width: 50px;
26
- position: absolute;
27
- padding-top: 5px;
28
- height: 50px;
29
- }
30
-
31
- #lap-cookies-banner .banner-title {
32
- font-size: 120%;
33
- font-weight: bold;
34
- text-align: left;
35
- padding-left: 60px;
36
- }
37
-
38
- #lap-cookies-banner .banner-text {
39
- float: center;
40
- min-height: 40px;
41
- padding-left: 60px;
42
- font-size: 80%;
43
- text-align: left;
44
- }
45
-
46
- #lap-cookies-banner .banner-buttons {
47
- float: center;
48
- padding-top: 5px;
49
- height: 20px;
50
- margin-bottom: 10px;
51
- }
52
-
53
- #lap-cookies-banner .close-button {
54
- position: absolute;
55
- left: 100%;
56
- }
57
-
58
- #lap-cookies-banner .banner-buttons .lap-accept,
59
- #lap-cookies-banner .banner-buttons .lap-refuse,
60
- #lap-cookies-banner .banner-buttons .lap-cookies-more,
61
- #lap-cookies-banner .banner-buttons .btn.active {
62
- border: 1px solid #198cdc;
63
- font-weight: bold;
64
- background-color: #198cdc;
65
- color: #ffffff !important;
66
- box-sizing: border-box;
67
- -moz-box-sizing: border-box;
68
- -webkit-box-sizing: border-box;
69
- }
70
-
71
- #lap-cookies-banner .banner-buttons .lap-accept:hover,
72
- #lap-cookies-banner .banner-buttons .lap-refuse:hover,
73
- #lap-cookies-banner .banner-buttons .lap-cookies-more:hover,
74
- #lap-cookies-banner .banner-buttons .btn.selected {
75
- background: white;
76
- color: #198cdc !important;
77
- border: 1px solid #198cdc;
78
- box-sizing: border-box;
79
- -moz-box-sizing: border-box;
80
- -webkit-box-sizing: border-box;
81
- text-decoration: none;
82
- }
83
-
84
- #lap-cookies-banner .btn {
85
- text-decoration: none;
86
- display: inline-block;
87
- margin-bottom: 0;
88
- text-align: center;
89
- vertical-align: middle;
90
- touch-action: manipulation;
91
- background-image: none;
92
- white-space: nowrap;
93
- padding: 3px 10px;
94
- font-size: 9pt;
95
- line-height: 20px;
96
- -webkit-user-select: none;
97
- -moz-user-select: none;
98
- -ms-user-select: none;
99
- user-select: none;
100
- margin-right: 10px;
101
- margin-bottom: 10px;
102
- }
103
-
104
- // Small component to show a Material Design style input toggle
105
- // ref: https://codepen.io/FezVrasta/pen/yNRgrB - MIT licensed
106
- $toggle-w: 32px;
107
- $toggle-h: 14px;
108
- $handle-size: 18px;
109
- $unchecked-handle-bg: #F1F1F1;
110
- $checked-handle-bg: #198cdc;
111
- $disabled-handle-bg: #BDBDBD;
112
- $unchecked-toggle-bg: #848484;
113
- $checked-toggle-bg: desaturate(lighten($checked-handle-bg, 28%), 32%); // kind of magic recipe
114
- $disabled-toggle-bg: #D5D5D5;
115
- label.input-toggle {
116
- line-height: 0;
117
- font-size: 0;
118
- display: inline-block;
119
- margin: 0;
120
- >span {
121
- display: inline-block;
122
- position: relative;
123
- background-image: linear-gradient( to right, $unchecked-toggle-bg 0%, $unchecked-toggle-bg 50%, $checked-toggle-bg 50%, $checked-toggle-bg 100%);
124
- background-size: $toggle-w*2 $toggle-h;
125
- background-position: 0%;
126
- border-radius: $toggle-w;
127
- width: $toggle-w;
128
- height: $toggle-h;
129
- cursor: pointer;
130
- transition: background-position 0.2s ease-in;
131
- }
132
- >input:checked+span {
133
- background-position: -100%;
134
- }
135
- >span:after {
136
- content: "";
137
- display: block;
138
- position: absolute;
139
- width: $handle-size;
140
- height: $handle-size;
141
- background: $unchecked-handle-bg;
142
- align-self: center;
143
- top: 50%;
144
- left: 0;
145
- transform: translateY(-50%);
146
- border-radius: 100%;
147
- //box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
148
- transition: left 0.2s ease-in, background-color 0.2s ease-in, transform 0.3s ease;
149
- }
150
- >input:checked+span:after {
151
- left: $handle-size;
152
- background-color: $checked-handle-bg;
153
- }
154
- // Jelly effect on click
155
- >span:active:after {
156
- //transform: translateY(-50%) scale3d(1.15, 0.85, 1);
157
- }
158
- // No jelly effect on disabled toggles
159
- >input:disabled+span:active:after {
160
- transform: translateY(-50%);
161
- }
162
- >input:disabled+span {
163
- cursor: default;
164
- }
165
- >input:disabled+span {
166
- background: $disabled-toggle-bg;
167
- }
168
- >input:disabled+span:after {
169
- background: $disabled-handle-bg;
170
- }
171
- // Hide original checkbox, but don't use `display: none` to allow focus on it using keyboard
172
- >input {
173
- display: block;
174
- position: absolute;
175
- opacity: 0;
176
- width: 0;
177
- height: 0;
178
- }
179
- }
180
-
181
- #lap-cookies-banner .banner-checkboxes {
182
- font-size: 80%;
183
- margin-top: 1em;
184
- }
185
-
186
- #lap-cookies-banner .checkbox-label {
187
- margin-left: 0.3em;
188
- margin-right: 1.5em;
189
- top: -0.2em;
190
- position: relative;
191
- }
192
-
193
- @media(max-width: 500px) {
194
- #lap-cookies-banner {
195
- position: fixed;
196
- bottom: 0;
197
- background-color: #fff;
198
- padding-top: 1em;
199
- padding-bottom: 1em;
200
- z-index: 1000;
201
- left: 0;
202
- text-align: center;
203
- border-top: 1px solid #198cdc;
204
- width: 100%;
205
- display: none;
206
- height: 280px;
207
- overflow: auto;
208
- /* hidden by default */
209
- }
210
-
211
- #lap-cookies-banner .banner-intro {
212
- width: 60%;
213
- position: relative;
214
- left: 20%;
215
- text-align: left;
216
- }
217
- }
218
-
219
- @media(max-width: 1100px) {
220
- #lap-cookies-banner .banner-intro {
221
- width: 90%;
222
- position: relative;
223
- left: 5%;
224
- text-align: left;
225
- }
226
- #lap-cookies-banner .banner-buttons {
227
- float: center;
228
- padding-top: 5px;
229
- height: 60px;
230
- margin-bottom: 10px;
231
- }
232
- }
233
-
234
- @media(max-width: 1600px) {
235
- #lap-cookies-banner .banner-intro {
236
- width: 60%;
237
- position: relative;
238
- left: 20%;
239
- text-align: left;
240
- }
241
- }
242
-
243
- /* ultra-wide screen */
244
- @media(min-width: 2400px) {
245
- #lap-cookies-banner .banner-intro {
246
- position: relative;
247
- text-align: left;
248
- max-width: 800px;
249
- left: 35%;
250
- }
251
- }