mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-16 16:19:48 -05:00
Update User Info and Assets in Navigation
This commit is contained in:
parent
e93b47285a
commit
1c6720b123
5 changed files with 20 additions and 12 deletions
|
@ -3,7 +3,7 @@
|
|||
.dropdown {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
min-width: 240px;
|
||||
min-width: 160px;
|
||||
max-width: 260px;
|
||||
background-color: $base-background-color;
|
||||
overflow: visible;
|
||||
|
|
|
@ -148,20 +148,27 @@
|
|||
text-indent: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
|
||||
background-size: 45%;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
> a:hover {
|
||||
background-size: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.messages {
|
||||
> a {
|
||||
background-image: url('/images/nav-notifications.png');
|
||||
width: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
.mystuff {
|
||||
> a {
|
||||
background-image: url('/images/mystuff.png');
|
||||
width: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -188,17 +195,18 @@
|
|||
}
|
||||
|
||||
&:after {
|
||||
$caret-border-width: 4px;
|
||||
margin-left: $caret-border-width;
|
||||
border: $caret-border-width solid transparent;
|
||||
border-bottom-width: 0;
|
||||
border-top-color: white;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
content: " ";
|
||||
opacity: 0.5;
|
||||
vertical-align: middle;
|
||||
width: 0;
|
||||
height: 0;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
|
||||
background-image: url('/images/dropdown.png');
|
||||
background-size: 50%;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
BIN
static/images/dropdown.png
Normal file
BIN
static/images/dropdown.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 431 B After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.8 KiB |
Loading…
Reference in a new issue