Skip to content

Commit b0b723e

Browse files
committed
Popup UI updated
1 parent 4f5d293 commit b0b723e

File tree

2 files changed

+25
-8
lines changed

2 files changed

+25
-8
lines changed

popup/css/style.css

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
*::before {
77
box-sizing: border-box;
88
font-size: 15px;
9+
margin: 0;
10+
padding: 0;
911
}
1012

1113
body {
12-
width: 200px;
14+
width: 250px;
1315
margin-bottom: 0;
1416
padding-bottom: 0;
1517
}
@@ -19,25 +21,36 @@ body {
1921
font-size: 20px;
2022
font-weight: 600;
2123
letter-spacing: 0.9px;
22-
padding: 5px 0px;
23-
margin: -10px -25px 10px -25px;
24+
padding: 15px 0px;
2425
display: block;
2526
background-color: #d5d5d5;
2627
}
2728

29+
.header > p {
30+
font-size: 12px;
31+
font-style: italic;
32+
font-weight: 400;
33+
margin-top: 5px;
34+
}
35+
2836
.footer {
2937
text-align: center;
3038
font-size: 18px;
3139
font-weight: 600;
3240
letter-spacing: 0.9px;
33-
margin: 6px -25px 0px -25px;
3441
background-color: #d5d5d5;
3542
display: block;
36-
padding: 5px 0px;
43+
padding: 5px ;
44+
}
45+
46+
.footer > p {
47+
font-size: 10px;
48+
padding: 10px;
3749
}
3850

3951
.content {
40-
padding: 0px 5px 5px 5px;
52+
width: 90%;
53+
margin: auto;
4154
}
4255

4356
.row {
@@ -55,6 +68,7 @@ body {
5568
margin: auto;
5669
border-radius: 5px;
5770
padding: 8px 3px;
71+
width: 100%;
5872
}
5973

6074
.show {

popup/popup.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
Live Server
1515
<div></div>
1616
Web Extension
17+
18+
<p>"Makes your existing server live"</p>
1719
</div>
1820
<div class="content">
1921
<div class="row">
@@ -37,14 +39,14 @@
3739
<div class="row">
3840
<div>
3941
<label class="form-label" for="actualServer">Actual Server Address</label>
40-
<input class="form-control" type="text" id="actualServer" placeholder="http://localhost:80/php/">
42+
<input class="form-control" type="text" id="actualServer" placeholder="http://Your Server Address">
4143
</div>
4244
</div>
4345

4446
<div class="row">
4547
<div>
4648
<label class="form-label" for="liveServer">Live Server Address</label>
47-
<input class="form-control" type="text" id="liveServer" placeholder="http://127.0.0.1:5500/">
49+
<input class="form-control" type="text" id="liveServer" placeholder="Eg. http://127.0.0.1:5500/">
4850
<a class="short-right-label" target="_blank" href="https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer">Install Live Server</a>
4951
</div>
5052
</div>
@@ -55,6 +57,7 @@
5557
</div>
5658
<div class="footer">
5759
<a target="_blank" href="https://github.com/ritwickdey/live-server-web-extension">Need Help?</a>
60+
<p>NOTE: You need two server. Live Server will give `live` power of your existing server (May be Wamp, XAMPP or IIS or Node.js)</p>
5861
</div>
5962
<script src="./popup.js"></script>
6063
</body>

0 commit comments

Comments
 (0)