mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-30 06:15:42 +00:00
Add paper texture to toolbar and sidenav
This commit is contained in:
1 parent
e69c47854a
commit
3441a66040
8 files changed
+24
-9
No files matched your search
@@ -106,9 +106,15 @@ md-sidenav {
|
||||
& md-content,
|
||||
& md-toolbar {
|
||||
background-color: inherit;
|
||||
background-image: url("../img/cardboard-transp.png");
|
||||
background-blend-mode: multiply;
|
||||
}
|
||||
}
|
||||
|
||||
.md-sidenav-left md-toolbar {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
// MAILER Folder tree (in the left sidenav
|
||||
// ---------------------------------------
|
||||
$i: 1;
|
||||
@@ -122,7 +128,7 @@ $i: 1;
|
||||
[class*="sg-child-level"] {
|
||||
margin-right: 1em;
|
||||
};
|
||||
// This hack is so BAD I'm ashame putting it in the shame file
|
||||
// This hack is so BAD I am ashame putting it in the shame file
|
||||
// -----------------------------------------------------------
|
||||
// Folder tree's controler function are very intricate, the way
|
||||
// elements are marked as 'active reminds me of good old time JQuery
|
||||
@@ -130,7 +136,7 @@ $i: 1;
|
||||
// selection, but I don't wan't to mess in that script.
|
||||
// Here's the hack : on selection I use the parent > child selector to
|
||||
// change the definition of the icon's class. Yes, this means that
|
||||
// md-icon-folder:before as the value of md-icon-folder:before:before,
|
||||
// md-icon-folder:before as the value of md-icon-folder-open:before,
|
||||
// and this is wrong !
|
||||
|
||||
.sg-active i.md-icon-folder:before {
|
||||
|
||||
Reference in new issue
Block a user