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

From version 37.1
edited by hbpadmin
on 2020/03/10 07:54
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,137 +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 -<div class="box warningmessage">
6 -Dear users, <br>
7 -<br>
8 -The Collaboratory.wiki, Collaboratory.drive, Collaboratory.lab will be <b>transferred to the ebrains.eu domain today</b> between 12:30 and 1:30pm.
9 -You may expect some interruption of service during the maintenance.<br>
10 -<br>
11 -Note that users who still try to access the services on the humanbrainproject.eu domain will be <b>automatically redirected to the resource on the ebrains.eu domain</b>.
12 -</div>
13 -<div class="teasing">
14 - <div class="row">
15 - <div class="col-md-3">
16 - <div class="card collaborate">
17 - <div class="card-header"></div>
18 - <div class="card-content">
19 - <h3 class="card-title">Collaborate</h3>
20 - <p>
21 - create projects and documents, invite collaborators, co-produce articles and release your team work for the community
22 - </p>
23 - </div>
24 - </div>
25 - </div>
26 - <div class="col-md-3">
27 - <div class="card reproductible disabled">
28 - <div class="card-header">
29 - <div class="coming-soon">
30 - <span>Coming Soon</span>
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" />
31 31   </div>
32 - </div>
33 - <div class="card-content">
34 - <h3 class="card-title">Reproducible</h3>
35 - <p>
36 - initiate environments, install libraries, find and access datasets to create the stable fertile ground for your experiments
37 - </p>
38 - </div>
39 - </div>
40 - </div>
41 - <div class="col-md-3">
42 - <div class="card science disabled">
43 - <div class="card-header">
44 - <div class="coming-soon">
45 - <span>Coming Soon</span>
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>
46 46   </div>
47 47   </div>
48 - <div class="card-content">
49 - <h3 class="card-title">Science</h3>
50 - <p>
51 - develop code, visualise results, generate data and collaborate on your research
52 - </p>
53 - </div>
54 54   </div>
55 - </div>
56 - <div class="col-md-3">
57 - <div class="card anywhere disabled">
58 - <div class="card-header">
59 - <div class="coming-soon">
60 - <span>Coming Soon</span>
61 - </div>
62 - </div>
63 - <div class="card-content">
64 - <h3 class="card-title">Anywhere</h3>
65 - <p>
66 - upload or generate your data and access it anywhere anytime, from your local machine to the most powerful high performance computers
67 - </p>
68 - </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>
69 69   </div>
70 - </div>
71 - </div>
72 -</div>
73 - <div class="row">
74 -<div class="col-md-12">
32 +{{/html}}
75 75  
76 -<p class="alert-info">
77 -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>
78 - </div>
79 - </div>
34 +(% class="container highlighted"%)(((
80 80  
81 - <div class="row">
82 - <div class="col-md-6 col-md-offset-3">
83 - <form role="search" class="clb-search-bar" action="/bin/view/Main/Search" method="GET">
84 - <div>
85 - <input type="text" class="form-control" name="text">
86 - <i class="glyphicon glyphicon-search"></i>
87 - </div>
88 - <button class="btn clb-btn-default" type="submit">Search</button>
89 - </form>
90 - </div>
91 - </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>
92 92  </div>
93 -<div class="container-fluid clb-actions">
94 - <div class="container">
95 - <div class="row">
42 +{{/html}}
43 +(% class="row highlighted_row" %)
44 +(((
96 96  
97 - <div class="col-md-4">
98 - <div class="row">
99 - <div class="col-md-10 text-center clb-box-container">
100 - <a class="clb-box" href="/bin/view/Collabs/">
101 - <h3 class="clb-box-title">Browse Collabs</h3>
102 - <p>
103 - Find a collab, or create yours.
104 - </p>
105 - </a>
106 - </div>
107 - </div>
108 - </div><!-- /.col-md-4 -->
46 +{{HighlightedCollabs featured="true" slider="true" /}}
109 109  
110 - <div class="col-md-4">
111 - <div class="row">
112 - <div class="col-md-10 col-md-offset-1 text-center clb-box-container">
113 - <a class="clb-box" href="https://www.humanbrainproject.eu/en/hbp-platforms/support/">
114 - <h3 class="clb-box-title">Support</h3>
115 - <p>
116 - Open and track support tickets on our support site.
117 - </p>
118 - </a>
119 - </div>
120 - </div>
121 - </div><!-- /.col-md-4 -->
48 +)))
49 +)))
122 122  
123 - <div class="col-md-4">
124 - <div class="row">
125 - <div class="col-md-10 col-md-offset-2 text-center clb-box-container">
126 - <a class="clb-box" href="/bin/view/Feedback/">
127 - <h3 class="clb-box-title">Feedback</h3>
128 - <p>
129 - Please, give us a feedback about the new collaboratory.
130 - </p>
131 - </a>
132 - </div>
133 - </div>
134 - </div><!-- /.col-md-4 -->
135 - </div>
136 - </div>
137 -</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]