mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Position: Cleanup up position demo CSS and add it to the within-visual-test
This commit is contained in:
parent
bfbb9e3b23
commit
927857ce84
@ -12,7 +12,7 @@
|
|||||||
<script src="../../ui/jquery.ui.position.js"></script>
|
<script src="../../ui/jquery.ui.position.js"></script>
|
||||||
<link rel="stylesheet" href="../demos.css">
|
<link rel="stylesheet" href="../demos.css">
|
||||||
<style>
|
<style>
|
||||||
div#parent {
|
#parent {
|
||||||
width: 60%;
|
width: 60%;
|
||||||
margin: 10px auto;
|
margin: 10px auto;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
@ -20,7 +20,7 @@
|
|||||||
background-color: #fbca93;
|
background-color: #fbca93;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
div.positionable {
|
.positionable {
|
||||||
width: 75px;
|
width: 75px;
|
||||||
height: 75px;
|
height: 75px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -30,16 +30,16 @@
|
|||||||
background-color: #bcd5e6;
|
background-color: #bcd5e6;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
div.ui-flipped-top {
|
.ui-flipped-top {
|
||||||
border-top: 3px solid #000000;
|
border-top: 3px solid #000000;
|
||||||
}
|
}
|
||||||
div.ui-flipped-bottom {
|
.ui-flipped-bottom {
|
||||||
border-bottom: 3px solid #000000;
|
border-bottom: 3px solid #000000;
|
||||||
}
|
}
|
||||||
div.ui-flipped-left {
|
.ui-flipped-left {
|
||||||
border-left: 3px solid #000000;
|
border-left: 3px solid #000000;
|
||||||
}
|
}
|
||||||
div.ui-flipped-right {
|
.ui-flipped-right {
|
||||||
border-right: 3px solid #000000;
|
border-right: 3px solid #000000;
|
||||||
}
|
}
|
||||||
select, input {
|
select, input {
|
||||||
@ -113,7 +113,7 @@
|
|||||||
<option value="left">left</option>
|
<option value="left">left</option>
|
||||||
<option value="center">center</option>
|
<option value="center">center</option>
|
||||||
<option value="right">right</option>
|
<option value="right">right</option>
|
||||||
</select>
|
</select>
|
||||||
<select id="my_vertical">
|
<select id="my_vertical">
|
||||||
<option value="top">top</option>
|
<option value="top">top</option>
|
||||||
<option value="middle">center</option>
|
<option value="middle">center</option>
|
||||||
|
@ -66,9 +66,20 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
background-color: #bcd5e6;
|
background-color: #bcd5e6;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border:solid 2px #555;
|
|
||||||
cursor:move;
|
cursor:move;
|
||||||
}
|
}
|
||||||
|
.ui-flipped-top {
|
||||||
|
border-top: 3px solid #000000;
|
||||||
|
}
|
||||||
|
.ui-flipped-bottom {
|
||||||
|
border-bottom: 3px solid #000000;
|
||||||
|
}
|
||||||
|
.ui-flipped-left {
|
||||||
|
border-left: 3px solid #000000;
|
||||||
|
}
|
||||||
|
.ui-flipped-right {
|
||||||
|
border-right: 3px solid #000000;
|
||||||
|
}
|
||||||
select, input {
|
select, input {
|
||||||
margin-left: 15px;
|
margin-left: 15px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user