codecombat/app/styles/account/profile.sass

319 lines
7.6 KiB
Sass
Raw Normal View History

@import "app/styles/bootstrap/variables"
2014-01-03 13:32:13 -05:00
#profile-view
$sideBackground: rgb(220, 220, 220)
2014-04-09 16:14:52 -04:00
.profile-control-bar
background-color: rgb(78, 78, 78)
width: 100%
text-align: center
max-height: 70px
2014-04-09 16:14:52 -04:00
button
2014-04-09 16:14:52 -04:00
margin: 2px
i
margin-right: 5px
.sample-profile
position: absolute
right: 5px
.profile-completion-progress
width: 100%
display: inline-block
height: 33px
margin-bottom: 0
border-radius: 0
background-color: $sideBackground
.progress-bar
line-height: 33px
font-size: 16px
text-overflow: ellipsis
overflow: hidden
white-space: nowrap
2014-04-09 16:14:52 -04:00
.main-content-area
2014-01-27 14:45:24 -05:00
padding: 0
background-color: white
2014-04-07 18:21:05 -04:00
2014-04-09 16:14:52 -04:00
.flat-button
width: 100%
margin-bottom: 10px
background: rgb(78, 78, 78)
border: 0
border-radius: 0
padding: 10px
2014-04-07 18:21:05 -04:00
.public-profile-container
padding: 20px
img.profile-photo
width: 256px
border-radius: 6px
2014-04-09 16:14:52 -04:00
.job-profile-container
width: 100%
height: 100%
2014-04-15 11:39:18 -04:00
min-height: 600px
2014-04-09 16:14:52 -04:00
padding: 0
display: table
h1, h2, h3, h4, h5, h6
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
color: #555
2014-04-07 18:21:05 -04:00
2014-04-09 16:14:52 -04:00
ul.links, ul.projects
margin: 0
padding: 0
li
list-style: none
2014-04-07 18:21:05 -04:00
2014-04-09 16:14:52 -04:00
.job-profile-row
height: 100%
display: table-row
$side-width: 250px
$side-padding: 5px
$middle-width: 524px
$middle-padding: 20px
2014-04-09 16:14:52 -04:00
.full-height-column
height: 100%
padding: $side-padding
2014-04-09 16:14:52 -04:00
display: table-cell
vertical-align: top
2014-04-09 16:14:52 -04:00
h3:first-child
margin: 5px 0 5px 0
.left-column
width: $side-width - 2 * $side-padding
padding: $side-padding
background-color: $sideBackground
2014-04-09 16:14:52 -04:00
.sub-column
width: $side-width - 2 * $side-padding
overflow-wrap: break-word
#profile-photo-container
2014-04-09 16:14:52 -04:00
position: relative
margin-bottom: 10px
img.profile-photo
width: $side-width - 2 * $side-padding
2014-04-09 16:14:52 -04:00
border-radius: 6px
2014-04-09 16:14:52 -04:00
.profile-caption
background-color: rgba(0, 0, 0, 0.5)
color: white
border-bottom-right-radius: 6px
border-bottom-left-radius: 6px
position: absolute
width: 100%
bottom: 0px
text-align: center
ul.links
li.has-icon
display: inline-block
img
margin: 0 0 10px 0
li.has-icon:not(:nth-child(5))
img
margin: 0 10px 10px 0
#contact-candidate
margin-top: 20px
background-color: rgb(177, 55, 25)
padding: 15px
font-size: 20px
.middle-column
width: $middle-width - 2 * $middle-padding
padding-left: $middle-padding
padding-right: $middle-padding
2014-04-09 16:14:52 -04:00
background-color: white
.sub-column
width: $middle-width - 2 * $middle-padding
overflow-wrap: break-word
2014-04-09 16:14:52 -04:00
&.double-column
width: $middle-width + $side-width + 2 * $side-padding - 2 * $middle-padding
$middle-padding-double: 30px
padding-left: $middle-padding-double
padding-right: $middle-padding-double
.sub-column
width: $middle-width + $side-width + 2 * $side-padding - 2 * $middle-padding - 2 * $middle-padding-double
overflow-wrap: break-word
2014-04-09 16:14:52 -04:00
code
background-color: $sideBackground
2014-04-09 16:14:52 -04:00
color: #555
margin: 2px 0
display: inline-block
text-transform: lowercase
.long-description
margin-top: 10px
img
max-width: 524px - 60px
max-height: 200px
2014-04-09 16:14:52 -04:00
.experience-header
margin-top: 25px
2014-04-09 16:14:52 -04:00
.header-icon
margin-right: 10px
width: 32px
height: 32px
.experience-entry
margin-bottom: 15px
2014-04-09 16:14:52 -04:00
.duration
margin-left: 10px
margin-bottom: 10px
2014-04-09 16:14:52 -04:00
#job-profile-notes
width: 100%
height: 100px
.right-column
width: $side-width
background-color: $sideBackground
.sub-column
width: $side-width - 2 * $side-padding
overflow-wrap: break-word
> h3:first-child
background-color: white
padding: 5px 5px
margin: 5px 2px 5px 2px
2014-04-09 16:14:52 -04:00
ul.projects
li
margin-bottom: 10px
padding: 5px 3px
border: 2px solid $sideBackground
transition: .5s ease-in-out
position: relative
background-color: white
&:hover
border-color: rgb(100, 130, 255)
a
position: relative
z-index: 2
> a
position: absolute
width: 100%
height: 100%
top: 0
left: 0
z-index: 1
2014-04-09 16:14:52 -04:00
.project-image
width: 230px
height: 115px
background-size: cover
background-repeat: no-repeat
background-position: center
-webkit-filter: grayscale(100%)
-webkit-transition: .5s ease-in-out
-moz-filter: grayscale(100%)
-moz-transition: .5s ease-in-out
-o-filter: grayscale(100%)
-o-transition: .5s ease-in-out
filter: grayscale(100%)
transition: .5s ease-in-out
ul.projects li:hover .project-image, .project-image:hover
-webkit-filter: grayscale(0%)
-moz-filter: grayscale(0%)
-o-filter: grayscale(0%)
filter: grayscale(0%)
.main-content-area
.job-profile-container
.editable-section
position: relative
transition: box-shadow 0.5s easeInOutQuad
&.just-saved
box-shadow: 0px 0px 80px 0px #080
z-index: 1
.editable-form
display: none
background-color: white
padding: 5px 5px 5px 5px
.skill-array-item
display: inline-block
input
width: 120px
margin: 5px
.project-image
width: 210px
height: 105px
cursor: pointer
.editable-icon
display: none
.job-profile-container.editable-profile
.full-height-column.deemphasized
background-color: $sideBackground
.saving
opacity: 0.75
.editable-thinner
padding-right: 30px
.editable-icon
display: block
position: absolute
right: 5px
top: 5px
font-size: 20px
color: $blue
opacity: 0.5
.edit-label
color: $blue
.edit-example-button
background-color: transparentize($blue, 0.25)
.edit-example-text
color: $blue
code.edit-example-tag
color: $blue
.editable-section.deemphasized:not(.just-saved), .our-notes-section.deemphasized
opacity: 0.5
.editable-section:hover
cursor: pointer
outline: 1px solid $blue
.editable-icon
opacity: 1.0
cursor: pointer
.editable-form
cursor: default