aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-08-12 11:24:30 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-10-08 14:02:47 -0400
commit6c1390dc0d3c4f9f24196adf3aeba5a0566866e7 (patch)
tree6c5cf81a829ce627a9f423ce2b513bb3d935bb93 /themes
parent77be50d7a65cc5d139f212906463ab97a0cc8689 (diff)
downloadjquery-ui-6c1390dc0d3c4f9f24196adf3aeba5a0566866e7.tar.gz
jquery-ui-6c1390dc0d3c4f9f24196adf3aeba5a0566866e7.zip
Controlgroup: Add controlgroup labels
Diffstat (limited to 'themes')
-rw-r--r--themes/base/controlgroup.css25
1 files changed, 17 insertions, 8 deletions
diff --git a/themes/base/controlgroup.css b/themes/base/controlgroup.css
index b801f4565..3d57b11f6 100644
--- a/themes/base/controlgroup.css
+++ b/themes/base/controlgroup.css
@@ -12,12 +12,15 @@
.ui-controlgroup {
vertical-align: middle;
}
-.ui-controlgroup > .ui-button {
+.ui-controlgroup > .ui-controlgroup-item {
float: left;
margin-left: 0;
margin-right: 0;
}
-.ui-controlgroup-vertical > .ui-button {
+.ui-controlgroup > .ui-controlgroup-item:focus {
+ z-index: 9999;
+}
+.ui-controlgroup-vertical > .ui-controlgroup-item {
display: block;
float: none;
width: 100%;
@@ -25,12 +28,18 @@
margin-bottom: 0;
text-align: left;
}
-.ui-controlgroup-vertical label.ui-button {
+.ui-controlgroup-vertical .ui-controlgroup-item {
box-sizing: border-box;
}
-.ui-controlgroup .ui-spinner {
- padding-top: .225em;
- padding-bottom: .225em;
- border-color: #ccc;
- float: left;
+.ui-controlgroup-label {
+ padding: .4em 1em;
+}
+.ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item {
+ border-left: none;
+}
+.ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item {
+ border-top: none;
+}
+.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content {
+ border-right: none;
}