diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-09-09 22:32:21 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-09-09 22:32:21 +0500 |
commit | 1f5e43b38817b8c6a3b121d6bd4447411e135f5d (patch) | |
tree | 5b17b62b07236519308a6c4fa3c87b9bccf108bc /web | |
parent | c5ce2fe933996c718522fb260c7a5a1bf3c63148 (diff) | |
download | chat-1f5e43b38817b8c6a3b121d6bd4447411e135f5d.tar.gz chat-1f5e43b38817b8c6a3b121d6bd4447411e135f5d.tar.bz2 chat-1f5e43b38817b8c6a3b121d6bd4447411e135f5d.zip |
Adding minor hover changes for settings
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/setting_item_min.jsx | 3 | ||||
-rw-r--r-- | web/sass-files/sass/partials/_settings.scss | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/web/react/components/setting_item_min.jsx b/web/react/components/setting_item_min.jsx index d6ccc106c..2c0fdf2f4 100644 --- a/web/react/components/setting_item_min.jsx +++ b/web/react/components/setting_item_min.jsx @@ -12,7 +12,8 @@ export default class SettingItemMin extends React.Component { href='#' onClick={this.props.updateSection} > - Edit + <i className='fa fa-pencil'/> + {'Edit'} </a> </li> ); diff --git a/web/sass-files/sass/partials/_settings.scss b/web/sass-files/sass/partials/_settings.scss index 468880724..2b59a943b 100644 --- a/web/sass-files/sass/partials/_settings.scss +++ b/web/sass-files/sass/partials/_settings.scss @@ -61,6 +61,12 @@ &:hover { background: #f9f9f9; } + &:hover .fa { + display: inline-block; + } + &:hover .section-edit { + text-decoration: underline; + } } .section-max { @@ -81,6 +87,12 @@ .section-edit { text-align: right; margin-bottom: 5px; + .fa { + margin-right: 7px; + font-size: 12px; + color: #aaa; + display: none; + } } .section-describe { |