Skip to content

Commit 090b728

Browse files
committed
Adds DECODE branding
1 parent 5db694c commit 090b728

File tree

5 files changed

+68
-3
lines changed

5 files changed

+68
-3
lines changed

Diff for: app/assets/images/favicon.png

4.66 KB
Loading

Diff for: app/assets/javascripts/application.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,12 @@
1313
//= require rails-ujs
1414
//= require activestorage
1515
//= require_tree .
16-
//= require decidim
16+
//= require decidim
17+
//
18+
19+
$(document).ready(function() {
20+
$('.section-heading').eq(1).css({"border-bottom": "10px solid #fff16e"});
21+
$('.section-heading').eq(2).css({"border-bottom": "10px solid #33e986"});
22+
$('.section-heading').eq(4).css({"border-bottom": "10px solid #fff16e"});
23+
$('.section-heading').eq(5).css({"border-bottom": "10px solid #33e986"});
24+
});

Diff for: app/assets/stylesheets/decidim.scss

+59-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// // Variables
22
//
3-
// $primary: #ef604d;
4-
// $secondary: #599aa6;
3+
$primary: #00b1b0;
4+
$secondary: #e4701e;
55
// $success: #57d685;
66
// $warning: #ffae00;
77
// $alert: #ec5840;
@@ -16,3 +16,60 @@
1616
// $google: #dd4b39;
1717

1818
@import "decidim/application";
19+
20+
@import url('https://fonts.googleapis.com/css?family=Montserrat');
21+
22+
23+
body, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
24+
font-family: "Montserrat","Century Gothic",Verdana,Helvetica,Arial,sans-serif;
25+
font-size: 0.8rem;
26+
}
27+
28+
.title-bar {
29+
padding: 40px;
30+
}
31+
32+
.navbar, .title-bar,
33+
.topbar__dropmenu > ul > li > a,
34+
.main-nav__link a,
35+
.topbar__user__login a,
36+
.card__link,
37+
.topbar__edit__link a,
38+
.topbar__dropmenu .is-dropdown-submenu li a {
39+
background: white;
40+
color: black;
41+
}
42+
43+
//.topbar__search svg .topbar__search input, .topbar__search input:focus {
44+
45+
.topbar__search input, .topbar__search input:focus {
46+
background: white;
47+
border-color: lightgrey;
48+
border-style: ridge;
49+
border-width: 1px;
50+
color: black;
51+
}
52+
53+
.topbar__search input::placeholder {
54+
color: black;
55+
}
56+
57+
.main-nav__link a:hover {
58+
color: black;
59+
box-shadow: inset 0 4px 0 0 $secondary;
60+
}
61+
62+
.section-heading {
63+
text-transform: inherit;
64+
font-size: 1.3rem;
65+
display: inline-block;
66+
//.section-heading extra styling for the borders on JavaScript
67+
border-bottom: 10px solid $primary;
68+
}
69+
70+
.section-heading::before {
71+
width: 0px;
72+
height: 0px;
73+
background-color: white;
74+
margin: 0;
75+
}

Diff for: public/apple-touch-icon-precomposed.png

17.6 KB
Loading

Diff for: public/apple-touch-icon.png

17.6 KB
Loading

0 commit comments

Comments
 (0)