Skip to content

Commit f5a51a0

Browse files
committed
update podemos theme
1 parent 92e8fb5 commit f5a51a0

File tree

4 files changed

+219
-7
lines changed

4 files changed

+219
-7
lines changed

dist/libCommon-v3.0.1.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8006,7 +8006,7 @@ function(window, angular, undefined) {
80068006
encode: valToString,
80078007
decode: valFromString,
80088008
is: regexpMatches,
8009-
pattern: /[^/]*/
8009+
pattern: /[^\/]*/
80108010
},
80118011
int: {
80128012
encode: valToString,
@@ -8053,7 +8053,7 @@ function(window, angular, undefined) {
80538053
decode: angular.fromJson,
80548054
is: angular.isObject,
80558055
equals: angular.equals,
8056-
pattern: /[^/]*/
8056+
pattern: /[^\/]*/
80578057
},
80588058
any: {
80598059
encode: angular.identity,

dist/themes/podemos/app.less

Lines changed: 108 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919

2020
/* Global Config */
2121
@av-primary: #612d62;
22-
@av-secondary: #78bbb1;
22+
@av-secondary: white;
2323
@av-primary-contrast: white;
24-
@av-secondary-contrast: white;
24+
@av-secondary-contrast: #78bbb1;
2525
@brand-primary: #612D62;
2626
@brand-success: #005c56;
2727
@brand-danger: #97c2b8;
@@ -38,6 +38,112 @@
3838

3939
// podemos custom
4040

41+
[av-ballot-locator-screen] {
42+
.btn-success {
43+
background-color: @brand-success !important;
44+
}
45+
46+
.btn-success:hover {
47+
background-color: darken(@brand-success, 5%) !important;
48+
}
49+
}
50+
51+
[av-booth] {
52+
.btn-success {
53+
background-color: @brand-success !important;
54+
}
55+
56+
.btn-success:hover {
57+
background-color: darken(@brand-success, 5%) !important;
58+
}
59+
60+
.avb-top-navbar {
61+
a:hover {
62+
color: @brand-success !important;
63+
}
64+
}
65+
66+
a:hover {
67+
color: @brand-success;
68+
}
69+
}
70+
71+
[ave-default-election] .background, [ave-public-view] .background {
72+
background-color: @av-bg;
73+
74+
[ui-view] {
75+
.top-section {
76+
background-color: @av-secondary !important;
77+
color: black;
78+
79+
h3 {
80+
color: @av-primary;
81+
}
82+
}
83+
}
84+
}
85+
86+
[ave-default-election] .background.first, [ave-public-view] .background.first {
87+
background-color: @av-primary;
88+
}
89+
90+
[ave-default-election] .adminhead {
91+
a:hover {
92+
color: @brand-success !important;
93+
}
94+
95+
.powered-by .strong, div.row.avb-top-navbar div.pull-left span.ng-scope strong.ng-scope {
96+
a {
97+
color: @av-secondary !important;
98+
}
99+
100+
a:hover {
101+
color: @brand-success !important;
102+
}
103+
}
104+
}
105+
106+
[av-foot] .commonfoot > div > div > div > div > a > i:hover {
107+
color: @av-secondary-contrast !important;
108+
}
109+
110+
[av-foot] .commonfoot > div > div > div > ul > li > a:hover {
111+
color: @av-secondary-contrast !important;
112+
}
113+
114+
[ave-default-election] .background.first .top-section {
115+
color: @av-primary-contrast !important;
116+
}
117+
118+
[av-change-lang] {
119+
> a {
120+
color: @av-secondary !important;
121+
}
122+
123+
> a:hover, > a:active {
124+
color: @brand-success !important;
125+
}
126+
127+
.dropdown-menu li a {
128+
color: black !important;
129+
}
130+
131+
&:hover, &:active {
132+
a {
133+
color: black !important;
134+
}
135+
}
136+
}
137+
138+
[ave-default-election] {
139+
div.row.avb-top-navbar > div.pull-left > span > strong,
140+
.top-section > div > ul > li {
141+
&:hover > a {
142+
color: @av-secondary-contrast !important;
143+
}
144+
}
145+
}
146+
41147
[av-ballot-locator-screen] .navbar-unfixed-top h1, [av-booth] .navbar-unfixed-top h1 {
42148
margin-top: 17px;
43149
font-weight: 700;

dist/themes/podemos/app.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/podemos/app.less

Lines changed: 108 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919

2020
/* Global Config */
2121
@av-primary: #612d62;
22-
@av-secondary: #78bbb1;
22+
@av-secondary: white;
2323
@av-primary-contrast: white;
24-
@av-secondary-contrast: white;
24+
@av-secondary-contrast: #78bbb1;
2525
@brand-primary: #612D62;
2626
@brand-success: #005c56;
2727
@brand-danger: #97c2b8;
@@ -38,6 +38,112 @@
3838

3939
// podemos custom
4040

41+
[av-ballot-locator-screen] {
42+
.btn-success {
43+
background-color: @brand-success !important;
44+
}
45+
46+
.btn-success:hover {
47+
background-color: darken(@brand-success, 5%) !important;
48+
}
49+
}
50+
51+
[av-booth] {
52+
.btn-success {
53+
background-color: @brand-success !important;
54+
}
55+
56+
.btn-success:hover {
57+
background-color: darken(@brand-success, 5%) !important;
58+
}
59+
60+
.avb-top-navbar {
61+
a:hover {
62+
color: @brand-success !important;
63+
}
64+
}
65+
66+
a:hover {
67+
color: @brand-success;
68+
}
69+
}
70+
71+
[ave-default-election] .background, [ave-public-view] .background {
72+
background-color: @av-bg;
73+
74+
[ui-view] {
75+
.top-section {
76+
background-color: @av-secondary !important;
77+
color: black;
78+
79+
h3 {
80+
color: @av-primary;
81+
}
82+
}
83+
}
84+
}
85+
86+
[ave-default-election] .background.first, [ave-public-view] .background.first {
87+
background-color: @av-primary;
88+
}
89+
90+
[ave-default-election] .adminhead {
91+
a:hover {
92+
color: @brand-success !important;
93+
}
94+
95+
.powered-by .strong, div.row.avb-top-navbar div.pull-left span.ng-scope strong.ng-scope {
96+
a {
97+
color: @av-secondary !important;
98+
}
99+
100+
a:hover {
101+
color: @brand-success !important;
102+
}
103+
}
104+
}
105+
106+
[av-foot] .commonfoot > div > div > div > div > a > i:hover {
107+
color: @av-secondary-contrast !important;
108+
}
109+
110+
[av-foot] .commonfoot > div > div > div > ul > li > a:hover {
111+
color: @av-secondary-contrast !important;
112+
}
113+
114+
[ave-default-election] .background.first .top-section {
115+
color: @av-primary-contrast !important;
116+
}
117+
118+
[av-change-lang] {
119+
> a {
120+
color: @av-secondary !important;
121+
}
122+
123+
> a:hover, > a:active {
124+
color: @brand-success !important;
125+
}
126+
127+
.dropdown-menu li a {
128+
color: black !important;
129+
}
130+
131+
&:hover, &:active {
132+
a {
133+
color: black !important;
134+
}
135+
}
136+
}
137+
138+
[ave-default-election] {
139+
div.row.avb-top-navbar > div.pull-left > span > strong,
140+
.top-section > div > ul > li {
141+
&:hover > a {
142+
color: @av-secondary-contrast !important;
143+
}
144+
}
145+
}
146+
41147
[av-ballot-locator-screen] .navbar-unfixed-top h1, [av-booth] .navbar-unfixed-top h1 {
42148
margin-top: 17px;
43149
font-weight: 700;

0 commit comments

Comments
 (0)