Skip to content

Commit b22aa06

Browse files
committed
tests/visual: Added some rounded corners
1 parent 24f2b77 commit b22aa06

3 files changed

Lines changed: 47 additions & 10 deletions

File tree

tests/visual/all.css

Lines changed: 45 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,46 @@
11

22
body { font-size: 62.5%; margin: 0; padding: 20px; background: #191919; }
3-
ul.plugins { margin: 0; padding: 0; }
4-
ul.plugins li.plugin { margin: 0 12px 12px 0;
5-
list-style-type: none; width: 210px; height: 220px; float: left;
6-
color: white; border: 1px solid gray; text-align: center; font-weight: bold; }
3+
ul.plugins {
4+
margin: 0;
5+
padding: 0;
6+
}
7+
ul.plugins li.plugin {
8+
margin: 0 12px 12px 0;
9+
list-style-type: none;
10+
width: 210px;
11+
height: 220px;
12+
float: left;
13+
color: white;
14+
border: 1px solid gray;
15+
text-align: center;
16+
font-weight: bold;
17+
}
18+
li.plugin {
19+
-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
20+
}
721

822
#accordion, #draggable,
923
#resizable, #selectable, #sortable {
1024
margin: 10px;
1125
width: 190px; height: 180px;
1226
text-align: center;
1327
background: #FF9C08; color: white; font-weight: bold;
28+
-moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
1429
}
1530
#accordion {
1631
background: none;
1732
text-align: left;
1833
}
19-
#progressbar {
34+
#datepicker, #dialog, #progressbar, #slider {
2035
margin: 10px;
2136
}
37+
#datepicker {
38+
margin-left: 0;
39+
}
2240
#selectable div {
2341
width: 45px; height: 45px; float: left; margin: 6px;
2442
border: 1px solid white;
43+
-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
2544
}
2645
#selectable .ui-selecting {
2746
background: gray;
@@ -32,6 +51,7 @@ ul.plugins li.plugin { margin: 0 12px 12px 0;
3251
#sortable div {
3352
width: 45px; height: 45px; float: left; margin: 6px;
3453
border: 1px solid white;
54+
-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
3555
}
3656
#sortable .ui-sortable-helper {
3757
background: black;
@@ -40,6 +60,23 @@ ul.plugins li.plugin { margin: 0 12px 12px 0;
4060
text-align: left;
4161
}
4262

43-
.draggable { margin: 10px; width: 32px; height: 30px; float: left; background: #FF9C08; }
44-
#droppable { margin: 10px; width: 190px; height: 130px; float: left; border: 1px solid #FF9C08; overflow: hidden; }
45-
#droppable .draggable { margin: 7px; }
63+
.draggable {
64+
margin: 10px;
65+
width: 32px;
66+
height: 30px;
67+
float: left;
68+
background: #FF9C08;
69+
-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
70+
}
71+
#droppable {
72+
margin: 10px;
73+
width: 190px;
74+
height: 130px;
75+
float: left;
76+
border: 1px solid #FF9C08;
77+
overflow: hidden;
78+
-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
79+
}
80+
#droppable .draggable {
81+
margin: 7px;
82+
}

tests/visual/all.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ <h3><a href="#">Third</a></h3>
7070
</li>
7171
<li class="plugin">
7272
Datepicker
73-
<div style="text-align:left;margin-left:10px;">
73+
<div>
7474
<input type="text" id="datepicker">
7575
</div>
7676
</li>

tests/visual/datepicker.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<ul class="plugins">
1919
<li class="plugin">
2020
Datepicker
21-
<div style="text-align:left;margin-left:10px;">
21+
<div>
2222
<input type="text" id="datepicker">
2323
</div>
2424
</li>

0 commit comments

Comments
 (0)