Skip to content

Commit 23871a0

Browse files
committed
hardcoded MUI styles values
1 parent 8fd35ec commit 23871a0

File tree

2 files changed

+54
-19
lines changed

2 files changed

+54
-19
lines changed

app/src/components/bottom/BottomTabs.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ const useStyles = makeStyles((theme) => ({
170170
textTransform: 'initial',
171171
minWidth: 40,
172172
// fontWeight: theme.typography.fontWeightRegular,
173-
marginRight: '16px',
174-
marginLeft: '16px',
173+
margin: '0 16px',
175174

176175
fontFamily: [
177176
'-apple-system',

app/src/public/styles/style.css

Lines changed: 53 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*::after {
44
box-sizing: inherit;
55
}
6+
67
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
78
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
89
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@@ -14,6 +15,7 @@ html {
1415
width: 100vw; */
1516
overflow: auto;
1617
}
18+
1719
body {
1820
margin: 0;
1921
padding: 0;
@@ -24,17 +26,20 @@ body {
2426
height: 100vh;
2527
width: 100vw;
2628
}
29+
2730
h4 {
2831
color: #155084;
2932
text-align: center;
3033
}
34+
3135
.creation-panel {
3236
color: black;
3337
display: flex;
3438
flex-direction: row;
3539
/* height: 100%; */
3640
background-color: #fff;
3741
}
42+
3843
.customization-section {
3944
color: black;
4045
display: flex;
@@ -48,13 +53,15 @@ h4 {
4853
flex-direction: row;
4954
justify-content: space-evenly;
5055
}
56+
5157
.state-prop-grid {
5258
height: 300px;
5359
width: 410px;
5460
flex-grow: 1;
5561
padding-left: 10px;
5662
padding-right: 10px;
5763
}
64+
5865
.HTMLItemCreate {
5966
flex-grow: 1;
6067
justify-content: center;
@@ -83,6 +90,7 @@ header {
8390
.progress-bar {
8491
flex-grow: 1;
8592
}
93+
8694
.column {
8795
background-color: #f9f9f9;
8896
}
@@ -99,6 +107,7 @@ LEFT COLUMN
99107

100108
.left-container {
101109
display: flex;
110+
z-index: 0;
102111
}
103112

104113
.left-indicator {
@@ -151,7 +160,7 @@ LEFT COLUMN
151160
border-radius: 10px;
152161
}
153162

154-
.HTMLItemsDark{
163+
.HTMLItemsDark {
155164
display: flex;
156165
flex-direction: column;
157166
justify-content: space-around;
@@ -172,36 +181,44 @@ LEFT COLUMN
172181
overflow-y: auto;
173182
margin-bottom: 50%;
174183
}
184+
175185
.HTMLElements {
176186
display: flex;
177187
flex-direction: column;
178188
align-items: flex-start;
179189
flex-wrap: wrap;
180190
}
191+
181192
#HTMLItemsGrid {
182193
margin-left: 35px;
183194
}
195+
184196
#HTMLItem {
185197
transition: 0.3s;
186198
border: 2px solid black;
187199
border-radius: 4px;
188200
}
201+
189202
#HTMLItem:hover {
190203
background-color: #297ac2;
191204
color: white;
192205
}
206+
193207
#submitButton {
194208
margin-left: 5px;
195209
}
210+
196211
#submitButton:hover {
197212
background-color: #297ac2;
198213
color: white;
199214
border: none;
200215
}
216+
201217
.lineDiv {
202218
width: 150%;
203219
margin-left: 0px;
204220
}
221+
205222
.customForm {
206223
width: 100%;
207224
display: flex;
@@ -211,13 +228,15 @@ LEFT COLUMN
211228
color: white;
212229
font-size: 95%;
213230
}
231+
214232
.customForm h5 {
215233
text-align: center;
216234
font-size: 100%;
217235
font-weight: 700;
218236
width: 125%;
219237
margin-left: -5px;
220238
}
239+
221240
.customForm input {
222241
align-self: center;
223242
margin: 0px 0px;
@@ -233,16 +252,19 @@ LEFT COLUMN
233252
align-self: flex-start;
234253
width: 0.5em;
235254
}
255+
236256
/* span container in HTMLItem.tsx */
237257
#customHTMLElement {
238258
display: flex;
239259
flex-direction: row;
240260
justify-content: center;
241261
width: 125px;
242262
}
263+
243264
.component-input {
244265
bottom: 2.8%;
245266
}
267+
246268
.clear-workspace {
247269
top: 96%;
248270
position: sticky !important;
@@ -517,45 +539,46 @@ NAVBAR
517539
//////////////////////////////////////////
518540
*/
519541

520-
.main-navbar{
542+
.main-navbar {
521543
display: flex;
522544
justify-content: space-between;
523545
align-items: center;
524546
}
525547

526-
.main-logo{
548+
.main-logo {
527549
display: flex;
528550
align-items: center;
529551
gap: 10px;
530552
margin-left: 2vw;
531553
}
532554

533-
.main-logo h1{
555+
.main-logo h1 {
534556
color: #013365;
535557
}
536558

537-
.main-navbar svg{
559+
.main-navbar svg {
538560
width: 30px;
539561
height: 30px;
540562
color: gray;
541563
margin-right: 2vw;
542564
cursor: pointer;
543565
}
544566

545-
.navbar-icon:hover{
567+
.navbar-icon:hover {
546568
animation: spinningWheel 2s infinite;
547569
}
548570

549571
@keyframes spinningWheel {
550-
0%{
572+
0% {
551573
transform: rotate(0deg)
552574
}
553-
100%{
575+
576+
100% {
554577
transform: rotate(360deg)
555578
}
556579
}
557580

558-
.navDropDown{
581+
.navDropDown {
559582
position: absolute;
560583
border: 1px solid black;
561584
width: 20vw;
@@ -569,11 +592,11 @@ NAVBAR
569592
display: hidden;
570593
}
571594

572-
.hideNavDropDown{
595+
.hideNavDropDown {
573596
display: none;
574597
}
575598

576-
.navDropDown button{
599+
.navDropDown button {
577600
width: 90%;
578601
margin: 3px 5%;
579602
background-color: #009ae6;
@@ -585,16 +608,16 @@ NAVBAR
585608
align-items: center;
586609
}
587610

588-
.navDropDown p{
611+
.navDropDown p {
589612
margin: 3px 5%;
590613
}
591614

592-
.navDropDown button:hover{
615+
.navDropDown button:hover {
593616
cursor: pointer;
594617
background-color: #007ab8
595618
}
596619

597-
.navDropDown button svg{
620+
.navDropDown button svg {
598621
width: 20px;
599622
height: 20px;
600623
margin-left: 8px;
@@ -622,13 +645,14 @@ CANVAS WINDOW
622645
border-radius: 15px;
623646
font-size: 14px;
624647
color: rgb(32, 32, 32);
625-
box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%)
648+
box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%)
626649
}
627650

628651
.delete-button-empty:hover {
629652
color: white;
630653
background-color: rgb(71, 123, 186);
631654
}
655+
632656
.componentContainer {
633657
display: flex;
634658
flex-direction: column;
@@ -648,28 +672,35 @@ div.rst__rowContents {
648672
color: #eee;
649673
background-color: #333333;
650674
}
675+
651676
.rst__rowContentsDragDisabled {
652677
background-color: #333333;
653678
background-color: rgba(37, 37, 38, 0.4);
654679
}
680+
655681
.rst__moveHandle,
656682
.rst__loadingHandle {
657683
width: 40px;
658684
}
685+
659686
.rst_tree {
660687
overflow: auto;
661688
}
689+
662690
.rst__rowLabel {
663691
padding-right: 5px;
664692
}
693+
665694
.closeIcon:hover {
666695
cursor: pointer;
667696
}
697+
668698
a.nav_link {
669699
color: rgba(0, 0, 0, 0.87);
670700
cursor: pointer;
671701
text-decoration: none;
672702
}
703+
673704
a.nav_link:hover {
674705
color: #3ec1ac;
675706
text-decoration: underline;
@@ -684,13 +715,16 @@ a.nav_link:hover {
684715
background-color: rgb(213, 80, 164);
685716
opacity: 0.75;
686717
}
718+
687719
.inputName {
688720
margin-bottom: 35px;
689721
text-align: center;
690722
}
723+
691724
.oauth-bttn:hover {
692725
background-color: #4e76c7;
693726
}
727+
694728
.text-editor .bttn {
695729
position: absolute;
696730
bottom: 90px;
@@ -716,6 +750,7 @@ a.nav_link:hover {
716750
top: 30%;
717751
left: 30%;
718752
}
753+
719754
.useState-header {
720755
font-size: 35px;
721756
background-color: #003366;
@@ -727,9 +762,11 @@ a.nav_link:hover {
727762
font-family: 'Open Sans', sans-serif;
728763
border-radius: 15px 15px 0px 0px;
729764
}
765+
730766
.useState-dropdown {
731767
align-self: flex-start;
732768
}
769+
733770
.useState-window {
734771
width: 600px;
735772
height: 400px;
@@ -749,5 +786,4 @@ a.nav_link:hover {
749786

750787
li {
751788
color: black !important;
752-
}
753-
789+
}

0 commit comments

Comments
 (0)