diff options
author | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2010-05-04 13:17:58 +0000 |
---|---|---|
committer | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2010-05-04 13:17:58 +0000 |
commit | b9d97b16fa108da637443242c35921aa163aa211 (patch) | |
tree | ab59e0f2a6beb6d1e184e101cf9bd87bbdbdceb1 /WebContent/VAADIN/themes/runo/orderedlayout | |
parent | 2924b070b44a3f140dca181204187c31d5ac8739 (diff) | |
download | vaadin-framework-b9d97b16fa108da637443242c35921aa163aa211.tar.gz vaadin-framework-b9d97b16fa108da637443242c35921aa163aa211.zip |
Dozens of enhancements and fixes to Runo theme, containing new sub-styles for several components such as buttons, tables, accordions, windows, layouts, splitpanels and others.
svn changeset:13024/svn branch:6.4
Diffstat (limited to 'WebContent/VAADIN/themes/runo/orderedlayout')
-rw-r--r-- | WebContent/VAADIN/themes/runo/orderedlayout/orderedlayout.css | 90 |
1 files changed, 86 insertions, 4 deletions
diff --git a/WebContent/VAADIN/themes/runo/orderedlayout/orderedlayout.css b/WebContent/VAADIN/themes/runo/orderedlayout/orderedlayout.css index e9c431ecdd..306292d843 100644 --- a/WebContent/VAADIN/themes/runo/orderedlayout/orderedlayout.css +++ b/WebContent/VAADIN/themes/runo/orderedlayout/orderedlayout.css @@ -1,21 +1,25 @@ .v-orderedlayout-margin-top, .v-horizontallayout-margin-top, -.v-verticallayout-margin-top { +.v-verticallayout-margin-top, +.v-csslayout-margin-top { padding-top: 15px; } .v-orderedlayout-margin-right, .v-horizontallayout-margin-right, -.v-verticallayout-margin-right { +.v-verticallayout-margin-right, +.v-csslayout-margin-right { padding-right: 18px; } .v-orderedlayout-margin-bottom, .v-horizontallayout-margin-bottom, -.v-verticallayout-margin-bottom { +.v-verticallayout-margin-bottom, +.v-csslayout-margin-bottom { padding-bottom: 15px; } .v-orderedlayout-margin-left, .v-horizontallayout-margin-left, -.v-verticallayout-margin-left { +.v-verticallayout-margin-left, +.v-csslayout-margin-left { padding-left: 18px; } .v-orderedlayout-spacing-on, @@ -23,4 +27,82 @@ .v-verticallayout-spacing-on { padding-top: 8px; padding-left: 8px; +} +.v-verticallayout-darker, +.v-horizontallayout-darker, +.v-gridlayout-darker, +.v-formlayout-darker, +.v-absolutelayout-darker, +.v-csslayout-darker { + background-color: #f3f4f5; +} + +/* Selectable style */ +.v-csslayout-selectable *, +.v-csslayout-selectable-selected * { + cursor: pointer; +} +.v-csslayout-selectable, +.v-csslayout-selectable-selected { + padding: 10px; + cursor: pointer; +} +.v-csslayout-selectable-selected { + padding: 8px; + border: 2px solid #57a7ed; + background: #d8eaf9; + background: rgba(179,211,237,.5); + -webkit-border-radius: 7px; + -moz-border-radius: 7px; + border-radius: 7px; +} + +/* Shadow style */ +div.v-csslayout-box-shadow { + background: transparent url(../shadow/img/bottom-right.png) no-repeat right bottom; + overflow: hidden; +} +.v-csslayout-box-shadow > .v-csslayout-margin { + padding: 0 8px 0 0; + background: transparent url(../shadow/img/right.png) repeat-y right; + margin: 0; + position: relative; + bottom: 8px; +} +.v-csslayout-box-shadow > .v-csslayout-margin > .v-csslayout-container { + padding: 0 0 8px 0; + margin-left: 6px; + background: transparent url(../shadow/img/bottom.png) repeat-x bottom; + position: relative; + top: 8px; +} +.v-csslayout-box-shadow > .v-csslayout-margin > .v-csslayout-container > * { + margin-left: -6px; +} +/* Fancier shadows for capable browsers */ +.v-webkit .v-csslayout-box-shadow, +.v-webkit .v-csslayout-box-shadow > .v-csslayout-margin, +.v-webkit .v-csslayout-box-shadow > .v-csslayout-margin > .v-csslayout-container, +.v-gecko .v-csslayout-box-shadow, +.v-gecko .v-csslayout-box-shadow > .v-csslayout-margin, +.v-gecko .v-csslayout-box-shadow > .v-csslayout-margin > .v-csslayout-container, +.v-gecko .v-csslayout-box-shadow > .v-csslayout-margin > .v-csslayout-container > * { + background: transparent; + padding: 0; + margin: 0; + height: auto; + position: static; +} +.v-webkit .v-csslayout-box-shadow > .v-csslayout-margin > .v-csslayout-container > *, +.v-gecko .v-csslayout-box-shadow > .v-csslayout-margin > .v-csslayout-container > * { + margin-left: 0; +} +.v-webkit .v-csslayout-box-shadow, +.v-gecko .v-csslayout-box-shadow { + padding: 4px 8px 10px; +} +.v-webkit .v-csslayout-box-shadow > .v-csslayout-margin, +.v-gecko .v-csslayout-box-shadow > .v-csslayout-margin { + -webkit-box-shadow: 0 2px 8px rgba(0,0,0,.4); + -moz-box-shadow: 0 2px 8px rgba(0,0,0,.4); }
\ No newline at end of file |