/* wes theme style (LESS.js) */ /* general settings */ @body-font-size: 12px; @right-column-font-size: 11px; @body-line-height: 120%; /* menu settings */ @menu-width: 160px; @menu-left: 130px; @menu-top: 85px; @menu-font-size: 10px; @menu-right-margin: 40px; /* project area settings */ @image-width: 575px; @image-height: 500px; @project-width: 775px; @project-header-height: 50px; @project-height: @project-header-height + @image-height; @section-init-offset: @menu-width + @menu-left + @menu-right-margin; @section-between-space: 75px; @project-between-space: 100px; @section-title-padding-top: 20px; /* scroll bar settings */ @scroll-height: 7px; @scroll-guide-height: 3px; @scroll-bar-width: 20px; /* general color settings */ @light-gray: #e7e5e4; @dark-gray: #4c4442; @selected-background: #ff9; @hover-background: lighten(@selected-background,10%); @link-color: lighten(#4c4442,5%); @body-link-color: lighten(gray,7%); #content { overflow:hidden; .section-container /* contains full section */ { .single-project { .section-header { height: @project-header-height; width: @image-width; .section-title { font-size: 25px; padding-top:@section-title-padding-top; } } .image-container { line-height: 145%; .image-mover { height: @image-height; .single-image { width: @image-width; height: @image-height; overflow:hidden; text-align: center; float:left; background: url("loading.gif"); background-position: center; background-repeat:no-repeat; } } height: @image-height; width: @image-width; overflow: hidden; } .right-column { height: @project-height; width: @project-width - @image-width; font-size: @right-column-font-size; float: left; .column-content { padding-top: @section-title-padding-top; margin-left: @section-title-padding-top; border-bottom: @scroll-guide-height solid @light-gray; border-radius: 1px; } .arrow-container { margin-left: @section-title-padding-top; margin-top: 10px; .arrow-switcher { width: 150px; height:11px; overflow:hidden; margin: 0 auto 0 auto; text-align:center; .left-arrow { float:left; position: relative;} .right-arrow { float: right; position: relative;} .image-numbers { margin: 0 auto 0 auto } } } } width: @project-width; height: @project-height; float:left; font-size:@body-font-size; line-height: @body-line-height; &:not(:first-child) { margin-left: @project-between-space; } } height: @project-height; margin-left: @section-init-offset; position:relative; &:not(:first-child) { margin-top: @section-between-space; } &:first-child /* just set the first one to have a top margin; the rest touch head-to-head */ { margin-top: @scroll-height + @menu-top; } a { color:@body-link-color; } } } #scroll-container { width: @project-width; height: @scroll-height; position: fixed; left: @menu-width + @menu-left + @menu-right-margin; top: @menu-top; #scroll-guide { width: @project-width; height: @scroll-guide-height; background-color: @light-gray; margin-top: (@scroll-height - @scroll-guide-height) / 2; border-radius: 1px; } #scroll-region { height:@scroll-guide-height; margin: 0 auto; #scroll-bar { width: @scroll-bar-width; height: @scroll-height; position: relative; background-color: @dark-gray; top:-(@scroll-guide-height + ((@scroll-height - @scroll-guide-height) / 2)); border-radius: 1px; cursor:pointer; margin-right: @scroll-bar-width; &:hover { background-color: lighten(@dark-gray,15%); } } } } #menu { width: @menu-width; position:fixed; left: @menu-left; top: @menu-top; z-index:20; background-color: rgba(255,255,255,.9); div.section-block { div.section-title { display:block; text-transform:uppercase; background-color: #ec008c; color:white; cursor: pointer; font-size:11px; padding:4px 4px 4px 8px; width: 120px; margin-bottom:5px; border-radius: 2px; } div.section-collection { margin-top:15px; margin-bottom:15px; } div.section-project { width:@menu-width - 10; font-size:@menu-font-size; margin-left:10px; margin-top:7px; margin-bottom:7px; } } } strong { font-weight:600; font-style:normal; } a { &:hover { background-color: @hover-background; } text-decoration: none; color: @link-color; &.selected-link { background-color: @selected-background; } &:focus { outline: 0; } } p { margin-bottom:10px; } .light-arrow { background-color: @light-gray; } .dark-arrow { background-color: @dark-gray; cursor: pointer; }