Browse Source

add symola.ttf + fix menu

nin-v2
myleneb 9 years ago
parent
commit
adc9af0540
  1. BIN
      css/Symbola.ttf
  2. 26
      css/style.css
  3. 2
      sass/base/_commons.sass
  4. 11
      sass/base/_fonts.sass
  5. 17
      sass/layout/_menu.sass

BIN
css/Symbola.ttf

Binary file not shown.

26
css/style.css

@ -99,6 +99,13 @@ article, aside, details, figcaption, figure, footer, header, hgroup, main, menu,
font-weight: 700; font-weight: 700;
font-style: italic; font-style: italic;
} }
/* S Y M B O L A */
@font-face {
font-family: "Symbola";
src: url("Symbola.ttf");
font-weight: 400;
font-style: normal;
}
/* ICONS */ /* ICONS */
@font-face { @font-face {
font-family: "Ionicons"; font-family: "Ionicons";
@ -235,7 +242,7 @@ html {
body { body {
font-size: 1rem; font-size: 1rem;
line-height: 1.3rem; line-height: 1.3rem;
font-family: "Roboto", sans-serif; font-family: "Roboto", sans-serif, "Symbola";
font-weight: 400; font-weight: 400;
overflow-y: scroll !important; overflow-y: scroll !important;
} }
@ -495,7 +502,6 @@ button.light:hover, .light.show-more-followers:hover, a.button.light:hover {
} }
.userMenu li.userMenu-config, .userMenu li.userMenu-search { .userMenu li.userMenu-config, .userMenu li.userMenu-search {
float: right; float: right;
position: relative;
color: white; color: white;
} }
.userMenu li.userMenu-config + a, .userMenu li.userMenu-search + a { .userMenu li.userMenu-config + a, .userMenu li.userMenu-search + a {
@ -519,6 +525,22 @@ button.light:hover, .light.show-more-followers:hover, a.button.light:hover {
.userMenu li.userMenu-config > a { .userMenu li.userMenu-config > a {
font-size: 1.5rem; font-size: 1.5rem;
} }
.userMenu li .config-menu.dialog-modal a {
background: #FDFCFA;
border-top: 1px solid #eee;
text-decoration: none;
display: block;
width: 100%;
font-weight: 400;
line-height: 32px;
display: block;
margin: 0;
padding: 5px;
color: #3E3C42 !important;
}
.userMenu li .config-menu.dialog-modal a:hover {
background: white;
}
/* Wrapper and blocks */ /* Wrapper and blocks */
.wrapper { .wrapper {

2
sass/base/_commons.sass

@ -20,7 +20,7 @@ html
body body
font-size: $main-font-size font-size: $main-font-size
line-height : $main-line-height line-height : $main-line-height
font-family : $main-font-family font-family : $main-font-family, "Symbola"
font-weight: 400 font-weight: 400
overflow-y: scroll!important overflow-y: scroll!important

11
sass/base/_fonts.sass

@ -48,6 +48,17 @@
font-style: italic font-style: italic
/* S Y M B O L A */
@font-face
font-family: "Symbola"
src: url("Symbola.ttf")
font-weight: 400
font-style: normal
/* ICONS */ /* ICONS */
@font-face @font-face

17
sass/layout/_menu.sass

@ -81,7 +81,6 @@ $menuBgColor : $dark-grey
&.userMenu-config, &.userMenu-search &.userMenu-config, &.userMenu-search
float: right float: right
position: relative
color: $menu-font-color color: $menu-font-color
+ a + a
color: $main-color-dark color: $main-color-dark
@ -101,4 +100,18 @@ $menuBgColor : $dark-grey
@extend .ion @extend .ion
@extend .ion-gear @extend .ion-gear
font-size: 1.5rem font-size: 1.5rem
.config-menu.dialog-modal
a
background: $bloc-light-color
border-top: 1px solid $main-background-color
&:hover
background: white
text-decoration: none
display: block
width: 100%
font-weight: 400
line-height: $mini-usr-img / 1.5
display: block
margin: 0
padding: 5px
color: $defaut-font-color!important

Loading…
Cancel
Save