This repository was archived by the owner on Apr 5, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +38
-27
lines changed Expand file tree Collapse file tree 9 files changed +38
-27
lines changed Original file line number Diff line number Diff line change
1
+ @import " ../variables.scss" ;
2
+
1
3
.link {
2
4
& .light {
3
- color : #81D4FA ; /* lightBlue200 */
5
+ color : $darkPurple ;
4
6
& :hover {
5
- color : #B3E5FC ; /* lightBlue100 */
7
+ color : $lightPurple ;
6
8
}
7
9
}
8
10
& .dark {
9
- color : #3d5afe ; /* indigoA200 */
11
+ color : $lightBlue100 ;
10
12
& :hover {
11
- color : #536DFE ; /* indigoA400 */
13
+ color : $lightBlue200 ;
12
14
}
13
15
}
14
16
}
Original file line number Diff line number Diff line change 1
- // Components/Layout/FrontendPage.scss
2
- //
3
-
4
- $darkPurple : #3d5afe ;
1
+ @import " ../../variables.scss" ;
5
2
6
3
.frontend-page-container {
7
4
padding-top : 56px ;
Original file line number Diff line number Diff line change 1
- $actionSpacing : 8 px ;
1
+ @import " ../../variables.scss " ;
2
2
3
3
.cover {
4
4
position : fixed ;
@@ -52,7 +52,6 @@ $actionSpacing: 8px;
52
52
height : 200px ;
53
53
54
54
.action {
55
- // flex-direction: row-reverse;
56
55
display : flex ;
57
56
height : 42px ;
58
57
padding : $actionSpacing 0 ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class AdminNav extends React.Component {
20
20
this . state = { menuOpen : true } ;
21
21
}
22
22
23
- handleToggleMenu ( ) {
23
+ toggleMenu ( ) {
24
24
this . setState ( {
25
25
menuOpen : ! this . state . menuOpen
26
26
} ) ;
@@ -71,7 +71,7 @@ class AdminNav extends React.Component {
71
71
< Drawer
72
72
open = { this . state . menuOpen }
73
73
docked = { false }
74
- onRequestChange = { ( ) => this . handleToggleMenu ( ) }
74
+ onRequestChange = { ( ) => this . toggleMenu ( ) }
75
75
>
76
76
< AdminMenu currentUser = { this . props . user } routeOptions = { AppConfig . routes . admin } />
77
77
</ Drawer >
@@ -83,7 +83,7 @@ class AdminNav extends React.Component {
83
83
{ this . renderBackButton ( ) }
84
84
</ div >
85
85
) }
86
- onLeftIconButtonTouchTap = { ( ) => this . handleToggleMenu ( ) }
86
+ onLeftIconButtonTouchTap = { ( ) => this . toggleMenu ( ) }
87
87
style = { { position : 'fixed' } }
88
88
iconElementRight = { iconElementRight }
89
89
/>
Original file line number Diff line number Diff line change 1
- // components/Nav/Breadcumb.scss
2
- //
3
- $darkGrey : #424242 ;
4
- $lightPrimary : #aab7ff ;
5
- $darkPrimary : #3d5afe ;
1
+ @import " ../../variables.scss" ;
6
2
7
3
.breadcrumb-links {
8
- background-color : $darkGrey ;
4
+ background-color : $midGrey ;
9
5
height : 30px ;
10
6
margin-top : -1px ;
11
7
Original file line number Diff line number Diff line change 1
- $darkPurple : #3d5afe ;
2
- $linkColor : #e6e6e6 ;
1
+ @import " ../../variables.scss" ;
3
2
4
3
.top-nav {
5
4
position : fixed ;
6
5
height : 56px ;
7
6
width : 100% ;
8
- background-color : #212121 ;
7
+ background-color : $darkGrey ;
9
8
z-index : 100 ;
10
9
margin : 0 ;
11
10
padding : 0 ;
@@ -38,12 +37,12 @@ $linkColor: #e6e6e6;
38
37
font-weight : 300 ;
39
38
max-width : 140px ;
40
39
text-decoration : none ;
41
- padding : 0 0.5rem 2 px 0.5rem ;
40
+ padding : 14 px 0.5rem 14 px 0.5rem ;
42
41
43
42
& .active , & :hover , & :focus {
44
43
color : #fff ;
45
44
padding-bottom : 0 ;
46
- border-bottom : 2px solid $darkPurple ;
45
+ border-bottom : 2px solid $darkPrimary ;
47
46
}
48
47
}
49
48
}
@@ -58,7 +57,7 @@ $linkColor: #e6e6e6;
58
57
font-weight : 300 ;
59
58
color : $linkColor ;
60
59
& :hover , & :focus {
61
- color : $darkPurple ;
60
+ color : $darkPrimary ;
62
61
}
63
62
}
64
63
}
Original file line number Diff line number Diff line change
1
+ @import " ../../../variables.scss" ;
2
+
1
3
.admin-container {
2
4
display : flex ;
3
5
align-items : center ;
12
14
13
15
& .basic {
14
16
.front , .back {
15
- border : 2px solid #e6e6e6 ;
17
+ border : 2px solid $linkColor ;
16
18
background : #252429 ;
17
19
}
18
20
}
Original file line number Diff line number Diff line change
1
+ @import " ../../../variables.scss" ;
2
+
1
3
body {
2
4
background-blend-mode : soft-light ;
3
5
}
10
12
.page-container {
11
13
position : relative ;
12
14
top : 100px ;
13
- border : 1px solid #e6e6e6 ;
15
+ border : 1px solid $linkColor ;
14
16
padding : 30px ;
15
17
16
18
.content {
Original file line number Diff line number Diff line change
1
+ // colors
2
+ $red : red ;
3
+ $lightBlue200 : #81D4FA ; /* lightBlue200 */
4
+ $lightBlue100 : #B3E5FC ; /* lightBlue100 */
5
+ $lightPurple : #536DFE ; /* indigoA400 */
6
+ $darkPurple : #3d5afe ;
7
+ $midGrey : #424242 ;
8
+ $darkGrey : #212121 ;
9
+ $lightPrimary : #aab7ff ;
10
+ $darkPrimary : $darkPurple ;
11
+ $linkColor : #e6e6e6 ;
12
+
13
+ // spacing
14
+ $actionSpacing : 8px ;
You can’t perform that action at this time.
0 commit comments