mirror of
https://github.com/moparisthebest/mail
synced 2024-11-22 17:02:17 -05:00
[WO-629] Fix nav margins
This commit is contained in:
parent
650aa83958
commit
8b081c759a
@ -1,6 +1,7 @@
|
||||
// Main Navigation Menu
|
||||
|
||||
.nav {
|
||||
$nav-padding-left: 8px;
|
||||
$nav-padding-h: 10px;
|
||||
$footer-height: 30px;
|
||||
|
||||
@ -133,9 +134,9 @@
|
||||
}
|
||||
&__folder {
|
||||
font-size: $font-size-base;
|
||||
padding-left: 5px;
|
||||
padding-left: $nav-padding-left;
|
||||
padding-right: 20px;
|
||||
margin-bottom: 12px;
|
||||
margin-bottom: 16px;
|
||||
a {
|
||||
color: $color-main;
|
||||
& > svg {
|
||||
@ -149,6 +150,9 @@
|
||||
top: 0.25em;
|
||||
}
|
||||
}
|
||||
&__folder__other {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
&__counter {
|
||||
display: inline;
|
||||
position: static;
|
||||
@ -165,7 +169,7 @@
|
||||
border-top-color: $color-border-light;
|
||||
& > li {
|
||||
font-size: $font-size-small;
|
||||
padding-left: 5px;
|
||||
padding-left: $nav-padding-left;
|
||||
padding-right: 5px;
|
||||
a {
|
||||
color: $color-text-light;
|
||||
|
@ -25,7 +25,7 @@
|
||||
</ul><!--/nav__folders-->
|
||||
|
||||
<ul class="nav__folders">
|
||||
<li ng-repeat="folder in account.folders" ng-if="!folder.wellknown" class="nav__folder" ng-class="{'nav__folder--open': state.nav.currentFolder === folder}">
|
||||
<li ng-repeat="folder in account.folders" ng-if="!folder.wellknown" class="nav__folder nav__folder__other" ng-class="{'nav__folder--open': state.nav.currentFolder === folder}">
|
||||
<a href="javascript:;" wo-touch="openFolder(folder)">
|
||||
<svg role="presentation"><use xlink:href="#icon-folder" /></svg>
|
||||
{{folder.name}}
|
||||
@ -67,8 +67,8 @@
|
||||
</li>
|
||||
</ul><!--/nav__secondary-->
|
||||
|
||||
<footer ng-class="{syncing: account.loggingIn || account.busy || searching}">
|
||||
<span class="spinner"></span>
|
||||
<footer>
|
||||
<span class="spinner" ng-show="account.loggingIn || account.busy || searching"></span>
|
||||
<span class="text" ng-switch="account.online">
|
||||
<span ng-switch-when="false">
|
||||
<svg><use xlink:href="#icon-offline" /></svg>
|
||||
|
Loading…
Reference in New Issue
Block a user