theme_nin/sass/style.sass

754 lines
13 KiB
Sass
Raw Normal View History

2015-08-01 22:52:31 +02:00
@charset "UTF-8"
@import compass
2015-07-26 21:39:11 +02:00
@import 'compass/reset'
@import 'compass/utilities'
2015-07-27 12:15:24 +02:00
2015-07-27 12:29:48 +02:00
// base
@import 'base/_fonts'
@import 'base/_var'
@import 'base/_commons'
@import 'base/_utils'
2015-07-27 12:15:24 +02:00
// layout
2015-07-27 12:29:48 +02:00
@import 'layout/_menu'
2015-07-31 10:58:25 +02:00
@import 'layout/_wrapper'
2015-07-27 12:29:48 +02:00
@import 'layout/_modal'
@import 'layout/_profile'
@import 'layout/_postboard'
2015-09-12 15:21:54 +02:00
@import 'layout/_groupchat'
2015-07-27 12:29:48 +02:00
// pages
@import 'pages/_profile'
2015-07-27 12:29:48 +02:00
@import 'pages/_following'
@import 'pages/_login'
@import 'pages/_network'
2015-07-27 12:15:24 +02:00
2015-07-27 12:29:48 +02:00
@import 'layout/_tabs'
2015-07-26 21:39:11 +02:00
.promoted-posts-only
2015-07-27 12:15:24 +02:00
margin: 0 0
2015-07-29 06:05:10 +02:00
2015-07-27 12:15:24 +02:00
li
cursor: pointer
2015-07-29 03:28:09 +02:00
display: block
margin: 0
2015-08-01 22:52:31 +02:00
width: 50%
padding: .5rem
float: left
2015-07-29 06:05:10 +02:00
text-align: center
2015-07-27 12:15:24 +02:00
transition: color .1s linear
2015-08-01 22:52:31 +02:00
position: relative
border-left: 1px solid $main-background-color
span
font-size: .8rem
line-height: .8rem
display: block
2015-07-29 06:05:10 +02:00
&.disabled
2015-07-31 10:58:25 +02:00
background: $bloc-background-color
2015-08-01 22:52:31 +02:00
color: rgba($defaut-font-color, .3)
z-index: 3
&.active
2015-07-29 06:05:10 +02:00
color: $defaut-font-color
2015-07-27 12:15:24 +02:00
cursor: default
2015-08-01 22:52:31 +02:00
z-index: 5
/********** CONFIG SUBMENU & SEARCH RESULTS ************/
.dialog-modal
2015-07-27 12:15:24 +02:00
display: none
background: $main-color-dark
position: absolute
2015-07-29 03:28:09 +02:00
top: $menu-height - 4
right: 0
width: 320px
2015-07-27 12:15:24 +02:00
overflow: hidden
2015-07-28 13:14:22 +02:00
+box-shadow(0 8px 33px rgba(#000, .3))
.userMenu-search .dialog-modal:after
2015-07-27 12:15:24 +02:00
right: auto
left: 150px
.direct-messages, .dropdown-menu-item
2015-07-27 12:15:24 +02:00
display: block
padding: 10px
2015-07-26 21:39:11 +02:00
2015-08-03 16:20:22 +02:00
2015-07-28 13:14:22 +02:00
ul.userMenu-search-profiles
2015-07-27 12:15:24 +02:00
width: 100%
padding: 0
2015-07-29 03:28:09 +02:00
2015-07-28 13:14:22 +02:00
2015-07-27 12:15:24 +02:00
li
float: none
display: block
margin: 0
@extend .clear-fix
2015-07-29 03:28:09 +02:00
cursor: pointer
background: $bloc-light-color
2015-07-27 12:15:24 +02:00
border-bottom: 1px solid $main-background-color
2015-07-29 03:28:09 +02:00
&:hover
background: white
a
display: block
width: 100%
font-size: 12px
font-weight: 400
2015-08-01 22:52:31 +02:00
line-height: $mini-usr-img / 1.5
2015-07-29 03:28:09 +02:00
display: block
margin: 0
padding: 0
color: $defaut-font-color
2015-07-29 06:05:10 +02:00
span, b, span:hover, b:hover
2015-07-29 03:28:09 +02:00
display: inline-block
color: $defaut-font-color
font-weight: 400
font-size: 12px
.mini-screen-name b,
.mini-screen-name
font-weight: 500
2015-07-29 06:05:10 +02:00
.mini-profile-photo
2015-08-01 22:52:31 +02:00
width: $mini-usr-img / 1.5
2015-07-29 03:28:09 +02:00
height: auto
2015-08-01 22:52:31 +02:00
height: $mini-usr-img / 1.5
overflow: hidden
2015-07-31 10:58:25 +02:00
margin: 5px
2015-07-27 12:15:24 +02:00
float: left
2015-07-31 10:58:25 +02:00
overflow-x: hidden
2015-07-27 12:15:24 +02:00
.mini-profile-info
width: 100%
float: none
2015-08-01 22:52:31 +02:00
.mini-profile-name
padding: 5px 0 0 0
2015-07-27 12:15:24 +02:00
button
2015-08-01 22:52:31 +02:00
font-size: 13px
line-height: $mini-usr-img / 2
height: $mini-usr-img / 1.5
width: $mini-usr-img / 1.5
2015-07-29 03:28:09 +02:00
text-align: center
2015-08-01 22:52:31 +02:00
font-weight: 700
2015-07-29 03:28:09 +02:00
padding: 0
2015-07-28 13:14:22 +02:00
position: absolute
2015-08-01 22:52:31 +02:00
top: 5px
right: 5px
2015-07-28 13:14:22 +02:00
2015-08-03 16:20:22 +02:00
.userMenu-search-sugestions a
2015-07-27 12:15:24 +02:00
color: rgba(0, 0, 0, 0.7)
padding: 10x 20px
display: block
clear: both
2015-07-26 21:39:11 +02:00
/***************** MINI PROFILE *******************************/
.mini-profile
2015-07-31 10:58:25 +02:00
a:hover
text-decoration: none
2015-07-27 12:15:24 +02:00
a.button
background: $main-color-light
margin: 1em auto
.post-area
margin-top: 1px
margin-bottom: 20px
2015-09-01 10:54:04 +02:00
2015-07-27 12:15:24 +02:00
@extend .clear-fix
2015-09-01 10:54:04 +02:00
.modal-header
@extend .modal-header
h3
padding: 0 0 0 20px
2015-07-27 12:15:24 +02:00
.post-area-new
@extend .open
2015-09-01 10:54:04 +02:00
padding: 20px
2015-07-27 12:15:24 +02:00
+box-shadow(none)
margin: 0
textarea
width: 100%
.mini-profile-indicators
2015-07-27 12:15:24 +02:00
margin: 0
text-align: center
@extend .clear-fix
2015-07-27 14:53:52 +02:00
border-top: 1px solid $main-background-color
2015-07-31 10:58:25 +02:00
background: $bloc-background-color
2015-07-27 12:15:24 +02:00
li
+box-sizing(border-box)
display: block
position: relative
font-size: .8em
2015-07-28 10:40:52 +02:00
text-align: center
2015-07-29 06:05:10 +02:00
border-bottom: 1px solid $main-background-color
2015-07-27 12:15:24 +02:00
a
2015-08-01 22:52:31 +02:00
color: lighten($dark-grey,10%)
2015-07-27 12:15:24 +02:00
display: block
2015-09-14 13:34:33 +02:00
padding: .5rem 0
2015-07-27 12:15:24 +02:00
&:hover
2015-07-28 10:40:52 +02:00
color: $dark-grey
2015-07-29 06:05:10 +02:00
background: $bloc-light-color
2015-07-28 10:40:52 +02:00
&:before
display: block!important
width: 100%!important
font-size: 1.4rem!important
2015-07-27 12:15:24 +02:00
.userMenu-connections a
2015-08-01 22:52:31 +02:00
@extend .ion-mention
@extend .ion
2015-07-27 12:15:24 +02:00
.userMenu-messages a
2015-08-01 22:52:31 +02:00
@extend .ion-chatbox
@extend .ion
2015-07-27 12:15:24 +02:00
.userMenu-user a
2015-08-01 22:52:31 +02:00
@extend .ion-profile
@extend .ion
2015-09-12 15:21:54 +02:00
.userMenu-groupmessages a
@extend .ion-android-contacts
@extend .ion
2015-09-14 13:34:33 +02:00
.userMenu-collapsePosts a
@extend .ion
@extend .ion-arrow-shrink
.messages-qtd
2015-07-27 12:15:24 +02:00
position: absolute
2015-07-31 10:58:25 +02:00
top: 5px
right: 5px
2015-07-27 12:15:24 +02:00
background: $main-color-color
2015-11-06 21:21:36 +05:00
text-align: center
2015-07-27 12:15:24 +02:00
+text-shadow(1px 1px 0 rgba(#000,.2))
color: #fff
width: 25px
height: 25px
line-height: 25px
font-size: 10px
font-weight: 900
+border-radius(50%)
2015-07-26 21:39:11 +02:00
.mini-profile-view
2015-07-27 12:15:24 +02:00
display: none
2015-07-31 10:58:25 +02:00
.left .mini-profile-info
2015-08-01 22:52:31 +02:00
padding-top: 20px
.mini-profile-name
2015-07-27 12:15:24 +02:00
color: $dark-grey
2015-07-29 06:05:10 +02:00
font-size: 1em
font-weight: 500
2015-07-27 12:15:24 +02:00
padding: 10px 0
display: block
2015-07-29 06:05:10 +02:00
text-align: center
2015-07-27 12:15:24 +02:00
margin: auto
&:hover
color: $main-color-light
2015-07-29 06:05:10 +02:00
.mini-profile-photo img
2015-07-29 03:28:09 +02:00
width: $usr-img
height: auto
2015-07-27 12:15:24 +02:00
display: block
2015-07-31 10:58:25 +02:00
margin: auto
.profile-data
2015-07-27 12:15:24 +02:00
@extend .clear-fix
clear: both
padding: 0 0 1em 0
text-align: center
background: $bloc-background-color
2015-07-27 17:11:18 +02:00
.mini-profile &
display: none
2015-07-27 12:15:24 +02:00
li
display: inline
margin: 0 5px
float: none
a
color: $dark-grey
display: inline-block
font-size: 13px
padding-bottom: 3px
&:hover
color: $main-color-light
span
&.posts-count, &.following-count, &.followers-count
display: inline-block
padding-right: 5px
2015-07-29 06:05:10 +02:00
.mini-profile
a
span.following-count
display: block
font-weight: 900
font-size: 1.2rem
color: lighten($dark-grey,20%)
&:hover span.following-count
color: $dark-grey
.mini-profile-info a:hover
2015-07-27 12:15:24 +02:00
text-decoration: none
2015-07-26 21:39:11 +02:00
.who-follow
2015-07-27 12:15:24 +02:00
display: block
position: absolute
bottom: 10px
padding: 10px
2015-08-01 22:52:31 +02:00
width: 100%
background: $bloc-light-color
2015-07-27 12:15:24 +02:00
font-size: 12px
z-index: 10
+transition(all .2s linear)
2015-08-01 22:52:31 +02:00
+box-shadow(-8px 0 13px rgba(#111, 0.2))
2015-07-26 21:39:11 +02:00
.show-more-followers
2015-08-01 22:52:31 +02:00
@extend button
@extend .small
2015-07-27 12:15:24 +02:00
float: right
2015-08-01 22:52:31 +02:00
margin-right: 5px
2015-07-31 10:58:25 +02:00
.mini-follower-link, .followed-by
2015-07-27 12:15:24 +02:00
display: inline-block
2015-08-01 22:52:31 +02:00
margin: 1px 5px
2015-07-27 12:15:24 +02:00
line-height: 12px
&.isFollowing:after
display: none
2015-08-01 22:52:31 +02:00
2016-11-27 20:36:51 +05:00
.latest-activity
font-size: 12px
label
display: inline-block
.time
display: inline-block
cursor: pointer
font-size: 12px
line-height: 12px
margin: 1px 5px
2015-07-26 21:39:11 +02:00
/***************** POST AREA ***************/
.post-area-new
2015-07-29 06:05:10 +02:00
2015-07-27 12:15:24 +02:00
textarea
resize: none
+box-sizing(border-box)
width: 100%
display: block
transition: all .3s linear
-webkit-transition: height 0.3s linear
-moz-transition: height 0.3s linear
-o-transition: height 0.3s linear
-ms-transition: height 0.3s linear
2015-07-29 03:28:09 +02:00
height: $mini-usr-img
2015-07-27 12:15:24 +02:00
border: none
background: rgba(255, 255, 255, 1)
border: 1px solid rgba(0, 0, 0, 0.1)
2015-07-28 10:40:52 +02:00
padding: 5px
2015-07-27 12:15:24 +02:00
margin: 5px 0
&:focus
border-bottom: solid 1px $main-color-color
2015-07-29 06:05:10 +02:00
.mini-profile .post-area
display: none
2015-09-01 07:50:00 +02:00
&.display
display: block
@extend .prompt-wrapper
margin-top: -110px
2015-07-27 12:15:24 +02:00
2015-07-28 10:40:52 +02:00
#post-preview
border: 1px solid $main-background-color
2015-07-31 10:58:25 +02:00
border-bottom: 0
padding: 5px
2015-07-28 10:40:52 +02:00
+transition-property(all)
+transition-duration(.1s)
width: 100%!important
2015-07-31 10:58:25 +02:00
font-size: 90%
line-height: normal
word-wrap: break-word
2015-07-31 10:58:25 +02:00
clear: left
#opt-form-post-preview
width: 100%
#post-preview
background-color: #FCFFF3
width: 76% !important
margin-left: 16px
padding: 8px
.preview-container
background-color: rgba(0,0,0, 0.05)
margin-top: 8px
.image-preview
width: auto
.post-area-new.open textarea
2015-07-27 12:15:24 +02:00
height: 80px
textarea.splited-post
2015-07-27 12:15:24 +02:00
box-shadow: none!important
height: 28px
.splited-post-counter
2015-07-27 12:15:24 +02:00
color: rgba(0, 0, 0, 0.3)
font-weight: bold
&:before
content: '\2026'
.post-area-extras
2015-07-27 12:15:24 +02:00
overflow: hidden
height: 0
text-align: right
.post-area-new.open > .post-area-extras
2015-07-27 12:15:24 +02:00
height: auto
transition: all .6s linear
.post-area-remaining
2015-07-27 12:15:24 +02:00
padding-right: 3px
&.warn
color: #ff0000
2015-07-26 21:39:11 +02:00
/******** WHO TO FOLLOW ********/
.who-to-follow
2015-07-27 12:15:24 +02:00
&.module
2015-07-28 10:40:52 +02:00
2015-07-27 12:15:24 +02:00
li
button
position: absolute
2015-09-13 22:20:04 +02:00
right: 30px
2015-07-28 10:40:52 +02:00
top: 10px
@extend .small
display: none
2015-09-13 22:20:04 +02:00
padding: .4rem!important
2015-07-28 10:40:52 +02:00
&:hover button
display: block
2015-07-27 12:15:24 +02:00
2015-07-26 21:39:11 +02:00
img.twister-user-photo
2015-07-27 12:15:24 +02:00
float: left
display: block
float: left
2015-08-01 22:52:31 +02:00
width: $micro-usr-img
2015-07-28 10:40:52 +02:00
height: auto
2015-07-31 10:58:25 +02:00
margin: 0 10px 0 0
2015-07-26 21:39:11 +02:00
.followers
2015-07-27 12:15:24 +02:00
font-size: 12px
label, a
display: inline-block
.followed-by
2015-07-27 12:15:24 +02:00
font-size: 12px
cursor: pointer
display: block
.twister-user-name, .twister-by-user-name
2015-07-31 10:58:25 +02:00
font-weight: 500
2015-07-27 12:15:24 +02:00
font-size: 14px
text-decoration: none
2015-07-31 10:58:25 +02:00
color: $main-color-dark
.twister-user-name
font-weight: 700
.twister-user-tag
2015-07-27 12:15:24 +02:00
font-size: 12px
line-height: 14px
opacity: .8
display: inline-block
letter-spacing: 0px
.twister-user-remove
2015-07-27 12:15:24 +02:00
font-size: 13px
2015-08-01 22:52:31 +02:00
opacity: .5
2015-07-27 12:15:24 +02:00
text-decoration: none
cursor: pointer
position: absolute
padding: 5px
2015-08-01 22:52:31 +02:00
top: 0
right: 0
display: block
@extend .ion-close
@extend .ion
.twister-user:hover .twister-user-remove
2015-07-27 12:15:24 +02:00
text-decoration: none
.twister-user-remove:hover
2015-07-27 12:15:24 +02:00
opacity: 1
2015-07-26 21:39:11 +02:00
.refresh-toptrends, .twistday-reminder .refresh, .refresh-users
2015-08-03 16:20:22 +02:00
@extend .ion-shuffle
2015-08-01 22:52:31 +02:00
@extend .ion
2015-08-03 16:20:22 +02:00
color: lighten($main-color-dark,30%)
2015-07-27 12:15:24 +02:00
cursor: pointer
2015-08-03 16:20:22 +02:00
font-size: .7rem
2015-07-27 12:15:24 +02:00
font-weight: 500
text-transform: none
letter-spacing: 0
float: right
display: block
2015-08-03 16:20:22 +02:00
margin: 10px
2015-07-27 12:15:24 +02:00
position: relative
.view-all-users
2015-08-03 16:20:22 +02:00
color: lighten($main-color-dark,30%)
2015-07-27 12:15:24 +02:00
cursor: pointer
2015-08-03 16:20:22 +02:00
font-size: .7rem
2015-07-27 12:15:24 +02:00
font-weight: 500
text-transform: none
letter-spacing: 0
float: right
display: block
2015-08-03 16:20:22 +02:00
margin: 10px
2015-07-27 12:15:24 +02:00
position: relative
2015-08-03 16:20:22 +02:00
@extend .ion-eye
@extend .ion
2015-07-26 21:39:11 +02:00
.refresh-toptrends:hover, .twistday-reminder .refresh:hover, .refresh-users:hover, .view-all-users:hover
2015-07-27 12:15:24 +02:00
color: $main-color-color
text-decoration: none
background-color: transparent
/***********TOP TRENDS***************/
2015-07-29 06:05:10 +02:00
.toptrends-list
2015-07-27 12:15:24 +02:00
margin: 0
clear: both
2015-07-29 06:05:10 +02:00
border-top: 1px solid $main-background-color
padding: 10px
2015-07-27 12:15:24 +02:00
li
display: inline-block
a
color: $main-color-light
padding: 3px 8px
display: inline-block
text-transform: uppercase
font-size: 11px
margin: 3px
font-weight: 500
2015-07-27 14:53:52 +02:00
background: white
2015-07-29 06:05:10 +02:00
+box-shadow(0 5px 8px rgba(#555, 0.2))
2015-07-27 12:15:24 +02:00
&:hover
color: $main-color-dark
2015-07-26 21:39:11 +02:00
/********* TWISTDAY REMINDER *******/
2015-07-26 21:39:11 +02:00
.twistday-reminder
2015-08-01 22:52:31 +02:00
2015-07-28 10:40:52 +02:00
.twister-user-full, .twister-user-tag
2015-08-01 22:52:31 +02:00
font-size: .9rem
2015-07-28 10:40:52 +02:00
line-height: 1rem
color: $defaut-font-color
font-weight: 500
opacity: 1
display: inline-block
.twisterday
font-size: 12px
2015-07-27 12:15:24 +02:00
2016-11-27 19:03:31 +05:00
/*********** NEWCOMERS ************/
.new-users
&.module
li
button
position: absolute
right: 30px
top: 10px
@extend .small
display: none
padding: .4rem!important
&:hover button
display: block
2015-07-27 12:15:24 +02:00
2015-07-28 10:40:52 +02:00
/******* LOADER *************/
2015-07-26 21:39:11 +02:00
.postboard-loading, .loading-roller
2015-07-28 10:40:52 +02:00
font-size: 100px
width: .4em
height: .4em
position: relative
list-style: none
border-radius: 50%
margin: 100px auto
display: none
div
width: .1em
height: .1em
position: absolute
border-radius: 50%
&:nth-child(1)
background: #62839F
top: 0
left: 50%
margin-left: -.05em
transform-origin: 50% 250%
animation: rota 1.13s linear infinite, opa 3.67s ease-in-out infinite alternate
&:nth-child(2)
background: #749294
top: 50%
right: 0
margin-top: -.05em
transform-origin: -150% 50%
animation: rota 1.86s linear infinite, opa 4.29s ease-in-out infinite alternate
&:nth-child(3)
background: #94AC7E
bottom: 0
left: 50%
margin-left: -.05em
transform-origin: 50% -150%
animation: rota 1.45s linear infinite, opa 5.12s ease-in-out infinite alternate
&:nth-child(4)
background: #B4C669
top: 50%
left: 0
margin-top: -.05em
transform-origin: 250% 50%
animation: rota 1.72s linear infinite, opa 5.25s ease-in-out infinite alternate
@keyframes rota
to
transform: rotate(360deg)
@keyframes opa
12.0%
opacity: 0.80
19.5%
opacity: 0.88
37.2%
opacity: 0.64
40.5%
opacity: 0.52
52.7%
opacity: 0.69
60.2%
opacity: 0.60
66.6%
opacity: 0.52
70.0%
opacity: 0.63
79.9%
opacity: 0.60
84.2%
opacity: 0.75
91.0%
opacity: 0.87
/* Options*/
2015-07-26 21:39:11 +02:00
.options
2015-07-27 12:15:24 +02:00
.appearance div
clear: both
div
float: left
clear: none
padding: 10px
.label
font-weight: 400
#filterLangList
width: 90%
#filterLangListCont div, #TopTrendsCont div, #TwistdayReminderCont div
float: none
padding: 0px 4px
.suboptions
2015-07-27 12:15:24 +02:00
margin: 5px 30px
border: double 2px rgba(69, 71, 77, 0.1)
height: 0px
padding: 0!important
overflow: hidden
float: right
transition: height .3s linear
-webkit-transition: height .3s linear
-moz-transition: height .3s linear
-o-transition: height .3s linear
-ms-transition: height .3s linear
font-size: .9em
line-height: .9em
font-style: italic
div
float: none!important
span
font-style: normal
2015-07-26 21:39:11 +02:00
/********** AUTOCOMPLETING *********/
.textcomplete-wrapper textarea
2015-07-27 12:15:24 +02:00
display: inline
ul.dropdown-menu
2015-07-27 12:15:24 +02:00
min-width: 160px
padding: 5px 0 7px
margin: 2px 0 0
list-style: none
background-color: #fff
border: 1px solid rgba(0, 0, 0, 0.2)
border-bottom: solid 2px #B4C669
@extend .box-shadow
z-index: 2000!important
2015-07-27 12:15:24 +02:00
li
> li > a
padding: 3px 20px
white-space: nowrap
transition: all 100ms
2015-07-26 21:39:11 +02:00
/* Language filter messages */
.langFilterSimData
2015-07-27 12:15:24 +02:00
color: rgba( 0, 0, 0, .7 )
font: 10px "Open Sans", sans-serif
text-align: center
2015-07-26 21:39:11 +02:00
.langFilterSimData em
2015-07-27 12:15:24 +02:00
color: #B4C669
2015-07-27 12:29:48 +02:00
@import 'layout/_responsive'