aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet.css
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni.koivuviita@itmill.com>2009-11-12 08:44:03 +0000
committerJouni Koivuviita <jouni.koivuviita@itmill.com>2009-11-12 08:44:03 +0000
commit42a83baa7af1d2d5b9c739d1e6ce81e5608bdf9e (patch)
tree4badfc58c4c8899fa26ad7d55826c331c5d6f7f9 /WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet.css
parent8af77e9683e7411481c39d8e67ccfbee79ccf208 (diff)
downloadvaadin-framework-42a83baa7af1d2d5b9c739d1e6ce81e5608bdf9e.tar.gz
vaadin-framework-42a83baa7af1d2d5b9c739d1e6ce81e5608bdf9e.zip
Fixes #1595: Close button on TabSheet control
* Added new sample to Sampler/TabSheets * Made all tabs in Reindeer theme demo closable. svn changeset:9737/svn branch:6.2
Diffstat (limited to 'WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet.css')
-rw-r--r--WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet.css330
1 files changed, 5 insertions, 325 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet.css b/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet.css
index 289660eb3b..fddef9a287 100644
--- a/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet.css
+++ b/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet.css
@@ -1,325 +1,5 @@
-.v-tabsheet-tabitemcell,
-.v-tabsheet-spacertd {
- height: 32px;
-}
-.v-tabsheet-tabitemcell {
- background: no-repeat;
- background-image: url(img/framed/tab-left.png); /** sprite-ref: verticals */
- padding-left: 3px;
-}
-.v-tabsheet-tabitemcell-first {
- padding-left: 10px;
- background-image: url(img/framed/tab-first-left.png); /** sprite-ref: verticals */
-}
-.v-tabsheet-tabitem,
-.v-tabsheet-spacertd div {
- border: none;
- height: 32px;
- background: transparent repeat-x;
- background-image: url(img/framed/tab-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */
- padding: 0;
- color: #222;
- text-shadow: #fff 0 1px 0;
-}
-.v-tabsheet-tabitem .v-caption {
- border: none;
- height: 23px;
- background: no-repeat right top;
- background-image: url(img/framed/tab-right.png); /** sprite-ref: verticals; sprite-alignment: right */
- padding: 9px 8px 0 6px;
-}
-.v-tabsheet-tabitem .v-captiontext {
- height: 16px;
- line-height: 16px;
-}
-.v-tabsheet-tabitemcell-selected {
- background-image: url(img/framed/tab-left-sel.png); /** sprite-ref: verticals */
-}
-.v-tabsheet-tabitemcell-selected-first {
- background-image: url(img/framed/tab-first-left-sel.png); /** sprite-ref: verticals */
-}
-.v-tabsheet-tabitem-selected {
- background-image: url(img/framed/tab-bg-sel.png); /** sprite-ref: verticals; sprite-alignment: repeat */
- color: #232930;
-}
-.v-tabsheet-tabitem-selected .v-caption {
- background-image: url(img/framed/tab-right-sel.png); /** sprite-ref: verticals; sprite-alignment: right */
-}
-.v-tabsheet-spacertd div {
- margin-right: 4px;
-}
-.v-tabsheet-spacertd {
- background: transparent no-repeat right top;
- background-image: url(img/framed/tab-spacer-right.png); /** sprite-ref: verticals; sprite-alignment: right */
-}
-.v-tabsheet-content {
- border: 1px solid #dcdcdc;
- border-bottom: none;
- border-top: none;
- color: #222;
- text-shadow: none;
-}
-.blue .v-tabsheet-content {
- border-color: #a8bcc5;
-}
-.v-tabsheet-tabsheetpanel {
- background: #fff;
-}
-.v-sa .v-tabsheet-content,
-.v-ff3 .v-tabsheet-content {
- border-color: rgba(0,0,0,.1);
-}
-.v-tabsheet-deco {
- height: 1px;
- border-top: 1px solid #bebebe;
- background: #e2e2e2;
- overflow: hidden;
-}
-.blue .v-tabsheet-deco {
- border-color: #92a3ac;
- background: #adc2cd;
-}
-.v-sa .v-tabsheet-deco,
-.v-ff3 .v-tabsheet-deco {
- border-top-color: rgba(0,0,0,.1);
- background: rgba(0,0,0,.08);
-}
-.v-tabsheet-scroller {
- height: 31px;
- margin-top: -31px;
- padding-right: 3px;
- border-right: 1px solid #afafaf;
- position: relative;
- float: right;
-}
-.v-tabsheet-scroller button {
- margin-top: 7px;
-}
-.v-tabsheet-scrollerPrev,
-.v-tabsheet-scrollerNext,
-.v-tabsheet-scrollerPrev-disabled,
-.v-tabsheet-scrollerNext-disabled {
- border: none;
- background: transparent;
- background-image: url(img/tab-prev.png); /** sprite-ref: verticals */
- width: 18px;
- height: 17px;
- overflow: hidden;
- cursor: default;
-}
-.v-tabsheet-scroller button::-moz-focus-inner {
- border: none;
-}
-.v-tabsheet-scrollerNext {
- background-image: url(img/tab-next.png); /** sprite-ref: verticals */
-}
-.v-tabsheet-scrollerPrev:active {
- background-image: url(img/tab-prev-pressed.png); /** sprite-ref: verticals */
-}
-.v-tabsheet-scrollerNext:active {
- background-image: url(img/tab-next-pressed.png); /** sprite-ref: verticals */
-}
-.v-tabsheet-scrollerPrev-disabled,
-.v-tabsheet-scrollerPrev-disabled:active {
- background-image: url(img/tab-prev-disabled.png); /** sprite-ref: verticals */
- opacity: 1;
- filter: none;
-}
-.v-tabsheet-scrollerNext-disabled,
-.v-tabsheet-scrollerNext-disabled:active {
- background-image: url(img/tab-next-disabled.png); /** sprite-ref: verticals; sprite-margin-bottom: 1px */
- opacity: 1;
- filter: none;
-}
-.v-tabsheet-tabs .v-icon,
-.v-tabsheet-tabs .v-captiontext,
-.v-tabsheet-tabs .v-errorindicator {
- display: inline;
- float: none;
-}
-.v-sa .v-tabsheet-tabs .v-captiontext {
- display: inline-block;
-}
-.v-tabsheet-tabs .v-icon {
- width: 16px !important;
- height: 16px !important;
-}
-.v-tabsheet-tabs .v-errorindicator {
- display: inline-block;
- width: 13px;
- height: 16px;
- background: transparent url(../common/icons/error.png) no-repeat 50%;
-}
-.v-ff2 .v-tabsheet-tabs .v-icon,
-.v-ff2 .v-tabsheet-tabs .v-errorindicator {
- display: -moz-inline-stack;
-}
-.v-ie6 .v-tabsheet-tabs .v-errorindicator {
- background-image: url(../common/icons/error-ie6.png);
-}
-.v-ie .v-tabsheet-tabs .v-errorindicator {
- zoom: 1;
- display: inline;
-}
-
-
-
-
-
-
-/**
- * Minimal style --------------
- */
-.v-tabsheet-minimal .v-tabsheet-spacertd div {
- border-bottom: 1px solid #bfbfbf;
- height: auto;
- background: transparent;
-}
-.v-tabsheet-minimal .v-tabsheet-tabitemcell,
-.v-tabsheet-minimal .v-tabsheet-spacertd {
- height: auto;
- background: transparent;
- padding-left: 0;
-}
-.v-tabsheet-minimal .v-tabsheet-tabitem {
- border: none;
- border-bottom: 1px solid #bfbfbf;
- color: #4d748f;
- padding: 0;
- height: auto;
- background: transparent;
- text-shadow: none;
-}
-.v-tabsheet-minimal .v-tabsheet-tabitem .v-caption {
- padding: 5px 16px;
- height: auto;
- background: transparent;
-}
-.v-tabsheet-minimal .v-tabsheet-tabitemcell-selected {
- background: transparent;
-}
-.v-tabsheet-minimal .v-tabsheet-tabitem-selected {
- background: transparent;
- border: 1px solid #bfbfbf;
- border-bottom: none;
- color: #222;
-}
-.v-tabsheet-minimal .v-tabsheet-tabitem-selected .v-caption {
- background: transparent;
- padding: 4px 15px 6px 15px;
-}
-.v-tabsheet-content-minimal {
- border: none;
-}
-.v-tabsheet-content-minimal .v-tabsheet-tabsheetpanel {
- background: transparent;
-}
-.v-tabsheet-deco-minimal {
- height: 0;
- border: none;
-}
-.v-tabsheet-minimal .v-tabsheet-scroller {
- margin-top: -20px;
- height: 17px;
- padding-right: 0;
- border-right: none;
- position: static;
- float: none;
-}
-.v-tabsheet-minimal .v-tabsheet-scroller button {
- margin-top: 0;
-}
-/* Minimal tabsheet on blue background */
-.blue .v-tabsheet-minimal .v-tabsheet-spacertd div,
-.blue .v-tabsheet-minimal .v-tabsheet-tabitem,
-.blue .v-tabsheet-minimal .v-tabsheet-tabitem-selected {
- border-color: #7c8a91;
-}
-/* Minimal tabsheet on black background */
-.black .v-tabsheet-minimal .v-tabsheet-spacertd div,
-.black .v-tabsheet-minimal .v-tabsheet-tabitem,
-.black .v-tabsheet-minimal .v-tabsheet-tabitem-selected {
- border-color: #3e4044;
- color: #6a7f89;
-}
-.black .v-tabsheet-minimal .v-tabsheet-tabitem-selected {
- color: #c9ccce;
-}
-.black .v-tabsheet-content-minimal,
-.black .v-tabsheet-content-bar {
- color: #c9ccce;
- text-shadow: #000 0 0 1px;
-}
-
-
-
-
-
-
-/**
- * Bar style ---------------
- */
-.v-tabsheet-bar .v-tabsheet-tabitemcell,
-.v-tabsheet-bar .v-tabsheet-spacertd {
- height: 20px;
-}
-.v-tabsheet-bar .v-tabsheet-spacertd {
- background: transparent;
-}
-.v-tabsheet-bar .v-tabsheet-tabitemcell {
- background-image: url(img/bar/tab-left.png); /** sprite-ref: verticals */
-}
-.v-tabsheet-bar .v-tabsheet-tabitemcell-first {
- padding-left: 6px;
- background-image: url(img/bar/tab-first-left.png); /** sprite-ref: verticals */
-}
-.v-tabsheet-bar .v-tabsheet-tabitem,
-.v-tabsheet-bar .v-tabsheet-spacertd div {
- height: 20px;
- background-image: url(img/bar/tab-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */
- font-size: 11px;
- margin: 0;
-}
-.v-tabsheet-bar .v-tabsheet-tabitem .v-caption {
- height: 18px;
- background-image: url(img/bar/tab-right.png); /** sprite-ref: verticals; sprite-alignment: right */
- padding: 2px 12px 0 10px;
-}
-.v-tabsheet-bar .v-tabsheet-tabitemcell-selected {
- background-image: url(img/bar/tab-left-sel.png); /** sprite-ref: verticals */
-}
-.v-tabsheet-bar .v-tabsheet-tabitemcell-selected-first {
- background-image: url(img/bar/tab-first-left-sel.png); /** sprite-ref: verticals */
-}
-.v-tabsheet-bar .v-tabsheet-tabitem-selected {
- background-image: url(img/bar/tab-bg-sel.png); /** sprite-ref: verticals; sprite-alignment: repeat */
- color: #232930;
-}
-.v-tabsheet-bar .v-tabsheet-tabitem-selected .v-caption {
- background-image: url(img/bar/tab-right-sel.png); /** sprite-ref: verticals; sprite-alignment: right */
-}
-.v-tabsheet-bar .v-tabsheet-scroller {
- margin-top: -19px;
-}
-.v-tabsheet-bar .v-tabsheet-scroller {
- margin-top: -19px;
- height: 17px;
- padding-right: 0;
- border-right: none;
- position: static;
- float: none;
-}
-.v-tabsheet-bar .v-tabsheet-scroller button {
- margin-top: 0;
-}
-.v-tabsheet-content-bar {
- border: none;
-}
-.v-tabsheet-content-bar .v-tabsheet-tabsheetpanel {
- background: transparent;
-}
-.v-tabsheet-deco-bar {
- height: 0;
- border: none;
-}
-/* Content area font color specified with minimal style (reduces additional selectors) */ \ No newline at end of file
+/* These styles get catenated together on build */
+@import "tabsheet-normal-style.css";
+@import "tabsheet-scroller.css";
+@import "tabsheet-minimal-style.css";
+@import "tabsheet-bar-style.css"; \ No newline at end of file