Skip to content

Commit be38f0a

Browse files
neyser zananeyser zana
authored andcommitted
saving styles for pull
1 parent e32d9a1 commit be38f0a

File tree

5 files changed

+27
-68
lines changed

5 files changed

+27
-68
lines changed

build/webpack-bundle.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/webpack-bundle.js.map

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

public/app.css

Lines changed: 18 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -16,69 +16,6 @@ h2{
1616
text-transform: uppercase;
1717
}
1818

19-
@media screen and (max-width: 600px) {
20-
.reactTab {
21-
display: grid;
22-
grid-template-rows: 1fr 1fr 1fr;
23-
grid-template-columns: 1fr;
24-
grid-template-areas:
25-
'sp-box'
26-
'diff'
27-
'tree';
28-
}
29-
.state-prop-display {
30-
grid-area: sp-box;
31-
background-color: #333;
32-
color: white;
33-
overflow-y: scroll;
34-
border: 1px solid black;
35-
border-radius: 5px;
36-
padding: 5px 5px;
37-
margin-right: 10px;
38-
}
39-
40-
#treeWrapper{
41-
grid-area: tree;
42-
background-color: rgba(214, 214, 214, 0.4);
43-
border: 1px solid rgba(0, 0, 0, 0.3);
44-
border-radius: 5px;
45-
padding: 10px;
46-
margin-left: 10px;
47-
}
48-
49-
#stateDiff-container {
50-
grid-area: diff;
51-
overflow-y: scroll;
52-
background-color: rgba(214, 214, 214, 0.4);
53-
border: 1px solid rgba(0, 0, 0, 0.3);
54-
border-radius: 5px;
55-
padding: 10px;
56-
margin-top: 10px;
57-
margin-right: 10px;
58-
}
59-
60-
#state-header{
61-
display: flex;
62-
/* justify-content: space-between; */
63-
margin-bottom: 5px;
64-
}
65-
66-
.stateDiff-div {
67-
overflow-x: scroll;
68-
padding: 15px;
69-
background:rgba(255,255,255,0.5);
70-
margin: 8px 0px;
71-
}
72-
73-
.state-span{
74-
margin: 6px;
75-
font-size: 1.2em;
76-
font-weight: 500;
77-
letter-spacing: 0.8px;
78-
line-height: 15px;
79-
}
80-
}
81-
8219
#app-container{
8320
display: flex;
8421
padding: 10px 25px;
@@ -111,6 +48,10 @@ h2{
11148
margin-right: 10px;
11249
}
11350

51+
#logo{
52+
width: 100px;
53+
height: 100px;
54+
}
11455

11556
#treeWrapper{
11657
text-align: center;
@@ -195,3 +136,17 @@ button:hover{
195136
border: none;
196137
color: white;
197138
}
139+
140+
141+
/* for different screen sizes */
142+
@media screen and (max-width: 600px) {
143+
.reactTab {
144+
display: grid;
145+
grid-template-rows: 1fr 1fr 1fr;
146+
grid-template-columns: 1fr;
147+
grid-template-areas:
148+
'sp-box'
149+
'diff'
150+
'tree';
151+
}
152+
}

public/graphql.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@
2222
}
2323

2424
#graphql-schema {
25+
background-color: rgba(214, 214, 214, 0.4);
26+
border: 1px solid rgba(0, 0, 0, 0.3);
27+
border-radius: 5px;
2528
overflow-y: scroll;
26-
max-height: 90%;
29+
max-height: 600px;
2730
padding: 10px;
2831
}
2932

src/devtools.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,15 @@ class App extends Component {
196196
<div>
197197
{this.state.appState.length === 0 ?
198198
<div id='devToolsLoader'>
199-
<img src='./logo.png' alt='devtool logo'/>
199+
<img src='./../public/assests/logo-card.png' alt='devtool logo'/>
200200
<h1>Please trigger a setState() to activate Lucid devtool.<br /></h1>
201201
<p>Lucid works best on apps using React v16+ in development mode</p>
202202
</div>
203203
:
204204
<div id='app-container'>
205205
<div id='window'>
206206
<div id='window-nav'>
207+
<img id='logo' src='./logo.png' alt='devtool logo'/>
207208
<span class='window-btn-wrapper'>
208209
<button className='window-btn active' id='graphqlbtn' data-btn='Graphql' onClick={(e) => { this.handleWindowChange(e.target); }}>GraphQL</button>
209210
</span>

0 commit comments

Comments
 (0)