Skip to content

Commit fa6ad54

Browse files
committed
Better sortable grabbing
Minor ui tweaks Former-commit-id: 8ef3c17
1 parent b92eccf commit fa6ad54

8 files changed

+3747
-15
lines changed

jQuery/jquery-ui-1.12.1.custom/jquery-ui.js

Lines changed: 3692 additions & 0 deletions
Large diffs are not rendered by default.

jQuery/jquery-ui-1.12.1.custom/jquery-ui.min.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jQuery/jquery-ui-1.12.1.custom/jquery-ui.min.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jQuery/ui-icons_455C7B_256x240.png

4.44 KB
Loading

jQuery/ui-icons_DA727E_256x240.png

4.44 KB
Loading

jQuery/ui-icons_ffffff_256x240.png

6.15 KB
Loading

options.css

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
color: #DA727E;
7070
border-left-style: solid;
71-
border-left-color: #FFBC67;
71+
border-left-color: #455C7B;
7272
border-left-width: 1px;
7373
margin-left: 5px;
7474
padding-left: 25px;
@@ -77,9 +77,7 @@
7777

7878
.context-cache {
7979
display: flex;
80-
/*margin: 0 3px 3px 3px;*/
8180
justify-content: flex-start;
82-
cursor: hand;
8381
}
8482

8583
.context-cache .checkbox-wrapper {
@@ -110,12 +108,28 @@ input:checked + .context-menu-label {
110108
display: none;
111109
}
112110

111+
span.ui-icon {
112+
display: flex;
113+
114+
-webkit-transform: scale(2.5);
115+
color: white;
116+
margin-top: 0px;
117+
margin-left: 5px;
118+
background-image: url(jQuery/ui-icons_FFFFFF_256x240.png);
119+
}
120+
113121
.list-item {
122+
display: flex;
123+
flex-direction: row-reverse;
124+
align-items: center;
125+
justify-content: flex-end;
126+
127+
114128
background-color: #455C7B;
115129
margin: 3px 3px 3px 3px;
116130
padding: 10px;
117131
border: 1px solid #ddd;
118-
cursor: hand;
132+
cursor: -webkit-grab;
119133
border-radius: 22px;
120134
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
121135
}
@@ -126,7 +140,8 @@ input:checked + .context-menu-label {
126140

127141
.list-item p {
128142
text-align: center;
129-
color: #DA727E;
143+
color: #FFFFFF;
144+
margin-left: 10px;
130145
}
131146

132147
.title {
@@ -145,7 +160,7 @@ h3 {
145160
}
146161

147162
.setting-definition p {
148-
color: #685C79;
163+
color: #DA727E;
149164
padding-right: 10px;
150165
}
151166

@@ -191,12 +206,12 @@ h3 {
191206
.onoffswitch-inner:before {
192207
content: "ON";
193208
padding-left: 10px;
194-
background-color: #FFBC67; color: #DA727E;
209+
background-color: #DA727E; color: #FFFFFF;
195210
}
196211
.onoffswitch-inner:after {
197212
content: "OFF";
198213
padding-right: 10px;
199-
background-color: #DA727E; color: #FFBC67;
214+
background-color: #685C79; color: #FFFFFF;
200215
text-align: right;
201216
}
202217
.onoffswitch-switch {

options.html

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
<meta charset="utf-8">
44
<title>WebCache Options</title>
55

6-
<link rel="stylesheet" href="options.css" />
6+
<link rel="stylesheet" href="options.css" />
7+
<link rel="stylesheet" href="jQuery/jquery-ui-1.12.1.custom/jquery-ui.min.css" />
8+
9+
<script src="jQuery/jquery-ui-1.12.1.custom/external/jquery/jquery.js"></script>
10+
<script src="jQuery/jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
711

8-
<script src="jQuery/jquery-1.10.2.js"></script>
9-
<script src="jQuery/jquery-ui-1.10.4.custom.min.js"></script>
1012

1113
</head>
1214

@@ -37,9 +39,18 @@ <h3 class="title">WebCache Options</h3>
3739
<div class="settings-wrapper">
3840
<div class="setting">
3941
<ul id="sortable">
40-
<li class="list-item" id="Google Cache"><p>Google Cache</p></li>
41-
<li class="list-item" id="Wayback Machine"><p>Wayback Machine</p></li>
42-
<li class="list-item" id="Coral CDN"><p>Coral CDN</p></li>
42+
<li class="list-item" id="Google Cache">
43+
<p>Google Cache</p>
44+
<span class="ui-icon ui-icon-grip-dotted-horizontal icon"></span>
45+
</li>
46+
<li class="list-item" id="Wayback Machine">
47+
<p>Wayback Machine</p>
48+
<span class="ui-icon ui-icon-grip-dotted-horizontal icon"></span>
49+
</li>
50+
<li class="list-item" id="Coral CDN">
51+
<p>Coral CDN</p>
52+
<span class="ui-icon ui-icon-grip-dotted-horizontal icon"></span>
53+
</li>
4354
</ul>
4455
</div>
4556
<div class="setting-definition">
@@ -58,7 +69,7 @@ <h3 class="title">WebCache Options</h3>
5869
</div>
5970
</div>
6071
<div class="setting-definition">
61-
<p> Would you like for WebCache to automatically detect when a web page is down and
72+
<p>DDOS Protection. Would you like for WebCache to automatically detect when a web page is down and
6273
load a cached copy?</p>
6374
</div>
6475
</div>

0 commit comments

Comments
 (0)