Last modified by hbpadmin on 2022/12/30 11:01

From version 41.1
edited by hbpadmin
on 2020/03/31 16:23
Change comment: There is no comment for this version
To version 45.1
edited by hbpadmin
on 2020/07/23 20:05
Change comment: Rollback to version xar:eu.hbp.wiki:xwiki-skin-collaboratory/0.20.5

Summary

Details

Page properties
Content
... ... @@ -1,123 +1,61 @@
1 -{{velocity}}#set($displayContentFooter=false)
1 +{{velocity}}
2 +#set($displayContentFooter=false)
2 2  #set($displayDocExtra=false)
3 -#set($displayContentMenu=false){{/velocity}}
4 -{{html clean="false"}}<div class="container clb-content">
5 -<!--
6 -<div class="box warningmessage">
7 -MAINTENANCE: a short intervention is required urgently on the Collaboratory.drive. It is scheduled for today from 1:00 PM to 1:15 PM CET. Please save your work and close your web browser tabs pointing to the EBRAINS Collaboratory by then.
8 -</div>
9 --->
10 -<div class="teasing">
11 - <div class="row">
12 - <div class="col-md-3">
13 - <div class="card collaborate">
14 - <div class="card-header"></div>
15 - <div class="card-content">
16 - <h3 class="card-title">Collaborate</h3>
17 - <p>
18 - create projects and documents, invite collaborators, co-produce articles and release your team work for the community
19 - </p>
4 +#set($displayContentMenu=false)
5 +{{/velocity}}
6 +
7 +{{html clean="false"}}
8 + <div class="container">
9 + <div class="row">
10 + <div class="col-md-7 col-md-push-5">
11 + <img class="img-responsive" src="/bin/skin/Collaboratory/UX/HbpSkin/wiki_home_graphic.svg" />
12 + </div>
13 + <div class="col-md-5 col-md-pull-7 hero-text">
14 + <h3>Collaborate.<br/>Create reproducible science.<br/>Discover EBRAINS services at work.<br/>From anywhere.</h3>
15 + <a class="btn btn-primary btn-lg" href="/bin/view/Collabs/the-collaboratory/Getting%20Started/">Getting started</a>
16 + </div>
20 20   </div>
21 21   </div>
22 - </div>
23 - <div class="col-md-3">
24 - <div class="card reproductible">
25 - <div class="card-header"></div>
26 - <div class="card-content">
27 - <h3 class="card-title">Reproducible</h3>
28 - <p>
29 - initiate environments, install libraries, find and access datasets to create the stable fertile ground for your experiments
30 - </p>
31 - </div>
19 + <div class="container-fluid search__row">
20 + <div class="container">
21 + <div class="col-md-6 col-md-offset-3">
22 + <form role="search" class="clb-search-bar" action="/bin/view/Main/Search" method="GET">
23 + <div>
24 + <input type="text" class="form-control" name="text" placeholder="Search word in all wiki pages">
25 + <i class="glyphicon glyphicon-search"></i>
26 + </div>
27 + <button class="btn clb-btn-default" type="submit">Search</button>
28 + </form>
29 + </div>
30 + </div>
32 32   </div>
33 - </div>
34 - <div class="col-md-3">
35 - <div class="card science">
36 - <div class="card-header"></div>
37 - <div class="card-content">
38 - <h3 class="card-title">Science</h3>
39 - <p>
40 - develop code, visualise results, generate data and collaborate on your research
41 - </p>
42 - </div>
43 - </div>
44 - </div>
45 - <div class="col-md-3">
46 - <div class="card anywhere">
47 - <div class="card-header"></div>
48 - <div class="card-content">
49 - <h3 class="card-title">Anywhere</h3>
50 - <p>
51 - upload or generate your data and access it anywhere anytime, from your local machine to the most powerful high performance computers
52 - </p>
53 - </div>
54 - </div>
55 - </div>
56 - </div>
57 -</div>
58 - <div class="row">
59 -<div class="col-md-12">
32 +{{/html}}
60 60  
61 -<p class="alert-info">
62 -This is the first release of the revamped Collaboratory. It does not yet have feature parity with the previous version. Until we reach that point and give users time to migrate, both versions will coexist.</p>
63 - </div>
64 - </div>
34 +(% class="container highlighted"%)(((
65 65  
66 - <div class="row">
67 - <div class="col-md-6 col-md-offset-3">
68 - <form role="search" class="clb-search-bar" action="/bin/view/Main/Search" method="GET">
69 - <div>
70 - <input type="text" class="form-control" name="text">
71 - <i class="glyphicon glyphicon-search"></i>
72 - </div>
73 - <button class="btn clb-btn-default" type="submit">Search</button>
74 - </form>
75 - </div>
76 - </div>
36 +(% class="highlighted__title" %)
37 +==== Highlighted collabs ====
38 +{{html clean="false"}}
39 +<div class="container centered">
40 +<a href="/bin/view/Collabs/the-collaboratory/Highlights" class="highlighted_view_all">View all</a>
77 77  </div>
78 -<div class="container-fluid clb-actions">
79 - <div class="container">
80 - <div class="row">
42 +{{/html}}
43 +(% class="row highlighted_row" %)
44 +(((
81 81  
82 - <div class="col-md-4">
83 - <div class="row">
84 - <div class="col-md-10 text-center clb-box-container">
85 - <a class="clb-box" href="/bin/view/Collabs/">
86 - <h3 class="clb-box-title">Browse Collabs</h3>
87 - <p>
88 - Find a collab, or create yours.
89 - </p>
90 - </a>
91 - </div>
92 - </div>
93 - </div><!-- /.col-md-4 -->
46 +{{HighlightedCollabs featured="true" slider="true" /}}
94 94  
95 - <div class="col-md-4">
96 - <div class="row">
97 - <div class="col-md-10 col-md-offset-1 text-center clb-box-container">
98 - <a class="clb-box" href="https://www.humanbrainproject.eu/en/hbp-platforms/support/">
99 - <h3 class="clb-box-title">Support</h3>
100 - <p>
101 - Open and track support tickets on our support site.
102 - </p>
103 - </a>
104 - </div>
105 - </div>
106 - </div><!-- /.col-md-4 -->
48 +)))
49 +)))
107 107  
108 - <div class="col-md-4">
109 - <div class="row">
110 - <div class="col-md-10 col-md-offset-2 text-center clb-box-container">
111 - <a class="clb-box" href="/bin/view/Feedback/">
112 - <h3 class="clb-box-title">Feedback</h3>
113 - <p>
114 - Please, give us a feedback about the new collaboratory.
115 - </p>
116 - </a>
117 - </div>
118 - </div>
119 - </div><!-- /.col-md-4 -->
120 - </div>
121 - </div>
122 -</div>{{/html}}
51 +(% class="container" %)
52 +(((
53 +(% class="row explore-all" %)
54 +(((
55 + (% class="col-md-12" %)
56 +(((
57 +Explore all the [[Collabs]]
58 +)))
59 +)))
60 +)))
123 123  
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,31 +1,30 @@
1 +/*
1 1  .teasing .collaborate {background-image: url('/bin/skin/Collaboratory/UX/HbpSkin/collaborate.jpg');}
2 2  .teasing .reproductible {background-image: url('/bin/skin/Collaboratory/UX/HbpSkin/reproducible.jpg');}
3 3  .teasing .science {background-image: url('/bin/skin/Collaboratory/UX/HbpSkin/science.jpg');}
4 4  .teasing .anywhere {background-image: url('/bin/skin/Collaboratory/UX/HbpSkin/anywhere.jpg');}
5 -
6 +*/
6 6  #mainContentArea{
7 7   padding:0;
8 8   padding-top:1.25rem
9 9  }
11 +.document-header,
10 10  #mainContentArea #hierarchy,
11 11  #mainContentArea .xcontent>hr,
12 12  #mainContentArea .xdocLastModification{
13 13   display:none
14 14  }
17 +
15 15  #mainContentArea .xcontent>.row{
16 16   margin-left:0;
17 17   margin-right:0
18 18  }
19 19  
20 -.document-header .document-info{
21 - width:100%;
22 - text-align:center;
23 - margin-top:3rem
24 -}
25 25  #xwikicontent{
26 26   padding-left:0;
27 27   padding-right:0;
28 28   min-height:300px;
27 +/*
29 29   p.alert-info{
30 30   padding:2rem
31 31   }
... ... @@ -89,13 +89,6 @@
89 89   color:@color-white;
90 90   }
91 91   }
92 - .teasing .disabled{
93 - -webkit-filter:grayscale(70%);
94 - filter:grayscale(70%)
95 - }
96 - .teasing .disabled .card-content{
97 - opacity:.9
98 - }
99 99   .teasing .card-title{
100 100   margin-top:1.5rem;
101 101   margin-right:0;
... ... @@ -125,6 +125,7 @@
125 125   .clb-content>.row{
126 126   margin-bottom:5rem
127 127   }
120 +*/
128 128   .clb-search-bar{
129 129   display:flex;
130 130   align-items:stretch;
... ... @@ -157,6 +157,7 @@
157 157   .clb-search-bar input[type=text]:focus~i{
158 158   color: @color-brand-primary;
159 159   }
153 + /*
160 160   @media screen and (min-width:992px){
161 161   .teasing .row{
162 162   display:flex
... ... @@ -182,6 +182,7 @@
182 182   display:block
183 183   }
184 184   }
179 + */
185 185  }
186 186  
187 187  .clb-box{
... ... @@ -216,3 +216,138 @@
216 216   background-color: darken(@color-brand-primary, 15%);
217 217   }
218 218  }
214 +
215 +#xwikicontent .get-started__row__title {
216 + margin: 1rem 0;
217 + font-weight: 400;
218 + color: var(@color-brand-primary);
219 +}
220 +
221 +.hero-text h3 {
222 + line-height:1.3em;
223 +}
224 +
225 +.search__row {
226 + padding:2rem;
227 + margin: 2rem 0;
228 + background: @color-xwiki-gray;
229 +}
230 +.get-started__row__text {
231 + color: #4a5568;
232 +}
233 +.get-started__title, .highlighted__title{
234 + text-align: center;
235 + color: #aaa;
236 + padding:2rem 0 0.5rem 0;
237 + font-size: 2rem;
238 +}
239 +.get-started__row {
240 + margin-top: 3rem;
241 +}
242 +
243 +.pre-footer, .explore-all {
244 + font-size: 32px;
245 + line-height: 42px;
246 + text-align: center;
247 +}
248 +
249 +.explore-all{
250 + padding-top: 5rem;
251 + padding-bottom: 5rem;
252 +}
253 +
254 +@media screen and (min-width: 992px) {
255 + .get-started__row {
256 + display: flex;
257 + align-items: center;
258 + }
259 + #xwikicontent .get-started__row__title {
260 + margin: 0;
261 + margin-bottom: 1rem;
262 + }
263 +}
264 +
265 +.glider-contain {
266 + min-height: 502px;
267 +}
268 +.glider {
269 + .highlighted-collab {
270 + position:relative;
271 + border: 1px solid #CCC;
272 + margin: 0 1rem;
273 + height: 100%;
274 + border-radius: @border-radius-default;
275 + > p,
276 + > h3 {
277 + padding-left: 1rem;
278 + padding-right: 1rem;
279 + }
280 + }
281 +}
282 +.highlighted-image{
283 + /*height: 250px;*/
284 + background-size: cover;
285 +}
286 +.stretched-link {
287 + &::after {
288 + position: absolute;
289 + top: 0;
290 + right: 0;
291 + bottom: 0;
292 + left: 0;
293 + z-index: 1;
294 + // Just in case `pointer-events: none` is set on a parent
295 + pointer-events: auto;
296 + content: "";
297 + // IE10 bugfix, see https://stackoverflow.com/questions/16947967/ie10-hover-pseudo-class-doesnt-work-without-background-color
298 + background-color: rgba(0, 0, 0, 0);
299 + }
300 +}
301 +
302 +.pre-footer {
303 + margin: 8rem 0 2rem;
304 + padding: 5rem 0;
305 + border-top: 1px solid #ccc;
306 + /*border-bottom: 1px solid #ccc;*/
307 +}
308 +
309 +.tags__title, .tags__text {
310 + text-align: center;
311 +}
312 +
313 +.tags__title--collaborate,
314 +.tags__title--science,
315 +.tags__title--reproducible,
316 +.tags__title--anywhere {
317 + padding-top: 4rem;
318 + position: relative;
319 +}
320 +
321 +.tags__title--collaborate::before,
322 +.tags__title--science::before,
323 +.tags__title--reproducible::before,
324 +.tags__title--anywhere::before {
325 + position: absolute;
326 + width: 50px;
327 + height: 50px;
328 + background-repeat: none;
329 + top: 0;
330 + margin-left: 50%;
331 + left: -25px;
332 + content: " ";
333 + display: table;
334 +}
335 +
336 +.tags__title--collaborate::before {
337 + background-image: url("/bin/skin/Collaboratory/UX/HbpSkin/Collaborate.svg");
338 +}
339 +.tags__title--science::before {
340 + background-image: url("/bin/skin/Collaboratory/UX/HbpSkin/Science.svg");
341 +}
342 +.tags__title--reproducible::before {
343 + background-image: url("/bin/skin/Collaboratory/UX/HbpSkin/Reproducible.svg");
344 +}
345 +.tags__title--anywhere::before {
346 + background-image: url("/bin/skin/Collaboratory/UX/HbpSkin/Anywhere.svg");
347 +}
348 +
XWiki.DocumentSheetBinding[0]