File tree Expand file tree Collapse file tree 3 files changed +22
-12
lines changed Expand file tree Collapse file tree 3 files changed +22
-12
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class App extends React.Component {
34
34
render ( ) {
35
35
return (
36
36
< div className = "app" >
37
- { this . state . isMounted && ! window . devToolsExtension && getConfig ( 'NODE_ENV' ) === 'development' && < DevTools /> }
37
+ { false && this . state . isMounted && ! window . devToolsExtension && getConfig ( 'NODE_ENV' ) === 'development' && < DevTools /> }
38
38
{ this . props . children }
39
39
</ div >
40
40
) ;
Original file line number Diff line number Diff line change @@ -59,12 +59,28 @@ const ContentWrapper = styled(Content)`
59
59
.sketches-table-container { padding-bottom: ${ remSize ( 160 ) } }
60
60
` ;
61
61
62
+ const FooterTabSwitcher = styled . div `
63
+ display: flex;
64
+ justify-content: space-between;
65
+
66
+ h3 { text-align: center; width: 100%; }
67
+ border-top: 1px solid ${ prop ( 'Separator' ) } ;
68
+
69
+ background: ${ props => prop ( 'backgroundColor' ) } ;
70
+ ` ;
71
+
62
72
const FooterTab = styled ( Link ) `
63
- background: ${ props => prop ( props . selected ? 'backgroundColor' : 'MobilePanel.default.foreground' ) } ;
64
- color: ${ props => prop ( `MobilePanel.default.${ props . selected ? 'foreground' : 'background' } ` ) } ;
73
+ box-sizing: border-box;
74
+
75
+
76
+ background: transparent;
77
+ /* border-top: ${ remSize ( 4 ) } solid ${ props => prop ( props . selected ? 'colors.p5jsPink' : 'MobilePanel.default.background' ) } ; */
78
+ border-top: ${ remSize ( 4 ) } solid ${ props => ( props . selected ? prop ( 'colors.p5jsPink' ) : 'transparent' ) } ;
79
+
80
+ color: ${ prop ( 'primaryTextColor' ) } ;
81
+
65
82
padding: ${ remSize ( 8 ) } ${ remSize ( 16 ) } ;
66
- width: 100%;
67
- display: flex;
83
+ width: 30%;
68
84
` ;
69
85
70
86
const Subheader = styled . div `
@@ -83,13 +99,6 @@ const SubheaderButton = styled(Button)`
83
99
border-radius: 0px !important;
84
100
` ;
85
101
86
-
87
- const FooterTabSwitcher = styled . div `
88
- display: flex;
89
-
90
- h3 { text-align: center; width: 100%; }
91
- ` ;
92
-
93
102
const Panels = {
94
103
sketches : SketchList ,
95
104
collections : CollectionList ,
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ export const prop = key => (props) => {
58
58
return value ;
59
59
} ;
60
60
61
+
61
62
export default {
62
63
[ Theme . light ] : {
63
64
colors,
You can’t perform that action at this time.
0 commit comments