Skip to content

Commit a0f6b28

Browse files
committed
Merge uncomputable#11: New styling changes applied
7f59ad0 New styling changes applied (Daniel Petersen) Pull request description: Rounded corners, colors etc https://www.figma.com/file/39B6l8anfOrMspFdv1qst3/Simplicity-Web-IDE?type=design&node-id=0-1&mode=design&t=rWZQU5RF8c3QD5Eb-0#790710681 ACKs for top commit: uncomputable: ACK 7f59ad0 Tree-SHA512: 25df96aa41669f543c0bbc9c5399d3a65b59742dd22d86200702e5950bbe0b2cf3c31c2c3f8a7466253ab55aa8e6ecaf6034fedf709e340eedd8131dee59d8f5
2 parents 7dd58a0 + 7f59ad0 commit a0f6b28

File tree

5 files changed

+34
-8
lines changed

5 files changed

+34
-8
lines changed

src/assets/style/components/analysis.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
margin-top: 40px;
44
padding: 30px;
55
background-color: $background-light;
6+
border-radius: 7.5px;
67

78
.analysis-header {
89
.analysis-title {
@@ -18,9 +19,9 @@
1819
}
1920

2021
.program-status{
21-
border: 1px dotted #00ff00;
22-
color: #00ff00;
23-
padding: 8px 20px;
22+
border: 1px dotted #7eff18;
23+
color: #7eff18;
24+
padding: 12px 20px;
2425
font-size: 13px;
2526
margin-bottom: 8px;
2627
display: flex;

src/assets/style/components/program_input.scss

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.program-input{
33
background-color: $background-light;
44
padding: 30px;
5+
border-radius: 7.5px;
56

67
&-header{
78
margin-bottom: 10px;
@@ -110,6 +111,7 @@
110111
line-height: 24px;
111112
&:hover {
112113
cursor: pointer;
114+
background: #7973f4;
113115
}
114116
}
115117
}
@@ -121,6 +123,9 @@
121123
max-width: 100%;
122124
display: inline-block;
123125
width: fit-content;
126+
border-radius: 7.5px;
127+
border: 1px solid #363636;
128+
overflow: hidden;
124129

125130
.example-program-select {
126131
max-width: 100%;
@@ -129,7 +134,7 @@
129134
color: $text-grey;
130135
background-color: $background-dark;
131136
width: 200px;
132-
border: 1px solid #363636;
137+
border: none;
133138

134139
-webkit-appearance: none;
135140
-moz-appearance: none;
@@ -146,6 +151,13 @@
146151
font-weight: 100;
147152
font-size: 26px;
148153
color: $text-white;
154+
pointer-events: none;
155+
156+
&.loading {
157+
font-size: 20px;
158+
top: 10px;
159+
right: 14px;
160+
}
149161
}
150162
}
151163

@@ -154,7 +166,7 @@
154166
background-color: $background-dark;
155167
border-radius: 7.5px;
156168
border: 1px solid rgba(255, 255, 255, 0.10);
157-
color: #88ddff;
169+
color: #c2c2ff;
158170
font-family: 'Roboto Mono';
159171
font-size: 12px;
160172
resize: none;
@@ -163,8 +175,16 @@
163175
outline: none;
164176
}
165177

166-
// overflow-x: auto;
167178
scrollbar-color: $background-dark #424242;
168179
scrollbar-width: thin;
169180
}
181+
182+
.rotate {
183+
animation: rotate 1s infinite linear;
184+
}
185+
186+
@keyframes rotate {
187+
from { transform: rotate(0deg); }
188+
to { transform: rotate(360deg) }
189+
}
170190
}

src/assets/style/helpers.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
$text-grey: #B5BDC2;
1111
$text-white: #FFF;
12+
$body-background: #0d0f11;
1213
$background-light: #1D2127;
1314
$background-dark: #191C21;
1415

src/assets/style/style.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@
88
box-sizing: border-box;
99
}
1010

11+
html {
12+
scrollbar-color: $background-dark #424242;
13+
scrollbar-width: thin;
14+
}
15+
1116
body {
12-
background-color: $background-dark;
17+
background-color: $body-background;
1318
color: $text-white;
1419
font-family: 'inter', sans-serif;
1520
padding-bottom: 400px;

src/components/app.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ pub fn App() -> impl IntoView {
9595
"Run program"
9696
</button>
9797
</div>
98-
9998
</div>
10099
</div>
101100

0 commit comments

Comments
 (0)