Dropdown User Plugins styles
parent
52009415c0
commit
758a13b739
|
@ -14,3 +14,4 @@ tmp/
|
||||||
app/config/main.coffee
|
app/config/main.coffee
|
||||||
scss-lint.log
|
scss-lint.log
|
||||||
e2e/screenshots/
|
e2e/screenshots/
|
||||||
|
app/modules/compile-modules/
|
||||||
|
|
|
@ -777,6 +777,7 @@
|
||||||
"CHANGE_PASSWORD": "Change password",
|
"CHANGE_PASSWORD": "Change password",
|
||||||
"DASHBOARD_TITLE": "Dashboard",
|
"DASHBOARD_TITLE": "Dashboard",
|
||||||
"DISCOVER_TITLE": "Discover trending projects",
|
"DISCOVER_TITLE": "Discover trending projects",
|
||||||
|
"NEW_ITEM": "New",
|
||||||
"DISCOVER": "Discover",
|
"DISCOVER": "Discover",
|
||||||
"ACTION_REORDER": "Drag & drop to reorder"
|
"ACTION_REORDER": "Drag & drop to reorder"
|
||||||
},
|
},
|
||||||
|
|
|
@ -23,13 +23,14 @@ div.navbar-dropdown.dropdown-user
|
||||||
title="{{'PROJECT.NAVIGATION.EDIT_PROFILE_TITLE' | translate}}",
|
title="{{'PROJECT.NAVIGATION.EDIT_PROFILE_TITLE' | translate}}",
|
||||||
translate="PROJECT.NAVIGATION.EDIT_PROFILE")
|
translate="PROJECT.NAVIGATION.EDIT_PROFILE")
|
||||||
|
|
||||||
li(ng-repeat="plugin in vm.userSettingsPlugins")
|
li.plugin(ng-repeat="plugin in vm.userSettingsPlugins")
|
||||||
a(
|
a(
|
||||||
href=""
|
href=""
|
||||||
tg-nav="user-settings-contrib:plugin=plugin.slug"
|
tg-nav="user-settings-contrib:plugin=plugin.slug"
|
||||||
ng-class="{active: plugin.slug == currentPlugin.slug}"
|
ng-class="{active: plugin.slug == currentPlugin.slug}"
|
||||||
)
|
)
|
||||||
span.title {{ plugin.name }}
|
span.title {{ plugin.name }}
|
||||||
|
span.new(translate="PROJECT.NAVIGATION.NEW_ITEM")
|
||||||
|
|
||||||
li
|
li
|
||||||
a(
|
a(
|
||||||
|
|
|
@ -133,6 +133,20 @@ $dropdown-width: 350px;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
.plugin {
|
||||||
|
&:hover {
|
||||||
|
.new {
|
||||||
|
color: $white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.new {
|
||||||
|
@extend %small;
|
||||||
|
background: $red-light;
|
||||||
|
float: right;
|
||||||
|
margin-left: auto;
|
||||||
|
padding: .1rem .25rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
a {
|
a {
|
||||||
color: $gray-light;
|
color: $gray-light;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
Loading…
Reference in New Issue