|
|
|
/*********** POPUP MODAL **************/
|
|
|
|
|
|
|
|
// vars modal
|
|
|
|
|
|
|
|
$header-modal-height : $menu-height
|
|
|
|
|
|
|
|
|
|
|
|
// style
|
|
|
|
|
|
|
|
.modal-blackout
|
|
|
|
display: none
|
|
|
|
|
|
|
|
|
|
|
|
.modal-wrapper
|
|
|
|
background: $bloc-background-color
|
|
|
|
z-index: 100
|
|
|
|
width: 34%
|
|
|
|
position: fixed
|
|
|
|
+box-sizing(border-box)
|
|
|
|
@extend .box-shadow
|
|
|
|
height: 100vh
|
|
|
|
right: 0
|
|
|
|
bottom: 0
|
|
|
|
overflow: hidden
|
|
|
|
+box-shadow(-8px 0 13px rgba(#111, 0.2))
|
|
|
|
+transition-property(top, bottom)
|
|
|
|
+transition-duration(1s)
|
|
|
|
&.remove
|
|
|
|
bottom: 300%
|
|
|
|
// NEW USER MODAL //
|
|
|
|
|
|
|
|
&.new-user
|
|
|
|
|
|
|
|
.modal-content
|
|
|
|
padding: 25px
|
|
|
|
.modal-close
|
|
|
|
display: none
|
|
|
|
.text
|
|
|
|
margin: 0 0 15px 0
|
|
|
|
.emphasis
|
|
|
|
text-align: center
|
|
|
|
.secret-key
|
|
|
|
display: block
|
|
|
|
margin-top: 8px
|
|
|
|
color: rgba(0.5, 0, 0, 1)
|
|
|
|
font-weight: bold
|
|
|
|
font-size: 110%
|
|
|
|
|
|
|
|
|
|
|
|
// FOLOWING MODAL //
|
|
|
|
|
|
|
|
&.following-modal
|
|
|
|
|
|
|
|
h2
|
|
|
|
display: none
|
|
|
|
.mini-following-info
|
|
|
|
border-bottom: 1px solid $main-background-color
|
|
|
|
line-height: $mini-usr-img
|
|
|
|
|
|
|
|
a
|
|
|
|
display: block
|
|
|
|
padding: 10px
|
|
|
|
width: 100%
|
|
|
|
|
|
|
|
@extend .clear-fix
|
|
|
|
color: $defaut-font-color
|
|
|
|
background: $bloc-light-color
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
background: white
|
|
|
|
text-decoration: none
|
|
|
|
font-weight: 500
|
|
|
|
.mini-profile-photo
|
|
|
|
width: $mini-usr-img
|
|
|
|
min-height: $mini-usr-img
|
|
|
|
overflow-x: hidden
|
|
|
|
line-height: 0
|
|
|
|
margin: 0 $space 0 0
|
|
|
|
float: left
|
|
|
|
.mini-following-name
|
|
|
|
&:after
|
|
|
|
line-height: 20px
|
|
|
|
.mini-screen-name
|
|
|
|
display: none
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.who-to-follow-modal
|
|
|
|
a
|
|
|
|
color: $main-color-dark
|
|
|
|
&.twister-user-name
|
|
|
|
&:hover
|
|
|
|
text-decoration: none
|
|
|
|
.twister-user-info
|
|
|
|
text-align: left
|
|
|
|
font-size: .8rem
|
|
|
|
line-height: 1rem
|
|
|
|
width: 80%
|
|
|
|
padding-left: $mini-usr-img + 20
|
|
|
|
button
|
|
|
|
position: absolute
|
|
|
|
right: 10px
|
|
|
|
top: 10px
|
|
|
|
@extend .small
|
|
|
|
.bio
|
|
|
|
color: rgba(0, 0, 0, 0.6)
|
|
|
|
font-style: italic
|
|
|
|
padding: .25rem 0
|
|
|
|
|
|
|
|
|
|
|
|
.modal-content
|
|
|
|
width: 100%
|
|
|
|
@extend .clear-fix
|
|
|
|
overflow: hidden
|
|
|
|
overflow-y: auto
|
|
|
|
|
|
|
|
.postboard
|
|
|
|
padding: 0
|
|
|
|
clear: none!important
|
|
|
|
position: relative
|
|
|
|
width: 100%
|
|
|
|
margin: auto
|
|
|
|
|
|
|
|
h2
|
|
|
|
display: block
|
|
|
|
span
|
|
|
|
display: none
|
|
|
|
|
|
|
|
|
|
|
|
.postboard-news
|
|
|
|
position: fixed
|
|
|
|
display: block
|
|
|
|
right: 2px
|
|
|
|
top: $header-modal-height +2
|
|
|
|
z-index: 2000
|
|
|
|
@extend .color-1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.modal-header
|
|
|
|
position: relative
|
|
|
|
background: darken($main-color-dark,.3)
|
|
|
|
height: $header-modal-height
|
|
|
|
+box-sizing(border-box)
|
|
|
|
@extend .clear-fix
|
|
|
|
|
|
|
|
h3
|
|
|
|
padding-left: 20px
|
|
|
|
line-height: $header-modal-height
|
|
|
|
font-weight: 500
|
|
|
|
font-size: 1rem
|
|
|
|
float: left
|
|
|
|
color: white
|
|
|
|
span
|
|
|
|
|
|
|
|
@extend .ion
|
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
line-height: $header-modal-height
|
|
|
|
font-size: 1rem
|
|
|
|
cursor: pointer
|
|
|
|
color: rgba(white , 0.7)
|
|
|
|
transition: color .1s linear
|
|
|
|
&:hover
|
|
|
|
color: white
|
|
|
|
|
|
|
|
b
|
|
|
|
display: none
|
|
|
|
|
|
|
|
&.modal-close
|
|
|
|
@extend .ion-close
|
|
|
|
right: 10px
|
|
|
|
&.mark-all-as-read
|
|
|
|
@extend .ion-checkmark
|
|
|
|
position: static
|
|
|
|
float: left
|
|
|
|
margin-left: 10px
|
|
|
|
display: none
|
|
|
|
&.modal-back
|
|
|
|
@extend .ion-back
|
|
|
|
right: 35px
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Composants */
|
|
|
|
|
|
|
|
.twister-user
|
|
|
|
position: relative
|
|
|
|
box-sizing: border-box
|
|
|
|
background: $bloc-light-color
|
|
|
|
@extend .clear-fix
|
|
|
|
border-bottom: 1px solid $main-background-color
|
|
|
|
width: 100%
|
|
|
|
min-height: auto
|
|
|
|
padding: 7px
|
|
|
|
clear: left
|
|
|
|
&:first-child
|
|
|
|
border-top: 1px solid $main-background-color
|
|
|
|
border-bottom: 1px solid $main-background-color !important
|
|
|
|
&:last-child
|
|
|
|
border-bottom: 0
|
|
|
|
small
|
|
|
|
display: none
|
|
|
|
|
|
|
|
/*********** POPUP PROMPT *************/
|
|
|
|
|
|
|
|
@import '_prompt'
|
|
|
|
|
|
|
|
/********* DIRECT MESSAGES MODAL ***********/
|
|
|
|
|
|
|
|
@import '_dm'
|
|
|
|
|
|
|
|
|