Rewrite component to change user/group role
This commit is contained in:
17
assets/sass/_icon.sass
Normal file
17
assets/sass/_icon.sass
Normal file
@@ -0,0 +1,17 @@
|
||||
@import variables
|
||||
|
||||
.icon-success
|
||||
color: icon-color('success')
|
||||
|
||||
.icon-error
|
||||
color: icon-color('error')
|
||||
|
||||
.icon-fade-out
|
||||
opacity: 1
|
||||
animation: icon-fadeout 5s linear forwards
|
||||
|
||||
@keyframes icon-fadeout
|
||||
0%
|
||||
opacity: 1
|
||||
100%
|
||||
opacity: 0
|
||||
@@ -19,6 +19,8 @@ $button-hover-border-colors: ('default': #bbb, 'red': #b0281a, 'blue': #3079ed)
|
||||
|
||||
$font-sizes: ('normal': 1.0em, 'tiny': 0.7em, 'small': 0.8em, 'compact': 0.9em, 'medium': 1.2em, 'large': 1.4em, 'xlarge': 1.6em, 'title': 1.5em)
|
||||
|
||||
$icon-colors: ('success': #468847, 'error': #b94a48)
|
||||
|
||||
$text-font: 'Helvetica Neue', Helvetica, Arial, sans-serif
|
||||
$board-task-limit-color: #DF5353
|
||||
|
||||
@@ -34,6 +36,9 @@ $board-task-limit-color: #DF5353
|
||||
@function bg-color($key: 'primary')
|
||||
@return map-get($background-colors, $key)
|
||||
|
||||
@function icon-color($key)
|
||||
@return map-get($icon-colors, $key)
|
||||
|
||||
@function alert-color($key)
|
||||
@return map-get($alert-colors, $key)
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
@import table_drag_and_drop
|
||||
@import form
|
||||
@import input_addon
|
||||
@import icon
|
||||
@import alert
|
||||
@import button
|
||||
@import tooltip
|
||||
|
||||
Reference in New Issue
Block a user