aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-12-13 12:05:56 +0000
committerRichard Worth <rdworth@gmail.com>2008-12-13 12:05:56 +0000
commitb22aa06531a8333b926efe623db7ae4029912e34 (patch)
tree92eab0a1cf0648338e92a3f09ed8f651d3a69d55 /tests
parent24f2b7794c6fa4e57c825a36b5b2ef6284a99471 (diff)
downloadjquery-ui-b22aa06531a8333b926efe623db7ae4029912e34.tar.gz
jquery-ui-b22aa06531a8333b926efe623db7ae4029912e34.zip
tests/visual: Added some rounded corners
Diffstat (limited to 'tests')
-rw-r--r--tests/visual/all.css53
-rw-r--r--tests/visual/all.html2
-rw-r--r--tests/visual/datepicker.html2
3 files changed, 47 insertions, 10 deletions
diff --git a/tests/visual/all.css b/tests/visual/all.css
index 797535027..4fd39d5ac 100644
--- a/tests/visual/all.css
+++ b/tests/visual/all.css
@@ -1,9 +1,23 @@
body { font-size: 62.5%; margin: 0; padding: 20px; background: #191919; }
-ul.plugins { margin: 0; padding: 0; }
-ul.plugins li.plugin { margin: 0 12px 12px 0;
- list-style-type: none; width: 210px; height: 220px; float: left;
- color: white; border: 1px solid gray; text-align: center; font-weight: bold; }
+ul.plugins {
+ margin: 0;
+ padding: 0;
+}
+ul.plugins li.plugin {
+ margin: 0 12px 12px 0;
+ list-style-type: none;
+ width: 210px;
+ height: 220px;
+ float: left;
+ color: white;
+ border: 1px solid gray;
+ text-align: center;
+ font-weight: bold;
+}
+li.plugin {
+ -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
+}
#accordion, #draggable,
#resizable, #selectable, #sortable {
@@ -11,17 +25,22 @@ ul.plugins li.plugin { margin: 0 12px 12px 0;
width: 190px; height: 180px;
text-align: center;
background: #FF9C08; color: white; font-weight: bold;
+ -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
}
#accordion {
background: none;
text-align: left;
}
-#progressbar {
+#datepicker, #dialog, #progressbar, #slider {
margin: 10px;
}
+#datepicker {
+ margin-left: 0;
+}
#selectable div {
width: 45px; height: 45px; float: left; margin: 6px;
border: 1px solid white;
+ -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
}
#selectable .ui-selecting {
background: gray;
@@ -32,6 +51,7 @@ ul.plugins li.plugin { margin: 0 12px 12px 0;
#sortable div {
width: 45px; height: 45px; float: left; margin: 6px;
border: 1px solid white;
+ -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
}
#sortable .ui-sortable-helper {
background: black;
@@ -40,6 +60,23 @@ ul.plugins li.plugin { margin: 0 12px 12px 0;
text-align: left;
}
-.draggable { margin: 10px; width: 32px; height: 30px; float: left; background: #FF9C08; }
-#droppable { margin: 10px; width: 190px; height: 130px; float: left; border: 1px solid #FF9C08; overflow: hidden; }
-#droppable .draggable { margin: 7px; }
+.draggable {
+ margin: 10px;
+ width: 32px;
+ height: 30px;
+ float: left;
+ background: #FF9C08;
+ -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
+}
+#droppable {
+ margin: 10px;
+ width: 190px;
+ height: 130px;
+ float: left;
+ border: 1px solid #FF9C08;
+ overflow: hidden;
+ -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
+}
+#droppable .draggable {
+ margin: 7px;
+}
diff --git a/tests/visual/all.html b/tests/visual/all.html
index e5a167568..56be279df 100644
--- a/tests/visual/all.html
+++ b/tests/visual/all.html
@@ -70,7 +70,7 @@
</li>
<li class="plugin">
Datepicker
- <div style="text-align:left;margin-left:10px;">
+ <div>
<input type="text" id="datepicker">
</div>
</li>
diff --git a/tests/visual/datepicker.html b/tests/visual/datepicker.html
index b9e48a3a6..48e101c9c 100644
--- a/tests/visual/datepicker.html
+++ b/tests/visual/datepicker.html
@@ -18,7 +18,7 @@
<ul class="plugins">
<li class="plugin">
Datepicker
- <div style="text-align:left;margin-left:10px;">
+ <div>
<input type="text" id="datepicker">
</div>
</li>