Commit 04c674e6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Cleanup after removing group tab from dashboard aside

parent 7fd4dc1e
class @Dashboard class @Dashboard
constructor: -> constructor: ->
@initSidebarTab()
new ProjectsList() new ProjectsList()
initSidebarTab: ->
key = "dashboard_sidebar_filter"
# store selection in cookie
$('.dash-sidebar-tabs a').on 'click', (e) ->
$.cookie(key, $(e.target).attr('id'))
# show tab from cookie
sidebar_filter = $.cookie(key)
$("#" + sidebar_filter).tab('show') if sidebar_filter
...@@ -23,25 +23,6 @@ ...@@ -23,25 +23,6 @@
} }
} }
.dash-sidebar-tabs {
margin-bottom: 2px;
border: none;
margin: 0 !important;
li {
&.active {
a {
background-color: whitesmoke !important;
border-bottom: 1px solid whitesmoke !important;
}
}
a {
border-color: #DDD !important;
}
}
}
.project-row, .group-row { .project-row, .group-row {
padding: 0 !important; padding: 0 !important;
font-size: 14px; font-size: 14px;
...@@ -116,15 +97,6 @@ ...@@ -116,15 +97,6 @@
} }
} }
.dash-new-group {
background: $gl-success;
border: 1px solid $gl-success;
a {
color: #FFF;
}
}
.dash-list .str-truncated { .dash-list .str-truncated {
max-width: 72%; max-width: 72%;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment