diff --git a/src/app/pages/ui/buttons/buttons.html b/src/app/pages/ui/buttons/buttons.html index bd20d57..5d6d4e0 100644 --- a/src/app/pages/ui/buttons/buttons.html +++ b/src/app/pages/ui/buttons/buttons.html @@ -1,9 +1,48 @@
-
-
+ ba-panel-title="Flat Buttons" + ba-panel-class="with-scroll button-panel"> +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -18,7 +57,7 @@
+ ba-panel-class="with-scroll large-buttons-panel">
diff --git a/src/app/pages/ui/buttons/widgets/buttonGroups.html b/src/app/pages/ui/buttons/widgets/buttonGroups.html index 73973ff..f900e1d 100644 --- a/src/app/pages/ui/buttons/widgets/buttonGroups.html +++ b/src/app/pages/ui/buttons/widgets/buttonGroups.html @@ -9,18 +9,18 @@
\ No newline at end of file diff --git a/src/app/pages/ui/buttons/widgets/progressButtons.html b/src/app/pages/ui/buttons/widgets/progressButtons.html index 88c018a..0a04a86 100644 --- a/src/app/pages/ui/buttons/widgets/progressButtons.html +++ b/src/app/pages/ui/buttons/widgets/progressButtons.html @@ -1,4 +1,4 @@ -
+
fill horizontal diff --git a/src/app/theme/theme.constants.js b/src/app/theme/theme.constants.js index 7fa98f7..caa27f4 100644 --- a/src/app/theme/theme.constants.js +++ b/src/app/theme/theme.constants.js @@ -18,16 +18,16 @@ successLight: '#85BA54', primaryLight: '#5FBCBB', warningLight: '#c5d36a', - primaryDark: '#001d21', - dangerDark: '#573925', - successDark: '#052c27', - warningDark: '#3f5237', + primaryDark: '#003e4b', + dangerDark: '#c37350', + successDark: '#18524b', + warningDark: '#8adc68', - primaryBg: '#b3ccd0', - successBg: '#b7d9d5', - dangerBg: '#ffe5d3', - infoBg: '#d4eadd', - warningBg: '#eafbe3', + primaryBg: '#0d8da2', + successBg: '#02b6a2', + dangerBg: '#ffcd92', + infoBg: '#a8e6b3', + warningBg: '#e4fbd3', defaultText: '#585858' }) diff --git a/src/sass/app/_buttonsPage.scss b/src/sass/app/_buttonsPage.scss index e50a826..cf56317 100644 --- a/src/sass/app/_buttonsPage.scss +++ b/src/sass/app/_buttonsPage.scss @@ -91,3 +91,40 @@ $btn-icon-size: 34px; } } +.button-panel{ + height: 315px; + .btn{ + width: 150px; + } +} + +.large-buttons-panel{ + height: 202px; +} + +.button-panel.df-size-button-panel{ + .btn-xs{ + width: 60px; + } + .btn-sm{ + width: 90px; + } + .btn-mm{ + width: 120px; + } + .btn-md{ + width: 150px; + } + .btn-xm{ + width: 175px; + } + .btn-lg{ + width: 200px; + } +} + +.button-wrapper{ + text-align: center; + margin: 5px 0; +} + diff --git a/src/sass/theme/_buttons.scss b/src/sass/theme/_buttons.scss index df7479a..193a4e2 100644 --- a/src/sass/theme/_buttons.scss +++ b/src/sass/theme/_buttons.scss @@ -5,7 +5,7 @@ $hover: 24; } .btn { - border-radius: 0; + border-radius: 5px; transition: all 0.1s ease; } @@ -13,45 +13,45 @@ $hover: 24; transform: scale(1.2); } -@mixin styleButton($color) { +@mixin styleButton($color, $borderColor) { background: $color; - border-color: $color; + border-color: $borderColor; } -@mixin buttonColor($color) { - @include styleButton($color); +@mixin buttonColor($color, $borderColor) { + @include styleButton($color, $borderColor); &.disabled, &[disabled], fieldset[disabled] &, &.disabled:hover, &[disabled]:hover, fieldset[disabled] &:hover, &.disabled:focus, &[disabled]:focus, fieldset[disabled] &:focus, &.disabled.focus, &[disabled].focus, fieldset[disabled] &.focus, &.disabled:active, &[disabled]:active, fieldset[disabled] &:active, &.disabled.active, &[disabled].active, fieldset[disabled] &.active { - @include styleButton($color + $hover/2); + @include styleButton($color, $borderColor + $hover/2); } &:hover, &:focus, &.focus, &:active, &.active { - @include styleButton($color - $hover); + @include styleButton($color, $borderColor - $hover); } } .open > .dropdown-toggle { &.btn-primary { - @include styleButton($primary - $hover); + @include styleButton($primary-btn, $primary-btn - $hover); } &.btn-default { - @include styleButton($default - $hover); + @include styleButton(transparent, $default); } &.btn-success { - @include styleButton($success - $hover); + @include styleButton($success-btn, $success-btn - $hover); } &.btn-info { - @include styleButton($info - $hover); + @include styleButton($info-btn, $info-btn - $hover); } &.btn-warning { - @include styleButton($warning - $hover); + @include styleButton($warning-btn, $warning-btn - $hover); } &.btn-danger { - @include styleButton($danger - $hover); + @include styleButton($danger-btn, $danger-btn - $hover); } } @@ -60,27 +60,28 @@ $hover: 24; } .btn-primary { - @include buttonColor($primary); + @include buttonColor($primary-btn, $primary-btn); } .btn-default { - @include buttonColor($default); + border-width: 2px; + @include buttonColor(transparent, $default); } .btn-success { - @include buttonColor($success); + @include buttonColor($success-btn, $success-btn); } .btn-info { - @include buttonColor($info); + @include buttonColor($info-btn, $info-btn); } .btn-warning { - @include buttonColor($warning); + @include buttonColor($warning-btn, $warning-btn); } .btn-danger { - @include buttonColor($danger); + @include buttonColor($danger-btn, $danger-btn); } .btn-with-icon { @@ -153,7 +154,7 @@ $hover: 24; } &.btn-primary { - @include progressButtonColor($primary); + @include progressButtonColor($primary-btn); } &.btn-default { @@ -161,18 +162,32 @@ $hover: 24; } &.btn-success { - @include progressButtonColor($success); + @include progressButtonColor($success-btn); } &.btn-info { - @include progressButtonColor($info); + @include progressButtonColor($info-btn); } &.btn-warning { - @include progressButtonColor($warning); + @include progressButtonColor($warning-btn); } &.btn-danger { - @include progressButtonColor($danger); + @include progressButtonColor($danger-btn); } -} \ No newline at end of file +} + +.btn-raised{ + box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.35); +} + +.btn-mm{ + padding: 5px 11px; + font-size: 13px; +} + +.btn-xm{ + padding: 8px 14px; + font-size: 16px; +} diff --git a/src/sass/theme/conf/_mixins.scss b/src/sass/theme/conf/_mixins.scss index 618594b..5c374c9 100644 --- a/src/sass/theme/conf/_mixins.scss +++ b/src/sass/theme/conf/_mixins.scss @@ -113,8 +113,4 @@ .progress { background: $color; } - - .dropdown-menu { - background-color: $dropdownColor; - } } \ No newline at end of file diff --git a/src/sass/theme/conf/_variables.scss b/src/sass/theme/conf/_variables.scss index 96e7ab7..0774e44 100644 --- a/src/sass/theme/conf/_variables.scss +++ b/src/sass/theme/conf/_variables.scss @@ -12,8 +12,6 @@ $success-dark: shade($success, 66%); $warning-dark: shade($warning, 66%); $danger-dark: shade($danger, 66%); -$primary-light: #5FBCBB; -$success-light: #85BA54; $primary-bg: tint($primary, 70%); $info-bg: tint($info, 70%); @@ -21,6 +19,27 @@ $success-bg: tint($success, 70%); $warning-bg: tint($warning, 70%); $danger-bg: tint($danger, 70%); +$primaryDark: #003e4b; +$dangerDark: #c37350; +$successDark: #18524b; +$warningDark: #8adc68; + +$primaryBg: #0d8da2; +$successBg: #02b6a2; +$dangerBg: #ffcd92; +$infoBg: #a8e6b3; +$warningBg: #e4fbd3; + +$primary-light: #5FBCBB; +$success-light: #85BA54; + +$primary-btn: #209e91; +$info-btn: #2dacd1; +$success-btn: #90b900; +$primary-btn: #209e91; +$warning-btn: #dfb81c; +$danger-btn: #e85656; + $facebook-color: #3b5998; $twitter-color: #55acee; $google-color: #dd4b39; diff --git a/src/sass/theme/skins/_02_transparent.scss b/src/sass/theme/skins/_02_transparent.scss index 31809c9..3fc6767 100644 --- a/src/sass/theme/skins/_02_transparent.scss +++ b/src/sass/theme/skins/_02_transparent.scss @@ -6,9 +6,13 @@ body.badmin-transparent { } .panel.panel-blur{ border-radius: 5px; + color: $default; .panel-heading{ border-bottom: 1px solid rgba(0,0,0,0.12); box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.12); } } + .btn-default{ + color: $default; + } } \ No newline at end of file