tests/visual: Added some rounded corners

This commit is contained in:
Richard Worth 2008-12-13 12:05:56 +00:00
parent 24f2b7794c
commit b22aa06531
3 changed files with 47 additions and 10 deletions

View File

@ -1,9 +1,23 @@
body { font-size: 62.5%; margin: 0; padding: 20px; background: #191919; } body { font-size: 62.5%; margin: 0; padding: 20px; background: #191919; }
ul.plugins { margin: 0; padding: 0; } ul.plugins {
ul.plugins li.plugin { margin: 0 12px 12px 0; margin: 0;
list-style-type: none; width: 210px; height: 220px; float: left; padding: 0;
color: white; border: 1px solid gray; text-align: center; font-weight: bold; } }
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, #accordion, #draggable,
#resizable, #selectable, #sortable { #resizable, #selectable, #sortable {
@ -11,17 +25,22 @@ ul.plugins li.plugin { margin: 0 12px 12px 0;
width: 190px; height: 180px; width: 190px; height: 180px;
text-align: center; text-align: center;
background: #FF9C08; color: white; font-weight: bold; background: #FF9C08; color: white; font-weight: bold;
-moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
} }
#accordion { #accordion {
background: none; background: none;
text-align: left; text-align: left;
} }
#progressbar { #datepicker, #dialog, #progressbar, #slider {
margin: 10px; margin: 10px;
} }
#datepicker {
margin-left: 0;
}
#selectable div { #selectable div {
width: 45px; height: 45px; float: left; margin: 6px; width: 45px; height: 45px; float: left; margin: 6px;
border: 1px solid white; border: 1px solid white;
-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
} }
#selectable .ui-selecting { #selectable .ui-selecting {
background: gray; background: gray;
@ -32,6 +51,7 @@ ul.plugins li.plugin { margin: 0 12px 12px 0;
#sortable div { #sortable div {
width: 45px; height: 45px; float: left; margin: 6px; width: 45px; height: 45px; float: left; margin: 6px;
border: 1px solid white; border: 1px solid white;
-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
} }
#sortable .ui-sortable-helper { #sortable .ui-sortable-helper {
background: black; background: black;
@ -40,6 +60,23 @@ ul.plugins li.plugin { margin: 0 12px 12px 0;
text-align: left; text-align: left;
} }
.draggable { margin: 10px; width: 32px; height: 30px; float: left; background: #FF9C08; } .draggable {
#droppable { margin: 10px; width: 190px; height: 130px; float: left; border: 1px solid #FF9C08; overflow: hidden; } margin: 10px;
#droppable .draggable { margin: 7px; } 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;
}

View File

@ -70,7 +70,7 @@
</li> </li>
<li class="plugin"> <li class="plugin">
Datepicker Datepicker
<div style="text-align:left;margin-left:10px;"> <div>
<input type="text" id="datepicker"> <input type="text" id="datepicker">
</div> </div>
</li> </li>

View File

@ -18,7 +18,7 @@
<ul class="plugins"> <ul class="plugins">
<li class="plugin"> <li class="plugin">
Datepicker Datepicker
<div style="text-align:left;margin-left:10px;"> <div>
<input type="text" id="datepicker"> <input type="text" id="datepicker">
</div> </div>
</li> </li>