theme_nin/sass/layout/_profile.sass

160 lines
2.5 KiB
Sass
Raw Normal View History

// variables for width
$modal-width: 980px
2015-07-26 21:39:11 +02:00
$modal-height: 580px
$modal-gut: 15px
$modal-postboard-height: $modal-height - 3*$modal-gut
$modal-left-col: 400px
$modal-right-col: ($modal-width - 2*$modal-gut) - $modal-left-col - $modal-gut
2015-07-26 21:39:11 +02:00
$modal-postboard-post-height: 100%
/*************************************
******************* PROFILE MODAL
***************************************/
.profile-modal
2015-07-27 12:15:24 +02:00
.modal-content
overflow: hidden
padding: 0
position: relative
#profile-posts
padding: 0
.postboard
width: 100%
height: 100%
2015-07-28 10:40:52 +02:00
position: absolute
2015-07-27 12:15:24 +02:00
.postboard-posts
display: block
height: $modal-postboard-post-height
2015-07-28 10:40:52 +02:00
overflow: auto
2015-07-27 12:15:24 +02:00
.profile-card
margin: 0
padding: 0
2015-07-28 13:14:22 +02:00
border-bottom: 1px solid $main-background-color
2015-07-28 10:40:52 +02:00
.profile-data
background: none
.members
overflow-y: auto
.profile-modal
2015-07-27 12:15:24 +02:00
h2.profile-screen-name
display: block
letter-spacing: 0
text-transform: none
color: lighten($dark-grey, 30%)
padding: 5px 0
margin: 0
font-size: 13px
line-height: 13px
2015-07-26 21:39:11 +02:00
/* Profile card*/
.profile-card
2015-07-27 12:15:24 +02:00
width: 100%
2015-07-28 10:40:52 +02:00
background: $bloc-light-color
2015-07-27 12:15:24 +02:00
padding: $modal-gut
.profile-card-main
2015-07-27 12:15:24 +02:00
position: relative
2015-07-29 19:18:22 +02:00
text-align: left
2015-07-27 12:15:24 +02:00
word-wrap: break-word
background: none!important
2015-07-29 19:18:22 +02:00
padding: 10px
h1, h2
display: inline !important
b
font-weight: 400
2015-07-27 12:15:24 +02:00
&:before
content: ""
border: solid 0px #fff
position: absolute
left: 1px
top: 1px
right: 1px
bottom: 1px
z-index: 0
*
position: relative
z-index: 1
.profile-card-photo
2015-07-29 03:28:09 +02:00
height: auto
width: $usr-img
2015-07-29 19:18:22 +02:00
margin: 0 10px 10px 0
2015-07-27 12:15:24 +02:00
display: block
2015-07-29 03:28:09 +02:00
float: left
.profile-card-photo.forEdition
2015-07-29 03:28:09 +02:00
float: none
.profile-bio
2015-08-01 22:52:31 +02:00
@extend i
2015-07-29 19:18:22 +02:00
text-align: left
2015-08-01 22:52:31 +02:00
font-size: .9rem
2015-07-29 19:18:22 +02:00
margin-left: $usr-img + 10
2015-07-27 12:15:24 +02:00
.profile-card-buttons
text-align: center
padding: 0 0 $space 0
.isFollowing:after
2015-07-31 10:58:25 +02:00
font-size: 10px
2015-07-27 12:15:24 +02:00
.follow
@extend .color-1
.unfollow
@extend .color-2
2015-07-27 12:15:24 +02:00
.known-followers
text-align: center
clear: both
width: 100%
2015-07-26 21:39:11 +02:00
#msngrswr
2015-07-27 12:15:24 +02:00
display: none
text-align: center
margin: 10px 0
.profile-extra-contact
2015-07-27 12:15:24 +02:00
display: none
margin: 0 15px 0 0
font-weight: 500
padding: 2px 8px 3px 8px
+border-radius(2px)
2015-08-03 16:20:22 +02:00
.bitmessage-ctc, .tox-ctc
2015-08-03 16:20:22 +02:00
background: #999
color: white
font-size: 1rem
2015-07-27 12:15:24 +02:00
display: inline-block
2015-08-03 16:20:22 +02:00
padding: 10px
line-height: 1rem
@extend .ion-copy
@extend .ion
2015-07-26 21:39:11 +02:00
.profile-modal
2015-07-27 12:15:24 +02:00
.profile-tox, .profile-bitmessage
display: inline-block
margin-right: 5px
font-size: 13px
&:hover
color: $main-color-color
2015-08-03 16:20:22 +02:00
text-decoration: none
@extend .ion-tox
@extend .ion