This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new bcb39ce jewel-themes: clean some commented lines
bcb39ce is described below
commit bcb39ce321d46d0684d9f68d2a7a8aaa762c3193
Author: Carlos Rovira <[email protected]>
AuthorDate: Sun Feb 23 18:58:41 2020 +0100
jewel-themes: clean some commented lines
---
.../main/sass/components-emphasized/_snackbar.sass | 8 +---
.../sass/components-primary/_dropdownlist.sass | 45 +---------------------
.../main/sass/components-primary/_snackbar.sass | 5 ---
.../main/sass/components-secondary/_snackbar.sass | 6 +--
4 files changed, 4 insertions(+), 60 deletions(-)
diff --git
a/frameworks/themes/JewelTheme/src/main/sass/components-emphasized/_snackbar.sass
b/frameworks/themes/JewelTheme/src/main/sass/components-emphasized/_snackbar.sass
index fd04350..ff2fffa 100644
---
a/frameworks/themes/JewelTheme/src/main/sass/components-emphasized/_snackbar.sass
+++
b/frameworks/themes/JewelTheme/src/main/sass/components-emphasized/_snackbar.sass
@@ -33,8 +33,7 @@ $snackbar-border-radius: $border-radius
border: 1px solid darken($emphasized-color, 15%)
box-shadow: inset 0 1px 0 lighten($emphasized-color,
20%)
border-bottom: none
- // +jewel-bg-border("normal", $emphasized-color,
$snackbar-border-radius)
-
+
.jewel.snackbar-message
color: $font-theme-color
@@ -46,7 +45,4 @@ $snackbar-border-radius: $border-radius
background: darken($emphasized-color, 5%)
border: none
@else
- background: linear-gradient($emphasized-color,
darken($emphasized-color, 10%))
- // +jewel-bg-border("hover", $emphasized-color)
- // @if $flat == false
- // border: none
\ No newline at end of file
+ background: linear-gradient($emphasized-color,
darken($emphasized-color, 10%))
\ No newline at end of file
diff --git
a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_dropdownlist.sass
b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_dropdownlist.sass
index 92171fe..fff173a 100644
---
a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_dropdownlist.sass
+++
b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_dropdownlist.sass
@@ -22,50 +22,7 @@
// DropDownList variables
$dropdownlist-border-radius: $border-radius
-// =dropdownlist-theme($dropdownlist-color, $text-color)
-
-// // +jewel-bg-border("normal", $dropdownlist-color,
$dropdownlist-border-radius)
-
-// // @if $transitions-enable
-// // transition:
-// // duration: $transition-duration
-// // timing-function: $transition-timing
-
-// font:
-// family: $font-stack
-// size: $font-size
-// // weight: bold
-// color: $text-color
-// text:
-// // transform: uppercase
-// weight: $font-weight-normal
-// decoration: none
-// @if not $flat and $text-color == $font-theme-color
-// text:
-// shadow: 0 -1px 0 rgba(darken($dropdownlist-color, 30%), .7) //0
.063em
-
-// // &:hover, &:hover:focus
-// // +jewel-bg-border("hover", $dropdownlist-color)
-
-// // &:active, &:active:focus
-// // +jewel-bg-border("active", $dropdownlist-color)
-
-// &:focus
-// outline: none
-// // +jewel-bg-border("focus", $dropdownlist-color)
-
-// &[disabled]
-// cursor: unset
-// // +jewel-bg-border("disabled", $dropdownlist-color)
-// color: $disabled-font-color
-// // font:
-// // weight: $font-weight-normal
-// // text:
-// // shadow: unset
-
-.jewel.dropdownlist
- // +dropdownlist-theme($default-color, $default-font-color)
-
+.jewel.dropdownlist
@if $flat
background-color: lighten($default-color, 15%)
border: 1px solid darken($default-color, 3%)
diff --git
a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_snackbar.sass
b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_snackbar.sass
index d8e5236..de51723 100644
---
a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_snackbar.sass
+++
b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_snackbar.sass
@@ -45,8 +45,6 @@ $snackbar-popup-margin-offset: 10px
border: 1px solid darken($primary-color, 15%)
box-shadow: inset 0 1px 0
lighten($primary-color, 20%)
border-bottom: none
-
- // +jewel-bg-border("normal", $primary-color,
$snackbar-border-radius) --> we want only rounded corners on top corners
.jewel.snackbar-message
color: $font-theme-color
@@ -60,9 +58,6 @@ $snackbar-popup-margin-offset: 10px
border: none
@else
background:
linear-gradient($primary-color, darken($primary-color, 10%))
- // +jewel-bg-border("hover", $primary-color)
- // @if $flat == false
- // border: none
.jewel.snackbar-content
background: $snackbar-default-color
diff --git
a/frameworks/themes/JewelTheme/src/main/sass/components-secondary/_snackbar.sass
b/frameworks/themes/JewelTheme/src/main/sass/components-secondary/_snackbar.sass
index abd6bfe..925879e 100644
---
a/frameworks/themes/JewelTheme/src/main/sass/components-secondary/_snackbar.sass
+++
b/frameworks/themes/JewelTheme/src/main/sass/components-secondary/_snackbar.sass
@@ -33,7 +33,6 @@ $snackbar-border-radius: $border-radius
border: 1px solid darken($secondary-color, 15%)
box-shadow: inset 0 1px 0 lighten($secondary-color, 20%)
border-bottom: none
- // +jewel-bg-border("normal", $secondary-color,
$snackbar-border-radius)
.jewel.snackbar-message
color: $font-theme-color
@@ -46,7 +45,4 @@ $snackbar-border-radius: $border-radius
background: darken($secondary-color, 5%)
border: none
@else
- background: linear-gradient($secondary-color,
darken($secondary-color, 10%))
- // +jewel-bg-border("hover", $secondary-color)
- // @if $flat == false
- // border: none
\ No newline at end of file
+ background: linear-gradient($secondary-color,
darken($secondary-color, 10%))
\ No newline at end of file