Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen van Bergerem <svbergerem@online.de>2015-06-03 01:28:26 +0300
committerJonne Haß <me@jhass.eu>2015-06-04 19:05:43 +0300
commit46abdbdd1fced8612cbb165efdb5738ac948a7e5 (patch)
tree306832713ad962befaa732de4b23e11eccc40a70 /app/assets
parent8e9ceb9a2bafe425a6d35f824282db20e70d54a7 (diff)
Style fixes for left navbar in notification view
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/app/views/notifications_view.js4
-rw-r--r--app/assets/stylesheets/application.scss3
-rw-r--r--app/assets/stylesheets/new_styles/_navs.scss15
-rw-r--r--app/assets/stylesheets/notifications.scss17
4 files changed, 8 insertions, 31 deletions
diff --git a/app/assets/javascripts/app/views/notifications_view.js b/app/assets/javascripts/app/views/notifications_view.js
index 5d33edc47..c2d1cdfd1 100644
--- a/app/assets/javascripts/app/views/notifications_view.js
+++ b/app/assets/javascripts/app/views/notifications_view.js
@@ -74,10 +74,10 @@ app.views.Notifications = Backbone.View.extend({
[allNotes, typeNotes].forEach(function(badge) {
if(badge.text() > 0) {
- badge.addClass("badge-important").removeClass("badge-default");
+ badge.removeClass("hidden");
}
else {
- badge.removeClass("badge-important").addClass("badge-default");
+ badge.addClass("hidden");
}
});
diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss
index 72558f8e5..5143340cb 100644
--- a/app/assets/stylesheets/application.scss
+++ b/app/assets/stylesheets/application.scss
@@ -34,9 +34,6 @@
@import 'new_styles/registration';
@import 'new_styles/forms';
-/* navs */
-@import 'new_styles/navs';
-
/* profile and settings pages */
@import 'new_styles/settings';
diff --git a/app/assets/stylesheets/new_styles/_navs.scss b/app/assets/stylesheets/new_styles/_navs.scss
deleted file mode 100644
index d93871c92..000000000
--- a/app/assets/stylesheets/new_styles/_navs.scss
+++ /dev/null
@@ -1,15 +0,0 @@
-.nav.nav-tabs{
- li > a {
- color: $text-dark-grey;
- .entypo, .mentionIcon {
- color: $text-dark-grey;
- margin-right: 5px;
- }
- .mentionIcon { font-weight: 700; }
- }
- li.active > a {
- background-color: $background-grey;
- color: $black;
- .entypo, .mentionIcon { color: $black; }
- }
-}
diff --git a/app/assets/stylesheets/notifications.scss b/app/assets/stylesheets/notifications.scss
index 0cc1460f6..099bcc7ca 100644
--- a/app/assets/stylesheets/notifications.scss
+++ b/app/assets/stylesheets/notifications.scss
@@ -1,17 +1,8 @@
#notifications_container {
- .nav.nav-tabs{
- li > a {
- .badge.badge-default { display: none; }
- }
- }
-
.stream {
.header {
border-bottom: 1px solid $border-grey;
- .btn-toolbar, h4 {
- margin: 11px 0;
- line-height: 40px;
- }
+ .btn-toolbar { margin: 11px 0; }
margin-bottom: 10px;
}
@@ -58,7 +49,6 @@
.stream_element.media {
padding: 10px;
margin: 0px;
- font-size: 13px;
line-height: 18px;
border-bottom: 1px solid $border-grey;
&:last-child { border: none !important; }
@@ -98,4 +88,9 @@
.no_notifications { text-align: center; }
}
+
+ .list-group .list-group-item {
+ .entypo, .mentionIcon { margin-right: 5px; }
+ .mentionIcon { font-weight: bold; }
+ }
}