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

From version 44.1
edited by hbpadmin
on 2020/04/14 10:53
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">
4 +#set($displayContentMenu=false)
5 +{{/velocity}}
5 5  
6 -<!-- div class="box warningmessage">
7 -A Unicore maintenance is planned at CSCS on Thursday 9th April
8 -from 10AM to 11AM (central european time). During the maintenance users will not be able to submit new Unicore jobs. Existing running jobs will not be affected.
9 -</div -->
10 -
11 -<div class="teasing">
12 - <div class="row">
13 - <div class="col-md-3">
14 - <div class="card collaborate">
15 - <div class="card-header"></div>
16 - <div class="card-content">
17 - <h3 class="card-title">Collaborate</h3>
18 - <p>
19 - create projects and documents, invite collaborators, co-produce articles and release your team work for the community
20 - </p>
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>
21 21   </div>
22 22   </div>
23 - </div>
24 - <div class="col-md-3">
25 - <div class="card reproductible">
26 - <div class="card-header"></div>
27 - <div class="card-content">
28 - <h3 class="card-title">Reproducible</h3>
29 - <p>
30 - initiate environments, install libraries, find and access datasets to create the stable fertile ground for your experiments
31 - </p>
32 - </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>
33 33   </div>
34 - </div>
35 - <div class="col-md-3">
36 - <div class="card science">
37 - <div class="card-header"></div>
38 - <div class="card-content">
39 - <h3 class="card-title">Science</h3>
40 - <p>
41 - develop code, visualise results, generate data and collaborate on your research
42 - </p>
43 - </div>
44 - </div>
45 - </div>
46 - <div class="col-md-3">
47 - <div class="card anywhere">
48 - <div class="card-header"></div>
49 - <div class="card-content">
50 - <h3 class="card-title">Anywhere</h3>
51 - <p>
52 - upload or generate your data and access it anywhere anytime, from your local machine to the most powerful high performance computers
53 - </p>
54 - </div>
55 - </div>
56 - </div>
57 - </div>
58 -</div>
59 - <div class="row">
60 -<div class="col-md-12">
32 +{{/html}}
61 61  
62 -<p class="alert-info">
63 -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>
64 - </div>
65 - </div>
34 +(% class="container highlighted"%)(((
66 66  
67 - <div class="row">
68 - <div class="col-md-6 col-md-offset-3">
69 - <form role="search" class="clb-search-bar" action="/bin/view/Main/Search" method="GET">
70 - <div>
71 - <input type="text" class="form-control" name="text">
72 - <i class="glyphicon glyphicon-search"></i>
73 - </div>
74 - <button class="btn clb-btn-default" type="submit">Search</button>
75 - </form>
76 - </div>
77 - </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>
78 78  </div>
79 -<div class="container-fluid clb-actions">
80 - <div class="container">
81 - <div class="row">
42 +{{/html}}
43 +(% class="row highlighted_row" %)
44 +(((
82 82  
83 - <div class="col-md-4">
84 - <div class="row">
85 - <div class="col-md-10 text-center clb-box-container">
86 - <a class="clb-box" href="/bin/view/Collabs/">
87 - <h3 class="clb-box-title">Browse Collabs</h3>
88 - <p>
89 - Find a collab, or create yours.
90 - </p>
91 - </a>
92 - </div>
93 - </div>
94 - </div><!-- /.col-md-4 -->
46 +{{HighlightedCollabs featured="true" slider="true" /}}
95 95  
96 - <div class="col-md-4">
97 - <div class="row">
98 - <div class="col-md-10 col-md-offset-1 text-center clb-box-container">
99 - <a class="clb-box" href="https://ebrains.eu/support">
100 - <h3 class="clb-box-title">Support</h3>
101 - <p>
102 - Open and track support tickets on our support site.
103 - </p>
104 - </a>
105 - </div>
106 - </div>
107 - </div><!-- /.col-md-4 -->
48 +)))
49 +)))
108 108  
109 - <div class="col-md-4">
110 - <div class="row">
111 - <div class="col-md-10 col-md-offset-2 text-center clb-box-container">
112 - <a class="clb-box" href="/bin/view/Feedback/">
113 - <h3 class="clb-box-title">Feedback</h3>
114 - <p>
115 - Please, give us a feedback about the new collaboratory.
116 - </p>
117 - </a>
118 - </div>
119 - </div>
120 - </div><!-- /.col-md-4 -->
121 - </div>
122 - </div>
123 -</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 +)))
61 +
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]