diff options
Diffstat (limited to 'WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-normal-style.scss')
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-normal-style.scss | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-normal-style.scss b/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-normal-style.scss index 5147f608ab..c13bb6f025 100644 --- a/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-normal-style.scss +++ b/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-normal-style.scss @@ -1,22 +1,22 @@ -@mixin reindeer-tabsheet-normal-style($name : v-tabsheet) { +@mixin reindeer-tabsheet-normal-style($primaryStyleName : v-tabsheet) { /* Default Tabsheet styles */ -.#{$name}-tabitemcell, -.#{$name}-spacertd { +.#{$primaryStyleName}-tabitemcell, +.#{$primaryStyleName}-spacertd { height: 32px; } -.#{$name}-tabitemcell { +.#{$primaryStyleName}-tabitemcell { background: no-repeat; background-image: url(img/framed/tab-left.png); /** sprite-ref: verticals */ padding-left: 3px; } -.#{$name}-tabitemcell-first { +.#{$primaryStyleName}-tabitemcell-first { padding-left: 10px; background-image: url(img/framed/tab-first-left.png); /** sprite-ref: verticals */ } -.#{$name}-tabitem, -.#{$name}-spacertd div { +.#{$primaryStyleName}-tabitem, +.#{$primaryStyleName}-spacertd div { border: none; height: 32px; background: transparent repeat-x; @@ -25,23 +25,23 @@ color: #222; text-shadow: #fff 0 1px 0; } -.#{$name}-tabitem .v-caption { +.#{$primaryStyleName}-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; } -.#{$name}-tabitem .v-caption-closable { +.#{$primaryStyleName}-tabitem .v-caption-closable { padding-right: 0; padding-left: 17px; } -.#{$name}-tabitem .v-captiontext { +.#{$primaryStyleName}-tabitem .v-captiontext { height: 16px; line-height: 16px; vertical-align:baseline; } -.#{$name}-caption-close { +.#{$primaryStyleName}-caption-close { float: right; width: 19px; height: 18px; @@ -55,70 +55,70 @@ font-size: 14px; font-weight: normal; } -.#{$name}-caption-close:hover { +.#{$primaryStyleName}-caption-close:hover { background-image: url(img/close-btn-hover.png); /** sprite-ref: verticals */ } -.#{$name}-caption-close:active { +.#{$primaryStyleName}-caption-close:active { background-image: url(img/close-btn-pressed.png); /** sprite-ref: verticals */ } -.#{$name}-tabitem-selected .#{$name}-caption-close { +.#{$primaryStyleName}-tabitem-selected .#{$primaryStyleName}-caption-close { background-image: url(img/close-btn-sel.png); /** sprite-ref: verticals */ } -.#{$name}-tabitem-selected .#{$name}-caption-close:hover { +.#{$primaryStyleName}-tabitem-selected .#{$primaryStyleName}-caption-close:hover { background-image: url(img/close-btn-sel-hover.png); /** sprite-ref: verticals */ } -.#{$name}-tabitem-selected .#{$name}-caption-close:active { +.#{$primaryStyleName}-tabitem-selected .#{$primaryStyleName}-caption-close:active { background-image: url(img/close-btn-sel-pressed.png); /** sprite-ref: verticals */ } -.#{$name}-tabitemcell-selected { +.#{$primaryStyleName}-tabitemcell-selected { background-image: url(img/framed/tab-left-sel.png); /** sprite-ref: verticals */ } -.#{$name}-tabitemcell-selected-first { +.#{$primaryStyleName}-tabitemcell-selected-first { background-image: url(img/framed/tab-first-left-sel.png); /** sprite-ref: verticals */ } -.#{$name}-tabitem-selected { +.#{$primaryStyleName}-tabitem-selected { background-image: url(img/framed/tab-bg-sel.png); /** sprite-ref: verticals; sprite-alignment: repeat */ color: #232930; } -.#{$name}-tabitem-selected .v-caption { +.#{$primaryStyleName}-tabitem-selected .v-caption { background-image: url(img/framed/tab-right-sel.png); /** sprite-ref: verticals; sprite-alignment: right */ } -.#{$name}-spacertd div { +.#{$primaryStyleName}-spacertd div { margin-right: 4px; } -.#{$name}-spacertd { +.#{$primaryStyleName}-spacertd { background: transparent no-repeat right top; background-image: url(img/framed/tab-spacer-right.png); /** sprite-ref: verticals; sprite-alignment: right */ } -.blue .#{$name}-content { +.blue .#{$primaryStyleName}-content { border-color: #a8bcc5; } -.#{$name}-content, -.white .#{$name}-content { +.#{$primaryStyleName}-content, +.white .#{$primaryStyleName}-content { border: 1px solid #dcdcdc; border-bottom: none; border-top: none; color: #222; text-shadow: none; } -.#{$name}-tabsheetpanel { +.#{$primaryStyleName}-tabsheetpanel { background: #fff; } -.v-sa .#{$name}-content { +.v-sa .#{$primaryStyleName}-content { border-color: rgba(0,0,0,.1); } -.blue .#{$name}-deco { +.blue .#{$primaryStyleName}-deco { border-color: #92a3ac; background: #adc2cd; } -.#{$name}-deco, -.white .#{$name}-deco { +.#{$primaryStyleName}-deco, +.white .#{$primaryStyleName}-deco { height: 1px; border-top: 1px solid #bebebe; background: #e2e2e2; overflow: hidden; } -.v-sa .#{$name}-deco { +.v-sa .#{$primaryStyleName}-deco { border-top-color: rgba(0,0,0,.1); background: rgba(0,0,0,.08); } @@ -126,31 +126,31 @@ /* Icons & error indicators */ -.#{$name}-tabs .v-icon, -.#{$name}-tabs .v-captiontext, -.#{$name}-tabs .v-errorindicator { +.#{$primaryStyleName}-tabs .v-icon, +.#{$primaryStyleName}-tabs .v-captiontext, +.#{$primaryStyleName}-tabs .v-errorindicator { display: inline; float: none; } -.v-sa .#{$name}-tabs .v-captiontext { +.v-sa .#{$primaryStyleName}-tabs .v-captiontext { display: inline-block; } -.#{$name}-tabs .v-icon { +.#{$primaryStyleName}-tabs .v-icon { width: 16px !important; height: 16px !important; } -.#{$name}-tabs .v-errorindicator { +.#{$primaryStyleName}-tabs .v-errorindicator { display: inline-block; width: 13px; height: 16px; background: transparent url(../common/icons/error.png) no-repeat 50%; } -.v-ie .#{$name}-tabs .v-errorindicator { +.v-ie .#{$primaryStyleName}-tabs .v-errorindicator { zoom: 1; display: inline; } -.v-ie8 .#{$name}-tabs .v-errorindicator, -.v-ie9 .#{$name}-tabs .v-errorindicator { +.v-ie8 .#{$primaryStyleName}-tabs .v-errorindicator, +.v-ie9 .#{$primaryStyleName}-tabs .v-errorindicator { display: inline-block; } |