Sass: set project_nav-width sizes
This commit is contained in:
parent
2be41a7145
commit
c5fa6b9535
@ -100,7 +100,11 @@ $screen-md-max: $screen-lg-min - 1 !default
|
|||||||
$sidebar-width: 40px !default
|
$sidebar-width: 40px !default
|
||||||
|
|
||||||
/* Project specifics */
|
/* Project specifics */
|
||||||
$project_nav-width: 250px !default
|
$project_nav-width: 275px !default
|
||||||
|
$project_nav-width-lg: $project_nav-width * 1.2 !default
|
||||||
|
$project_nav-width-md: $project_nav-width
|
||||||
|
$project_nav-width-sm: $project_nav-width * 0.8 !default
|
||||||
|
$project_nav-width-xs: 100% !default
|
||||||
$project-sidebar-width: 40px !default
|
$project-sidebar-width: 40px !default
|
||||||
$project_header-height: 40px !default
|
$project_header-height: 40px !default
|
||||||
|
|
||||||
|
@ -6,19 +6,6 @@ body.workshops
|
|||||||
#project-container
|
#project-container
|
||||||
+container-behavior
|
+container-behavior
|
||||||
|
|
||||||
body.blog
|
|
||||||
background-color: white
|
|
||||||
|
|
||||||
#project_nav,
|
|
||||||
#project_nav-container
|
|
||||||
+media-md
|
|
||||||
width: $project_nav-width * 1.4
|
|
||||||
+media-sm
|
|
||||||
width: $project_nav-width * 1.1
|
|
||||||
+media-xs
|
|
||||||
width: 100%
|
|
||||||
width: $project_nav-width * 1.5
|
|
||||||
|
|
||||||
#project-container
|
#project-container
|
||||||
display: flex
|
display: flex
|
||||||
flex-direction: row
|
flex-direction: row
|
||||||
@ -38,10 +25,18 @@ body.blog
|
|||||||
flex-direction: column-reverse
|
flex-direction: column-reverse
|
||||||
|
|
||||||
|
|
||||||
|
#project_nav,
|
||||||
#project_nav-container
|
#project_nav-container
|
||||||
+media-lg
|
+media-lg
|
||||||
width: $project_nav-width * 1.33
|
width: $project_nav-width-lg
|
||||||
|
+media-sm
|
||||||
|
width: $project_nav-width-sm
|
||||||
|
+media-xs
|
||||||
|
width: $project_nav-width-xs
|
||||||
|
|
||||||
|
width: $project_nav-width
|
||||||
|
|
||||||
|
#project_nav-container
|
||||||
+media-xs
|
+media-xs
|
||||||
display: block
|
display: block
|
||||||
width: 100%
|
width: 100%
|
||||||
@ -50,8 +45,6 @@ body.blog
|
|||||||
|
|
||||||
position: fixed
|
position: fixed
|
||||||
z-index: $z-index-base + 5
|
z-index: $z-index-base + 5
|
||||||
width: $project_nav-width
|
|
||||||
|
|
||||||
|
|
||||||
#project_sidebar
|
#project_sidebar
|
||||||
width: $project-sidebar-width
|
width: $project-sidebar-width
|
||||||
@ -78,18 +71,6 @@ body.blog
|
|||||||
height: $project-sidebar-width
|
height: $project-sidebar-width
|
||||||
position: relative
|
position: relative
|
||||||
|
|
||||||
+media-xs
|
|
||||||
border-bottom: 2px solid transparent
|
|
||||||
+media-sm
|
|
||||||
border-bottom: 2px solid transparent
|
|
||||||
+media-md
|
|
||||||
border-left: 2px solid transparent
|
|
||||||
+media-lg
|
|
||||||
border-left: 2px solid transparent
|
|
||||||
|
|
||||||
&:first-child
|
|
||||||
border-top: thin solid transparent
|
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&.active
|
&.active
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
@ -124,10 +105,11 @@ body.blog
|
|||||||
/* Container for navigation on the left */
|
/* Container for navigation on the left */
|
||||||
#project_nav
|
#project_nav
|
||||||
+media-lg
|
+media-lg
|
||||||
width: $project_nav-width * 1.33
|
width: $project_nav-width-lg
|
||||||
|
+media-sm
|
||||||
|
width: $project_nav-width-sm
|
||||||
+media-xs
|
+media-xs
|
||||||
width: initial
|
width: $project_nav-width-xs
|
||||||
|
|
||||||
display: block
|
display: block
|
||||||
left: 0
|
left: 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user