File tree Expand file tree Collapse file tree 10 files changed +220
-77
lines changed
server/tc-communities/zurich
shared/components/tc-communities/communities/zurich/theme Expand file tree Collapse file tree 10 files changed +220
-77
lines changed Original file line number Diff line number Diff line change 13
13
"communityName" : " Zurich Community" ,
14
14
"groupIds" : [" 20000044" ],
15
15
"logos" : [{
16
- "img" : " /community-app-assets/themes/zurich/credit-suisse-logo.jpg " ,
17
- "url" : " https://www.credit-suisse .com"
16
+ "img" : " /community-app-assets/themes/zurich/zurich.svg " ,
17
+ "url" : " https://www.zurich .com/ "
18
18
}, {
19
19
"img" : " /community-app-assets/themes/zurich/logo_topcoder_with_name.svg" ,
20
20
"url" : " https://www.topcoder.com"
38
38
"url" : " /challenges"
39
39
}
40
40
],
41
+ "hideSearch" : true ,
41
42
"newsFeed" : " http://www.topcoder.com/feed" ,
42
43
"subdomains" : [" zurich" ],
43
44
"description" : " Zurich Community." ,
Original file line number Diff line number Diff line change
1
+ /* *
2
+ * Template mixin for all buttons of similar style
3
+ */
4
+
5
+ @mixin button ($color , $background , $background-active ) {
6
+ .button {
7
+ align-items : center ;
8
+ background : $background ;
9
+ border : 1px solid $background ;
10
+ border-radius : 0 ;
11
+ color : $color ;
12
+ display : inline-flex ;
13
+ font : 16px ' Akkurat regular' , monospace ;
14
+ justify-content : center ;
15
+ line-height : 16px ;
16
+ min-height : 40px ;
17
+ margin : 5px ;
18
+ padding : 5px 23px 3px ;
19
+ vertical-align : middle ;
20
+ transition : background-color .3s ;
21
+ }
22
+
23
+ /* Additional styling for a disabled button. */
24
+ .disabled {
25
+ cursor : not-allowed ;
26
+ opacity : 0.3 ;
27
+ }
28
+
29
+ /* .link and .regular classes are applied only to active button-like links,
30
+ * and real buttons (rendered as <button> elements). */
31
+ a .link ,
32
+ .regular {
33
+ color : $color ;
34
+
35
+ & :visited {
36
+ color : $color ;
37
+ }
38
+
39
+ & :focus {
40
+ outline : none ;
41
+ color : $color ;
42
+ }
43
+
44
+ & :hover {
45
+ border-color : $background-active ;
46
+ background-color : $background-active ;
47
+ color : $color ;
48
+ }
49
+
50
+ & :active {
51
+ background-color : $background-active ;
52
+ color : $color ;
53
+ }
54
+ }
55
+
56
+ /* And a few extra classes to support XS, SM and LG sizes. */
57
+
58
+ .xs {
59
+ border-radius : 0 ;
60
+ font-size : 12px ;
61
+ line-height : 12px ;
62
+ min-height : 20px ;
63
+ padding : 2px 13px 0 ;
64
+ }
65
+
66
+ .sm {
67
+ border-radius : 0 ;
68
+ font-size : 14px ;
69
+ line-height : 14px ;
70
+ min-height : 30px ;
71
+ padding : 2px 18px ;
72
+ }
73
+
74
+ .lg {
75
+ border-radius : 0 ;
76
+ font-size : 20px ;
77
+ line-height : 20px ;
78
+ min-height : 50px ;
79
+ padding : 7px 28px 5px ;
80
+ }
81
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ /* *
2
+ * Theme for a gray outline button with Open Sans label font.
3
+ */
4
+
5
+ @import " ../mixins.scss" ;
6
+ @import " _mixin" ;
7
+
8
+ @include button (
9
+ #fff ,
10
+ $blue-1-75 ,
11
+ $blue-2 );
Original file line number Diff line number Diff line change
1
+ /* *
2
+ * Theme for a gray outline button with Open Sans label font.
3
+ */
4
+
5
+ @import " ../mixins.scss" ;
6
+ @import " _mixin" ;
7
+
8
+ @include button (
9
+ $blue-1-75 ,
10
+ #fff ,
11
+ #fff );
12
+
13
+ .button {
14
+ border : 1px solid $blue-1-75 ;
15
+ }
16
+
17
+ a .link ,
18
+ .regular {
19
+ & :hover {
20
+ border-color : $blue-2 ;
21
+ color : $blue-2 ;
22
+ }
23
+ }
Original file line number Diff line number Diff line change 25
25
text-transform : none ;
26
26
text-decoration : underline ;
27
27
font-size : 16px ;
28
- color : $blue-bright ;
28
+ color : $blue-1 ;
29
29
}
30
30
31
31
@include xs-to-lg {
39
39
text-transform : none ;
40
40
text-decoration : underline ;
41
41
font-size : 16px ;
42
- color : $blue-bright ;
42
+ color : $blue-1 ;
43
43
}
44
44
}
45
45
58
58
font-family : ' Akkurat regular' , sans-serif ;
59
59
text-transform : none ;
60
60
font-size : 16px ;
61
- color : $blue-bright ;
61
+ color : $blue-1 ;
62
62
}
63
63
64
64
.menu {
79
79
& :focus ,
80
80
& :hover ,
81
81
& :visited {
82
- color : $blue-bright ;
82
+ color : $blue-1 ;
83
83
}
84
84
}
85
85
93
93
& :focus ,
94
94
& :hover ,
95
95
& :visited {
96
- color : $blue-dark ;
96
+ color : $blue-2 ;
97
97
}
98
98
99
99
& ::after {
100
- background : $blue-dark !important ;
100
+ background : $blue-2 !important ;
101
101
height : 8px ;
102
102
width : 8px ;
103
103
left : 50% ;
Original file line number Diff line number Diff line change 1
- import dangerButtonTheme from
2
- 'components/buttons/outline/round/akkurat/danger.scss' ;
3
- import primaryButtonTheme from
4
- 'components/buttons/outline/round/akkurat/primary.scss' ;
5
- import defaultButtonTheme from
6
- 'components/buttons/outline/round/akkurat/default.scss' ;
1
+ import primaryButtonTheme from './buttons/primary.scss' ;
2
+ import primarySecondaryTheme from './buttons/secondary.scss' ;
7
3
import headerTheme from './header.scss' ;
8
4
9
5
export default {
10
6
CommunityHeader : headerTheme ,
11
- DangerButton : dangerButtonTheme ,
12
- DefaultButton : defaultButtonTheme ,
13
7
PrimaryButton : primaryButtonTheme ,
14
- SecondaryButton : primaryButtonTheme ,
8
+ SecondaryButton : primarySecondaryTheme ,
15
9
} ;
Original file line number Diff line number Diff line change 1
- /* Style mixins for Credit Suisse community. */
1
+ /* Style mixins for Zurich community. */
2
2
3
3
/* Colors */
4
4
5
- $blue-dark : #003868 ;
6
- $blue-mid : #004c97 ;
7
- $blue-bright : #0072ce ;
5
+ $blue-1 : #003399 ;
6
+ $blue-1-75 : #4066B3 ;
7
+ $blue-2 : #000066 ;
You can’t perform that action at this time.
0 commit comments