diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-17 08:43:31 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-10-08 14:02:47 -0400 |
commit | 50a7a3d6a9e4fe0e396661ad32a62f176ab24116 (patch) | |
tree | 1092afa5a64e2d8217beb2b420acc840cc8de046 /themes | |
parent | 3330634c4e4e6a1a7deff56a2d278ed9d8db0ce9 (diff) | |
download | jquery-ui-50a7a3d6a9e4fe0e396661ad32a62f176ab24116.tar.gz jquery-ui-50a7a3d6a9e4fe0e396661ad32a62f176ab24116.zip |
Controlgroup: Fixes for spinner
Diffstat (limited to 'themes')
-rw-r--r-- | themes/base/controlgroup.css | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/themes/base/controlgroup.css b/themes/base/controlgroup.css index 311b723cc..bda376deb 100644 --- a/themes/base/controlgroup.css +++ b/themes/base/controlgroup.css @@ -33,8 +33,10 @@ box-sizing: border-box; } .ui-controlgroup .ui-controlgroup-label { - font-size: .83em; - padding: .6em 1em; + padding: .4em 1em; +} +.ui-controlgroup .ui-controlgroup-label span { + font-size: 80%; } .ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item { border-left: none; @@ -45,3 +47,23 @@ .ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content { border-right: none; } +.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content { + border-bottom: none; +} + +/* Spinner specific style fixes */ +.ui-controlgroup-vertical .ui-spinner { + padding-right: .4em; +} +.ui-controlgroup-vertical .ui-spinner-input { + margin: .4em; + padding: 0; + + /* Support IE8, Android < 4.4 */ + width: 85%; + width: calc( 100% - 22px ); +} +.ui-controlgroup-vertical .ui-spinner .ui-spinner-up { + border-top-style: solid; +} + |