Skip to content
This repository was archived by the owner on Aug 14, 2023. It is now read-only.

Commit 014a061

Browse files
author
mortendk
committed
button added
1 parent 029dd50 commit 014a061

File tree

3 files changed

+4733
-32
lines changed

3 files changed

+4733
-32
lines changed

sites/all/themes/osto_2021/osto_web/css_newtheme/style.css

Whitespace-only changes.

sites/all/themes/osto_web/css/global.css

Lines changed: 4608 additions & 1 deletion
Large diffs are not rendered by default.

sites/all/themes/osto_web/css_newtheme/style.css

Lines changed: 125 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ Fonts
3333
display: none;
3434
}
3535

36+
#zone-user-wrapper {
37+
padding: 30px 0
38+
}
39+
3640
/* Body */
3741
body.html {
3842
font-family: var(--font-base);
@@ -45,7 +49,7 @@ body.html {
4549
body.html a,
4650
.page .profile .field a,
4751
.page .messages-user .views-row>.message a {
48-
color: var(--color-orange);
52+
color: var(--color-black);
4953
}
5054

5155
.page #page-title {
@@ -60,7 +64,7 @@ body.html a,
6064
}
6165

6266
.page .region-content-inner {
63-
background: url(img/colors-small.jpg) no-repeat right -2rem;
67+
/* background: url(img/colors-small.jpg) no-repeat right -2rem; */
6468
}
6569

6670
/* -----------------------------------------------------------------------------
@@ -184,6 +188,10 @@ Fullwidth
184188
/* ---------------------------------------------------------------------------
185189
page layout
186190
--------------------------------------------------------------------------- */
191+
.page #zone-menu-wrapper #zone-menu {
192+
width: 80%;
193+
margin: 0 auto;
194+
}
187195
.page .container-12 {
188196
width: 80%;
189197
}
@@ -227,7 +235,7 @@ Fullwidth
227235

228236
/* tabs sidebar long live flex */
229237
.page .tabs.clearfix {
230-
flex: 1 0 20%;
238+
flex: 0 0 20%;
231239
}
232240

233241
.page ul.tabs li a.active {
@@ -264,27 +272,36 @@ Fullwidth
264272
/* ---------------------------------------------------------------------------
265273
Sidebar panes
266274
--------------------------------------------------------------------------- */
275+
#panels-ipe-regionid-right {
276+
border-left: 1px solid var(--color-gray);
277+
padding: 0 1rem;
278+
}
267279

268280
.page .panel-right .panel-pane {
269-
padding: 2rem;
270-
background: var(--color-verdigris);
281+
padding: 2rem 1rem;
271282
line-height: 1.3rem;
283+
border-bottom: 1px solid var(--color-orange);
272284
}
273285
.page .panel-right .panel-pane .pane-title {
274286
font-size: var(--size-large);
275287
}
276288
.page .panel-right .panel-pane .pane-content a {
277-
color: var(--color-black);
278-
text-decoration: underline;
289+
/* color: var(--color-black); */
290+
/* text-decoration: underline; */
279291
}
280292
.page .panel-right .panel-pane .pane-content a:hover {
281-
color: var(--color-green);
293+
/* color: var(--color-green); */
282294
}
283295
.page .node-footer {
296+
display: flex;
284297
background: var(--color-verdigris);
285298
padding: 1rem;
286299
}
287300

301+
.pane-ting-group-members-panel-pane-1 {
302+
background: var(--color-verdigris);
303+
}
304+
288305
/* ---------------------------------------------------------------------------
289306
views
290307
--------------------------------------------------------------------------- */
@@ -334,58 +351,134 @@ Form
334351
border-radius: 0;
335352
text-decoration: none;
336353
}
337-
/* .page .node a.link-button */
338354

