Skip to content

Commit 3d0940b

Browse files
committed
commit
1 parent 7d454c3 commit 3d0940b

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

popup.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@ input {
3535
margin-top: 8px;
3636
}
3737

38+
#activate_textShadow {
39+
height: 16px;
40+
width: 16px;
41+
margin: 4px;
42+
background: rgba(12, 12, 13, 0.1);
43+
border: 1px rgba(12, 12, 13, 0.3);
44+
}
45+
46+
#activate_textShadow:checked {
47+
background: #0060df;
48+
}
49+
3850
p {
3951
width: 3cm;
4052
}
@@ -77,6 +89,10 @@ input[type="url"]:valid {
7789
box-shadow: 0 0 0 1px #00cc22, 0 0 0 4px rgba(0, 204, 34, 0.3)
7890
}
7991

92+
#textSadowOptions {
93+
display: none;
94+
}
95+
8096
#save_btn {
8197
color: #ffffff;
8298
background: #0060df;

popup.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ <h1 id="title">Selection customizer</h1>
1111
<!--<label>Url (optional): </label><br/><input type="url" placeholder="https://www.google.com/" id="url"><br/><br/>-->
1212
<label>Color: </label><br/><input type="text" placeholder="white" id="color"> <input id="color-picker-textColor" type="color"><br/><br/>
1313
<label>Background color: </label><br/><input type="text" placeholder="#007ef3" id="background_color"> <input id="color-picker-backgroundColor" type="color"><br/><br/>
14-
<!--<label>Text shadow color: </label><br/><input type="text" placeholder="none" id="shadow-color"> <input id="color-picker-shadowColor" type="color"><br/><br/>-->
14+
<input id="activate_textShadow" name="activate_textShadow" type="checkbox"><label for="activate_textShadow">Activate text shadow </label><br/><br/>
15+
<div id="textSadowOptions">
16+
<label>Text shadow color: </label><br/><input type="text" placeholder="none" id="shadow-color"> <input id="color-picker-shadowColor" type="color"><br/><br/>
17+
</div>
1518
<label>Preview: </label><br/><p id="preview">Lorem ipsum</p><br/><br/>
1619
<button type="submit" id="save_btn">Save</button>
1720
</form>

0 commit comments

Comments
 (0)