- Using new generator-stf.

- Refactored top bar to menu partial.
- Added new page-visibility directive.
This commit is contained in:
Gunther Brunner
2014-03-18 21:49:24 +09:00
parent 3d835546c8
commit efed9aefce
11 changed files with 168 additions and 89 deletions

65
res/app/menu/menu.css Normal file
View File

@@ -0,0 +1,65 @@
.stf-menu .stf-logo {
background: url(../../bower_components/stf-graphics/logo/exports/STF-128.png) no-repeat 0 0;
width: 32px;
height: 32px;
float: left;
text-indent: -9999em;
margin: 7px 10px 0 0;
background-size: 100% auto;
-webkit-background-size: 100% auto;
}
.stf-menu .stf-top-bar {
height: 46px;
/*border-bottom: 1px solid #e6e6e6;*/
padding: 0 10px 0 20px;
width: 100%;
float: left;
}
.stf-menu .stf-nav {
padding-left: 15px;
text-align: left;
margin: 0;
float: left;
}
.stf-menu .stf-nav > li {
padding-right: 15px;
float: left;
display: inline-block;
text-align: left;
position: relative;
margin: 0;
}
.stf-menu .stf-nav > li > a {
display: inline-block;
text-align: left;
padding: 0 !important;
padding-right: 18px !important;
padding-left: 14px !important;
font-size: 16px;
line-height: 44px;
height: 46px;
color: #777777;
/*border-bottom: 1px solid #eee;*/
font-weight: 400;
height: 45px;
position: relative;
}
.stf-menu .stf-nav > li > a > span {
display: inline-block;
float: left;
margin: 8px 8px 0 0;
font-size: 28px;
/*width: 28px;*/
/*height: 28px;*/
}
.stf-menu .stf-nav > li > a.current {
color: #007aff;
/*border-bottom: 1px solid #eee;*/
/*border-bottom-color: #007aff;*/
}