Nin is a theme for twister-html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

119 lines
2.3 KiB

9 years ago
// vars for the menu
$menu-height : 52px
9 years ago
$menu-font-color: white
$menuBgColor : $dark-grey
.userMenu
9 years ago
width: 100%
position: fixed
height: $menu-height
left: 0
margin: 0
//background-color: #FFAF1C
//+background-image(linear-gradient(to right , $color-green, #5E80A2) )
background-color: $menuBgColor
z-index: 20
9 years ago
> ul
9 years ago
@extend .clear-fix
+box-sizing(border-box)
max-width: 100%
width: $site-width
margin: auto
background: image-url("logo.png") no-repeat 50% 50%
9 years ago
background-size: 20px
li
position: relative
display: block
float: left
9 years ago
margin: 0 10px
9 years ago
> a
line-height: $menu-height
9 years ago
display: inline-block
color: rgba($menu-font-color, 0.5)!important
font-size: 1rem
9 years ago
position: relative
font-size: 1rem
9 years ago
&:hover
color: $menu-font-color!important
text-decoration: none
&:before
padding-right: 5px
span
display: inline-block
&.current a
9 years ago
color: $menu-font-color!important
/* Menu specific entries */
.userMenu li
9 years ago
&.userMenu-home
a
.label
display: inline-block!important
9 years ago
.menu-news
position: absolute
text-align: center
display: none
top: 5px
right: -12px
9 years ago
background: $main-color-color
width: 15px
height: 15px
line-height: 15px
font-size: 10px
padding: 1px
margin: 0
9 years ago
font-weight: 900
+border-radius(50%)
+box-sizing(content-box)
color: white
9 years ago
&.show
display: block
&.userMenu-dhtindicator, &.userMenu-connections, &.userMenu-messages, &.userMenu-groupmessages
9 years ago
display: none!important
9 years ago
&.userMenu-config, &.userMenu-search
float: right
color: $menu-font-color
+ a
color: $main-color-dark
&.userMenu-search
> input
border: 1px solid rgba(white,.3)
line-height: $menu-height/2
9 years ago
margin-top: $menu-height/4
9 years ago
font-size: 12px
padding: 0 7px
background: rgba(white,.1)
color: white
+border-radius(7px)
9 years ago
&:focus
border-color: rgba(white,.7)
9 years ago
&.userMenu-config > a
9 years ago
@extend .ion
@extend .ion-gear
9 years ago
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