mirror of
https://github.com/neocities/neocities.git
synced 2025-08-03 16:21:52 +02:00
Initial work on header dropdown menu with notifications. Current menu items and placement of notification bubble will need more thought - Profile and "Activity on your profile" are kind of redundant.
This commit is contained in:
parent
4681523c4c
commit
7fe2209944
2 changed files with 57 additions and 9 deletions
|
@ -242,6 +242,51 @@
|
|||
&:hover{background:#528995; text-decoration:underline}
|
||||
&.selected, &:active{background:#528995; text-decoration:underline}
|
||||
}
|
||||
|
||||
.notification-value {
|
||||
background: $c-Brand-1;
|
||||
padding: 2px 5px;
|
||||
@include border-radius(4px);
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
height: 2.6em; //not sure why I need this :/
|
||||
|
||||
a {
|
||||
width:100%;
|
||||
}
|
||||
.info {
|
||||
float:right;
|
||||
margin-left: 10px;
|
||||
|
||||
.fa-caret-down {
|
||||
margin-left:10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.dropdown-menu {
|
||||
top: 100%;
|
||||
right: -1px;
|
||||
left: auto;
|
||||
background-color:#4C818C;
|
||||
@include border-radius(0px 0px 6px 6px);
|
||||
|
||||
li {
|
||||
width:100%;
|
||||
|
||||
a:hover {
|
||||
background:#3C6670;
|
||||
}
|
||||
}
|
||||
.divider {
|
||||
border-bottom: 1px solid #5e95a1;
|
||||
margin: 5px 0px;
|
||||
}
|
||||
.notification-value {
|
||||
float:right;
|
||||
padding: 0px 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.constant-Nav{
|
||||
float:left;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue