Skip to content

Commit

Permalink
tests/visual: Added some rounded corners
Browse files Browse the repository at this point in the history
  • Loading branch information
rdworth committed Dec 13, 2008
1 parent 24f2b77 commit b22aa06
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 10 deletions.
53 changes: 45 additions & 8 deletions tests/visual/all.css
@@ -1,27 +1,46 @@


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 {
margin: 10px; margin: 10px;
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;
Expand All @@ -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;
Expand All @@ -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;
}
2 changes: 1 addition & 1 deletion tests/visual/all.html
Expand Up @@ -70,7 +70,7 @@ <h3><a href="#">Third</a></h3>
</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>
Expand Down
2 changes: 1 addition & 1 deletion tests/visual/datepicker.html
Expand Up @@ -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>
Expand Down

0 comments on commit b22aa06

Please sign in to comment.