355+
356+
/* ---------------------------------------------------------------------------
357+
Shade Buttons
358+
--------------------------------------------------------------------------- */
339359
/*
340360
Shadow for buttons and cards
341-
clearfix ... is really strange right here
342-
disable it so the shade function works.
361+
warning
362+
#zone-content-wrapper {
363+
padding: 0 0 50px;
364+
background: #fff;
365+
}
366+
from global css with .clearfix will overwrite this ...
367+
not fun...
343368
*/
344-
.clearfix:after {
345-
display: none;
369+
370+
371+
.shade,
372+
.page a.group,
373+
.page form input[type=submit],
374+
.page form button,
375+
.product-metadata .views-field-field-product-download a {
376+
border-radius: 0;
377+
border: none;
378+
font-size: var(--size-base);
379+
width: auto;
380+
display: inline-block;
381+
padding: 1rem 2rem;
382+
/* margin: 0 1rem; */
383+
position: relative;
384+
clear:inherit;
385+
background: var(--color-orange);
386+
color:var(--color-white);
387+
text-decoration: none;
388+
cursor: pointer;
346389
}
347390

348-
.shade {
391+
/* secondary */
392+
.shade-secondary,
393+
.page .node a.link-button,
394+
.page a.flag {
395+
width: auto;
349396
display: inline-block;
350397
padding: 1rem 2rem;
398+
/* margin: 0 1rem; */
351399
position: relative;
352-
background: var(--color-white);
400+
clear:inherit;
401+
text-decoration: none;
402+
border-radius: 0;
403+
color: var(--color-orange) !important;
404+
background: white;
405+
border: 1px solid var(--color-orange);
353406
}
354407

355-
.shade:hover {
408+
.shade:hover,
409+
.page .node a.link-button:hover,
410+
.page a.flag:hover,
411+
.page .btn-link:hover {
412+
text-decoration: none;
356413
}
357414

358-
.shade:after {
415+
.shade:after,
416+
.link-button:after,
417+
.page a.flag:after,
418+
.page a.group:after,
419+
.product-metadata .views-field-field-product-download a:after {
420+
clear:inherit;
359421
position: absolute;
360422
z-index: -1;
361-
top: 10%;
362-
left: 10%;
423+
top: 15%;
424+
left: 5%;
363425
width: 100%;
364426
height: 100%;
365427
content: "";
366428
background: transparent;
367429
}
368430

369-
.shade:hover:after {
431+
.shade:hover:after,
432+
.link-button:hover:after,
433+
.page .flag:hover:after,
434+
.page a.group:hover:after,
435+
.product-metadata .views-field-field-product-download a:hover:after {
370436
background: url(img/shade.png) no-repeat left center;
371437
background-size: cover;
372438
}
373439

440+
/* views list */
441+
.page .logo-list .views-row {
442+
flex: 0 0 20%;
443+
transition-duration: 0.5s;
444+
transition-property: all;
445+
border: 1px solid transparent;
446+
margin: 0 5% 5% 0;
447+
}
374448

375-
.page form input[type=submit], .page form button {
376-
background-color: var(--color-orange);
377-
border-radius: 0;
378-
text-transform: none;
449+
.page .logo-list .views-row:after {
450+
clear:inherit;
451+
position: absolute;
452+
z-index: -1;
453+
top: 3%;
454+
left: 3%;
455+
width: 100%;
456+
height: 100%;
457+
content: "";
458+
background: transparent;
459+
}
460+
461+
.page .logo-list .views-row:hover {
462+
border: 1px solid var(--color-darkgray);
379463
}
380464

465+
.page .logo-list .views-row:hover:after {
466+
background: url(img/shade.png) no-repeat left center;
467+
background-size: cover;
468+
}
469+
470+
381471
/* ---------------------------------------------------------------------------
382472
Node
383473
--------------------------------------------------------------------------- */
384474
.page .node a {
385-
color: var(--color-orange);
475+
color: var(--color-black);
386476
text-decoration: underline;
387477
}
388478

479+
.page .node a:hover {
480+
color: var(--color-orange);
481+
}
389482
.page article.node footer .node-author .author-name a {
390483
color: var(--color-black);
391484
text-decoration: underline;
@@ -427,7 +520,7 @@ partners
427520

428521
/* sidebar partner page */
429522
.page .region-sidebar-first .block {
430-
background: var(--color-verdigris);
523+
border-bottom: 1px solid var(--color-orange);
431524
}
432525

433526
.page .view-ting-product-partners,
@@ -451,19 +544,20 @@ partners
451544
}
452545
.page .product-cooperators .item-list ul li a,
453546
.page .view-ting-product-partners a {
454-
display: inline-block;
547+
/* display: inline-block;
455548
font-weight: bold;
456-
padding: 0.5rem 1rem;
457-
border: 1px solid var(--color-orange);
458-
color: var(--color-orange);
459-
background: var(--color-white);
549+
padding: 0.5rem 1rem; */
550+
/* border: 1px solid var(--color-orange); */
551+
/* color: var(--color-orange); */
552+
/* background: var(--color-white); */
460553
}
461554

462555

463556
/* ---------------------------------------------------------------------------
464557
Footer
465558
--------------------------------------------------------------------------- */
466559
.page #zone-footer-wrapper {
560+
467561
border-top: 1px solid var(--color-gray);
468562
background: var(--color-gradient);
469563
}

0 commit comments

Comments
 (0)