Improve JavaScript of Mail module

- activated file uploader of mail editor
- renamed method $update to $reload
- automatically mark messages as read
- use ui-sref-active from ui-router instead of ng-class
This commit is contained in:
Francis Lachapelle
2014-12-17 14:08:43 -05:00
parent 948a1f1c99
commit 96b213e274
5 changed files with 40 additions and 26 deletions
+3 -15
View File
@@ -215,6 +215,9 @@ $column-gutter: 0;
font-weight: normal;
font-size: smaller;
}
&._selected {
background-color: #fff;
}
}
&.unread {
a {
@@ -227,23 +230,8 @@ $column-gutter: 0;
}
&:hover,
&:active {
background-color: $f-dropdown-list-hover-bg;
//background-color: scale-color($f-dropdown-list-hover-bg, $lightness: 28%);
background-color: #fff;
}
&._selected,
&._selected span {
//background-color: $module-light-color;
//background-color: $sub-nav-active-bg-hover;
//background-color: $f-dropdown-list-hover-bg;
background-color: $module-color;
background-color: #fff;
//color: $module-color;
//color: $module-secondary-color;
.name {
//color: #fff;
}
}
}
}
}