From a8e1b270a20e80ea7922fb0cb8c404c9a928b9c9 Mon Sep 17 00:00:00 2001 From: Mathias Meyer Date: Tue, 24 Sep 2013 10:44:21 +0200 Subject: [PATCH] Fix styles for box on the profile. --- assets/styles/layout.sass | 7 ----- assets/styles/right.sass | 61 ++++++++++++++++----------------------- 2 files changed, 25 insertions(+), 43 deletions(-) diff --git a/assets/styles/layout.sass b/assets/styles/layout.sass index df65901a..95f1a383 100644 --- a/assets/styles/layout.sass +++ b/assets/styles/layout.sass @@ -58,13 +58,6 @@ html, body min-width: 760px padding: 20px 40px 80px 30px -#right - @include flex(1, 1, 300px) - width: 300px - padding: 11px 20px 80px 20px - background-color: $color-bg-right - border-left: 1px solid $color-border-normal - @media screen and (max-width: 1400px) #left .duration_label display: inline-block diff --git a/assets/styles/right.sass b/assets/styles/right.sass index a1049a9a..697273d2 100644 --- a/assets/styles/right.sass +++ b/assets/styles/right.sass @@ -1,43 +1,32 @@ @import "_mixins/all" -#right - padding-bottom: 80px - - h4 - margin: 24px 0 0 0 - - ul - margin-top: 10px - - .box - margin-top: 25px - margin-left: -3px - padding: 15px - border: 1px solid $color-border-normal - background-color: $color-bg-sidebar-box - @include border-radius(4px) +#profile + #right + width: 180px + padding: 11px 20px 80px 20px + background-color: $color-bg-right + border-left: 1px solid $color-border-normal h4 - margin: 0 - a - text-decoration: underline - li - list-style-type: square - margin-left: 15px + margin: 24px 0 0 0 -#slider - position: absolute - height: 100% - top: 0 - left: 0 - width: 10px - background-color: $color-bg-slider - cursor: pointer - background: transparent inline-image('ui/slider-closed.png') no-repeat 3px 10px + ul + margin-top: 10px + + .box + margin-top: 25px + margin-left: -3px + padding: 15px + border: 1px solid $color-border-normal + background-color: $color-bg-sidebar-box + @include border-radius(4px) + + h4 + margin: 0 + a + text-decoration: underline + li + list-style-type: square + margin-left: 15px - &:hover - background-color: $color-border-slider-hover -#right .show-more-jobs - text-decoration: underline - cursor: pointer