Skip to content

Commit 2b017ea

Browse files
committed
Remove iPhone Theme.
1 parent 1de9ae5 commit 2b017ea

File tree

3 files changed

+3
-78
lines changed

3 files changed

+3
-78
lines changed

css/switcher.css

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -233,51 +233,6 @@ background: linear-gradient(#e4e4e4, #f9f9f9);
233233
/* ------------ END THEME DARK ------------ */
234234

235235

236-
/* ------------ THEME iPHONE ------------ */
237-
.swraper.iphone
238-
{
239-
-webkit-box-shadow: 0 0 0 1px #999;
240-
box-shadow: 0 0 0 1px #999;
241-
border: 1px solid #999;
242-
}
243-
244-
.swraper.iphone .stoggler
245-
{
246-
-webkit-box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.4), inset 2px 2px 3px rgba( 0, 0, 0, .2 );
247-
box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 2px rgba( 0, 0, 0, .2 );
248-
background: #ECECEC;
249-
250-
color: #828282;
251-
text-shadow: 0 0 1px white;
252-
font-size: 11px;
253-
font-weight: bold;
254-
}
255-
256-
.swraper.iphone .stoggler.on
257-
{
258-
-webkit-box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.4);
259-
box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.4);
260-
261-
background: #037bda;
262-
color: #ffe;
263-
}
264-
265-
.swraper.iphone .stoggler .sblob
266-
{
267-
border-radius: 50px;
268-
background: -webkit-linear-gradient(#d1d1d1 0%, #fafafa 100%);
269-
background: -o-linear-gradient(#d1d1d1 0%, #fafafa 100%);
270-
background: radial-gradient( circle, #fefefe 0%, #fefefe 20%, #cfcfcf 21%, #cfcfcf 22%, #fefefe 26%, #fefefe 50%, #dedede 51%, #dedede 56%, #fefefe 59% );
271-
272-
border: 1px solid #999;
273-
}
274-
275-
.swraper.iphone .stoggler .sblob:hover{}
276-
277-
.swraper.iphone .stoggler .slabel-on, .swraper.iphone .stoggler .slabel-off{}
278-
279-
/* ------------ END THEME iPHONE ------------ */
280-
281236
/* ------------ THEME FLAT ------------ */
282237

283238
.swraper.flat

index.html

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
$('.level :radio').switcher({
3434
// dir:'ltr',
3535
// reverse: true,
36-
theme: 'iphone',
37-
width: 70,
36+
theme: 'flat',
37+
// width: 70,
3838
blobOffset: 1,
3939

4040

@@ -69,18 +69,6 @@
6969

7070
});
7171

72-
$('.hoppies :checkbox').switcher(
73-
{
74-
theme: 'flat',
75-
// blobOffset: 3,
76-
});
77-
78-
$('.test :checkbox').switcher(
79-
{
80-
theme: 'material',
81-
// blobOffset: 3,
82-
});
83-
8472
};
8573

8674

@@ -127,24 +115,6 @@ <h4>CheckBoxs</h4>
127115
<input type="checkbox" name="users_id[]" value="2" />
128116
</div>
129117

130-
<div class="hoppies">
131-
<h4>Hoppies</h4>
132-
133-
<label >singing </label>
134-
<input type="checkbox" name="singing" value="1" checked /><br />
135-
<label >drawing </label>
136-
<input type="checkbox" name="drawing" value="1" disabled/>
137-
</div>
138-
139-
<div class="test">
140-
<h4>Testing Material</h4>
141-
142-
<label >singing </label>
143-
<input type="checkbox" name="singing" value="1" checked /><br />
144-
<label >drawing </label>
145-
<input type="checkbox" name="drawing" value="1"/>
146-
</div>
147-
148118
</section>
149119

150120

js/switcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
$blob: $( '<span>', {'class': 'sblob'} ),
1616

1717
// Allowed Themes
18-
themes: [ 'light', 'modern', 'dark', 'iphone', 'flat', 'material' ],
18+
themes: [ 'light', 'modern', 'dark', 'flat' ],
1919

2020
};
2121

0 commit comments

Comments
 (0)