122 lines
2.1 KiB
Plaintext
Raw Normal View History

2018-04-02 14:07:52 +00:00
const profile-image-size = 280px
.profile
2017-07-21 06:09:22 +00:00
vertical
align-items center
position relative
left calc(content-padding * -1)
2016-12-02 15:23:05 +00:00
top calc(content-padding-top * -1)
min-width calc(100% + content-padding * 2)
padding calc(content-padding * 2)
color white
text-shadow 0px 0px 2px rgb(0, 0, 0, 0.5)
2017-06-20 18:30:55 +00:00
// default-transition
// animation appear transition-speed
overflow hidden
2018-10-31 00:33:56 +00:00
.profile-info
2017-07-21 06:09:22 +00:00
vertical
margin-top calc(content-padding * 1.5)
.profile-actions
2018-10-31 00:33:56 +00:00
horizontal-wrap
2017-07-21 08:10:48 +00:00
margin-top content-padding
:empty
display none
.profile-action
margin-bottom 0.5rem
text-shadow none !important
2017-07-21 06:09:22 +00:00
2017-10-07 08:01:55 +00:00
.profile-pro-status
margin-top calc(typography-margin * 2)
.icon
color pro-color
animation sk-pulse 1.5s infinite linear
2017-07-21 06:09:22 +00:00
> 740px
2017-06-08 12:46:38 +00:00
.profile
2017-07-21 06:09:22 +00:00
horizontal
2018-10-31 00:33:56 +00:00
align-items stretch
2017-11-21 17:16:13 +00:00
2018-10-31 00:33:56 +00:00
.profile-info
2017-07-21 06:09:22 +00:00
align-items flex-start
margin-top 0
padding content-padding
padding-top 0
2017-11-21 17:16:13 +00:00
padding-bottom 0
2017-07-21 06:09:22 +00:00
padding-left calc(content-padding * 2)
2018-11-14 12:16:29 +00:00
// max-width 1200px
2017-07-21 06:09:22 +00:00
.profile-actions
position absolute
top 0
right 0
padding content-padding
2017-07-21 08:10:48 +00:00
margin-top 0
2017-11-21 17:16:13 +00:00
2017-10-07 08:01:55 +00:00
.profile-pro-status
position absolute
right 0
bottom 0
padding content-padding
margin-top 0
2017-11-21 17:16:13 +00:00
// const profile-boot-duration = 2s
2017-06-20 18:30:55 +00:00
// animation appear
// 0%
// transform rotateX(90deg)
// filter opacity(0) saturate(0) blur(10px)
// 100%
// transform rotateX(0)
// filter opacity(1) saturate(1) blur(0)
.profile-cover
position absolute
left 0
top 0
width 100%
height 100%
z-index -1
2017-06-06 14:59:04 +00:00
object-fit cover
// background-size cover
overflow hidden
2017-11-21 17:16:13 +00:00
2017-06-20 18:30:55 +00:00
// default-transition
// animation cover-animation profile-boot-duration
// animation-fill-mode forwards
filter brightness(30%) blur(0)
2017-06-20 18:30:55 +00:00
// animation cover-animation
// 0%
// filter brightness(500%) blur(5px)
// 100%
// filter brightness(35%) blur(0)
.profile-image
object-fit cover
2017-06-08 12:46:38 +00:00
width 100%
height 100%
2017-07-17 17:49:52 +00:00
.profile-image-container
2018-11-14 12:16:29 +00:00
flex-basis profile-image-size
flex-shrink 0
2018-04-02 14:07:52 +00:00
width profile-image-size
height profile-image-size
max-width profile-image-size
max-height profile-image-size
2018-03-27 19:08:26 +00:00
border-radius ui-element-border-radius
2017-06-11 09:13:59 +00:00
overflow hidden
2017-06-10 00:35:07 +00:00
#nick
margin-bottom 1rem
2017-07-03 15:33:57 +00:00
.no-data
2017-07-09 02:22:14 +00:00
width 100%
2017-10-07 08:01:55 +00:00
text-align center