diff options
Diffstat (limited to 'WebContent/VAADIN/themes/base/button')
-rw-r--r-- | WebContent/VAADIN/themes/base/button/button.scss | 82 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/base/button/checkbox.scss | 33 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/base/button/nativebutton.scss | 73 |
3 files changed, 0 insertions, 188 deletions
diff --git a/WebContent/VAADIN/themes/base/button/button.scss b/WebContent/VAADIN/themes/base/button/button.scss deleted file mode 100644 index 694e49a359..0000000000 --- a/WebContent/VAADIN/themes/base/button/button.scss +++ /dev/null @@ -1,82 +0,0 @@ -@mixin base-button($primaryStyleName : v-button) { - -/* - * Default button (more customizable) - * -------------------------------------- */ -.#{$primaryStyleName} { - display: inline-block; - zoom: 1; - text-align: center !important; - text-decoration: none; - border: 2px outset #ddd; - background: #eee; - cursor: pointer; - white-space: nowrap; - margin: 0; - padding: .2em 1em; - color: inherit; - font: inherit; - font-size: $font-size; - line-height: normal; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.#{$primaryStyleName}.v-disabled { - cursor: default; -} - -.#{$primaryStyleName}-wrap, -.#{$primaryStyleName}-caption { - vertical-align: baseline; - white-space: nowrap; - font: inherit; - color: inherit; - line-height: normal; - } - -.#{$primaryStyleName} .v-icon { - vertical-align: middle; - margin-right: 3px; - border: none; - } - -.#{$primaryStyleName} .v-errorindicator { - display: inline-block; - zoom: 1; - vertical-align: middle; - float: none; -} - -/* Link style (we really should deprecate this) */ -.#{$primaryStyleName}-link { - border: none; - text-align: left !important; - background: transparent; - padding: 0; - color: inherit; - -khtml-user-select: text; - -moz-user-select: text; - -ie-user-select: text; - user-select: text; -} - -/* Inset Safari focus outline a bit */ -.v-sa & .#{$primaryStyleName}-link:focus{ - outline-offset: -3px; - } - -.#{$primaryStyleName}-link .#{$primaryStyleName}-caption { - text-decoration: underline; - color: inherit; - text-align: left; - } - -}
\ No newline at end of file diff --git a/WebContent/VAADIN/themes/base/button/checkbox.scss b/WebContent/VAADIN/themes/base/button/checkbox.scss deleted file mode 100644 index e46d236035..0000000000 --- a/WebContent/VAADIN/themes/base/button/checkbox.scss +++ /dev/null @@ -1,33 +0,0 @@ -@mixin base-checkbox($primaryStyleName : v-checkbox) { - -.#{$primaryStyleName}, -.#{$primaryStyleName} label, -.#{$primaryStyleName} input, -.#{$primaryStyleName} .v-icon { - vertical-align: middle; - white-space: nowrap; -} - -.#{$primaryStyleName} .v-icon { - margin: 0 2px; -} -.#{$primaryStyleName} .v-errorindicator { - float: none; - display: inline; - display: inline-block; - zoom: 1; -} - - -/* Disabled by default -.#{$primaryStyleName}-error { - background: #ffe0e0; -} -*/ -/* Disabled by default -.#{$primaryStyleName}-required { - background: #ffe0e0; -} -*/ - -} diff --git a/WebContent/VAADIN/themes/base/button/nativebutton.scss b/WebContent/VAADIN/themes/base/button/nativebutton.scss deleted file mode 100644 index f85bd507ab..0000000000 --- a/WebContent/VAADIN/themes/base/button/nativebutton.scss +++ /dev/null @@ -1,73 +0,0 @@ -@mixin base-nativebutton($primaryStyleName : v-nativebutton) { - - -.#{$primaryStyleName} .v-icon { - vertical-align: middle; - margin-right: 3px; - border: none; - } - -.#{$primaryStyleName} .v-errorindicator { - display: inline-block; - zoom: 1; - vertical-align: middle; - float: none; -} - -/* Link style (we really should deprecate this) */ -.#{$primaryStyleName}-link { - border: none; - text-align: left !important; - background: transparent; - padding: 0; - color: inherit; - -khtml-user-select: text; - -moz-user-select: text; - -ie-user-select: text; - user-select: text; -} - -.#{$primaryStyleName}-link .#{$primaryStyleName}-caption { - text-decoration: underline; - color: inherit; - text-align: left; - } - -.#{$primaryStyleName} { - text-align: center !important; - cursor: pointer; - white-space: nowrap; - margin: 0; - color: inherit; - font: inherit; - line-height: normal; - } -.#{$primaryStyleName} .#{$primaryStyleName}-caption { - vertical-align: middle; - white-space: nowrap; - font: inherit; - color: inherit; - } - -.#{$primaryStyleName} .v-icon { - vertical-align: middle; - margin-right: 3px; - } - -.#{$primaryStyleName} .v-errorindicator { - display: inline-block; - zoom: 1; - float: none; -} -/* Fixes stretched buttons in IE7*/ -.v-ie & .#{$primaryStyleName} { - overflow: visible; - padding-left: 1em; - padding-right: 1em; -} - -.v-ie & .#{$primaryStyleName}-link { - padding: 0; -} - -} |