Skip to content
This repository has been archived by the owner. It is now read-only.

Commit 855baf7

Browse files
author
Lauren McCarthy
committed
prefs done
1 parent 707988b commit 855baf7

File tree

2 files changed

+45
-17
lines changed

2 files changed

+45
-17
lines changed

app/settings/style.scss

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,28 @@
6363
font-size: 16px;
6464
font-family: inconsolata;
6565
text-align: center;
66-
margin-right: 22px;
66+
margin: 0 18px;
67+
display: inline-block;
68+
vertical-align: top;
69+
}
70+
71+
.adjustButtonContainer {
72+
width: 43px;
73+
text-align: center;
74+
display: inline-block;
75+
vertical-align: top;
6776
}
6877

6978
.adjustButton {
70-
width: 36px;
71-
height: 36px;
79+
width: 32px;
80+
height: 32px;
7281
cursor: pointer;
73-
margin-right: 22px;
82+
}
83+
84+
.adjustButtonContainer label {
85+
font-size: 9px;
86+
color: #b5b5b5;
87+
margin-top: 8px;
7488
}
7589

7690
input:focus {
@@ -202,6 +216,10 @@
202216
display: inline;
203217
}
204218

219+
#indentOptions {
220+
margin-left: 12px;
221+
}
222+
205223
#indentOptions .radioSelection {
206224
margin-bottom: 10px;
207225
margin-right: 0px;

app/settings/template.html

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,35 @@
77
<!-- Text size -->
88
<div class="section">
99
<p class="label">Text size</p>
10-
<img class="adjustButton button" src="images/minus-button.svg" v-on="click: decreaseFontSize">
10+
<span class="adjustButtonContainer">
11+
<img class="adjustButton button" src="images/minus-button.svg" v-on="click: decreaseFontSize">
12+
<label>Decrease</label>
13+
</span>
1114
<input id="textAdjustInput" type="text" v-model="fontSize" size=3>
12-
<img class="adjustButton button" src="images/plus-button.svg" v-on="click: increaseFontSize">
15+
<span class="adjustButtonContainer">
16+
<img class="adjustButton button" src="images/plus-button.svg" v-on="click: increaseFontSize">
17+
<label>Increase</label>
18+
</span>
1319
</div>
1420

1521
<!-- Indentation amount -->
1622
<div id="indentation" class="section">
1723
<p class="label">Indentation amount</p>
18-
<div id="indentationAmount">
24+
<span class="adjustButtonContainer">
1925
<img class="adjustButton button" src="images/minus-button.svg" v-on="click: decreaseTabSize">
20-
<input id="tabSize" type="text" v-model="tabSizeDisplay" size=3 v-on="change: updateTabSize">
26+
<label>Decrease</label>
27+
</span>
28+
<input id="tabSize" type="text" v-model="tabSizeDisplay" size=3 v-on="change: updateTabSize">
29+
<span class="adjustButtonContainer">
2130
<img class="adjustButton button" src="images/plus-button.svg" v-on="click: increaseTabSize">
22-
</div>
31+
<label>Increase</label>
32+
</span>
2333

2434
<div id="indentOptions" class="hiddenRadio radioOptions">
2535
<input type="radio" value="spaces" id="tabTypeS" v-model="tabType">
26-
<label class="radioSelection" for="tabTypeS">spaces</label>
36+
<label class="radioSelection" for="tabTypeS">Spaces</label>
2737
<input type="radio" value="tabs" id="tabTypeT" v-model="tabType">
28-
<label class="radioSelection" for="tabTypeT">tabs</label>
38+
<label class="radioSelection" for="tabTypeT">Tabs</label>
2939
</div>
3040
</div>
3141

@@ -34,9 +44,9 @@
3444
<p class="label">Word wrap</p>
3545
<div id="wwOptions" class="hiddenRadio radioOptions">
3646
<input type="radio" value="true" id="wordWrapOn" v-model="wordWrap">
37-
<label class="radioSelection" for="wordWrapOn">on</label>
47+
<label class="radioSelection" for="wordWrapOn">On</label>
3848
<input type="radio" value="false" id="wordWrapOff" v-model="wordWrap">
39-
<label class="radioSelection" for="wordWrapOff">off</label>
49+
<label class="radioSelection" for="wordWrapOff">Off</label>
4050
</div>
4151
</div>
4252

@@ -45,9 +55,9 @@
4555
<p class="label">Run in browser</p>
4656
<div id="ribOptions" class="hiddenRadio radioOptions">
4757
<input type="radio" value=true id="runInBrowserOn" v-model="runInBrowser">
48-
<label class="radioSelection" for="runInBrowserOn">on</label>
58+
<label class="radioSelection" for="runInBrowserOn">On</label>
4959
<input type="radio" value=false id="runInBrowserOff" v-model="runInBrowser">
50-
<label class="radioSelection" for="runInBrowserOff">off</label>
60+
<label class="radioSelection" for="runInBrowserOff">Off</label>
5161
</div>
5262
</div>
5363

@@ -71,9 +81,9 @@
7181
<p class="label">Show sidebar</p>
7282
<div id="ssOptions" class="hiddenRadio radioOptions">
7383
<input type="radio" value="true" id="showSidebarOn" v-model="showSidebar">
74-
<label class="radioSelection" for="showSidebarOn">on</label>
84+
<label class="radioSelection" for="showSidebarOn">On</label>
7585
<input type="radio" value="false" id="showSidebarOff" v-model="showSidebar">
76-
<label class="radioSelection" for="showSidebarOff">off</label>
86+
<label class="radioSelection" for="showSidebarOff">Off</label>
7787
</div>
7888
</div>
7989

0 commit comments

Comments
 (0)