@import "reset"; @import "960"; @import "hacks"; $black: #323232; $grey: #cfcfcf; $darkerGrey: #909090; $pink: #c81846; $darkerPink: #c80639; $whiteSmoke: #f5f5f5; body { background-image: url('../images/bg.png'); background-repeat: repeat-x; font-family: Arial, san-serif; font-size: 13px; color: $black; @media print { background: none; } } p { line-height: 1.5em; margin-bottom: 12px; } a { color: $black; text-decoration: none; border-bottom: 1px solid $darkerGrey; &.clean { border-bottom: none; } &:hover { color: $pink; border-bottom: none; } } h1 { font-weight: bold; font-size: 25px; line-height: 30px; margin-bottom: 10px; } h2 { font-size: 14px; font-weight: bold; margin-bottom: 10px; } h3 { font-weight: bold; } h4 { display: inline; font-weight: bold; margin-right: 5px; } input[type="text"], input[type="password"] { margin: 0; padding: 6px 5px; border: 1px solid $grey; background: url("../images/input_bg.png") repeat-x left top; height: 16px; &:focus { border-color: $pink; } } strong { font-weight: bold; } ul { li { margin-bottom: 10px; } &.condensed { li { margin-bottom: 2px; } } &.horizontal { li { float: left; margin-right: 5px; } } &.with-bottom-margin { margin-bottom: 15px; } &.pink-menu { li { font-weight: bold; padding: 10px 6px; &:hover { background: $pink; color: white; cursor: pointer; } } } } .button { //IE7 fix overflow: visible; @include inline-block(); padding: 0 9px; line-height: 29px; height: 30px; margin: 0; background: $pink; font-weight: bold; color: white; border: 1px solid $pink; &:hover { border: 1px solid $darkerPink; background: $darkerPink; color: white; cursor: pointer; } &.arrow { background: $pink url("../images/white_flyer_16x16.png") no-repeat center; padding-left: 15px; padding-right: 15px; } } .dropdown-list { border: 1px solid $grey; .flyer, .selected-option { @include inline-block(); float: left; } .flyer { border-right: 1px solid $grey; background: url('../images/up_down_black_flyer.png') no-repeat center; width: 28px; height: 28px; } .selected-option { padding: 8px 0 8px 0; width: 100px; text-align: center; } } .float-left, .align-left { float: left; } .align-right { float: right; } .align-right-absolute { position: absolute; right: 0; } p.mini-img { &.left { padding-left: 40px; } } p.medium-img { &.left { padding-left: 60px; } } p.big-img { &.left { padding-left: 80px; } } .block { display: block; } ul.publications, ul.references { li { margin-bottom: 20px; } } ul.publication-actions { li { margin-right: 20px; } } .pink { color: $pink; border: none; } .pink-with-arrow { @extend .pink; padding-right: 10px; @media print { padding-right: 0; } background: url('../images/pink_flyer_8x8.png') no-repeat; background-position: right 4px; } .asset-search { input { margin-right: 10px; } ul.criteria { clear: both; margin-top: 5px; li { float: right; } } } ul.tags { margin-top: 10px; } .tag { color: white; background: $pink; padding: 4px 5px; height: 12px; margin: 0 2px; a.action-delete { font-weight: bold; color: white; border: none; border-left: 1px solid white; margin-left: 10px; padding: 0 3px 0 8px; } } .result-info { border: 1px solid $grey; border-left: none; border-right: none; padding: 10px 0; } #wrapper { position: relative; } #header { padding-top: 3px; margin-bottom: 5px; height: 80px; @media print { margin-bottom: 0; height: auto; } } #login-menu { background: url("../images/login_menu_bg.png") no-repeat; width: 176px; position: absolute; left: 745px; top: 1px; width: 260px; height: 30px; text-align: center; ul { @include inline-block(); margin-top: 1px; li { color: white; font-size: 11px; background: url("../images/white_flyer_8x8.png") no-repeat right; padding-right: 11px; &:first-child { margin-right: 20px; } } } } ul#main-menu { margin-left: 20px; margin-top: 27px; @include inline-block(); li { float: left; padding: 10px 15px; font-size: 14px; background: url("../images/menu_separator.png") no-repeat; background-position: right 7px; margin-bottom: 0; &.last { background: none; } &:hover { background: $pink; a { color: white; } } } } #header-searchbox { @include inline-block(); position: absolute; right: 0; top: 31px; input, .dropdown-list, .button { float: left; } input, .dropdown-list { margin-right: 5px; } input[type="text"] { width: 150px; } .button { width: 30px; } } #breadcrumbs { font-size: 11px; a { margin-right: 5px; } } #page-title { margin-top: 30px; margin-bottom: 30px; h1 { @include inline-block; } } div.tabbed-menu-wrapper { position: relative; height: 35px; margin-top: 30px; margin-bottom: 20px; border-bottom: 1px solid $pink; } ul.tabbed-menu { position: absolute; clear: both; font-weight: bold; li { float: left; padding: 10px; margin-bottom: 0px; border: 1px solid $grey; border-bottom: none; border-right-width: 0px; &.last { border-right-width: 1px; } &.active { padding-bottom: 11px; background-color: white; border: 1px solid $pink; border-bottom: 1px solid white; } a { text-decoration: none; display: inline-block; width: 100%; } } } #content { #col-right { width: 210px; margin-left: 40px; ul.publication-activity-menu { color: $pink; margin-top: 14px; margin-bottom: 30px; li { padding: 0 8px; line-height: 29px; margin: 0; &:hover { background-color: $pink; color: white; cursor: pointer; } } } } } .grey-box { background: $whiteSmoke; padding: 25px; margin-bottom: 20px; } .numbered-grey-box { @extend .grey-box; padding-top: 10px; padding-bottom: 10px; padding-left: 40px; padding-right: 30px; position: relative; .number { color: white; font-size: 16px; font-weight: bold; background: $pink; line-height: 30px; padding: 0 10px; position: absolute; top: 0; left: 0; } } .centered { text-align: center; } form { dl { dt,dd { margin-bottom: 10px; } dt { clear: both; float: left; label { line-height: 30px; } } dd { input { width: 208px; } } } } .publication-action { .icon { background-image: url("../images/publication_activity_icons.png"); background-repeat: no-repeat; background-position: left top; @include inline-block; width: 20px; height: 16px; margin-right: 8px; position: relative; top: 2px; @media print { display: none; } } &.read-now { .icon { background-position: 0 0; } &.with-hover:hover { .icon { background-position: -21px 0; } } } &.read-later { .icon { background-position: 0 -17*1px; } &.with-hover:hover { .icon { background-position: -21px -17*1px; } } } &.download { .icon { background-position: 0 -17*2px; } &.with-hover:hover { .icon { background-position: -21px -17*2px; } } } &.save-bookmark { .icon { background-position: 0 -17*3px; } &.with-hover:hover { .icon { background-position: -21px -17*3px; } } } &.add-collection { .icon { background-position: 0 -17*4px; } &.with-hover:hover { .icon { background-position: -21px -17*4px; } } } &.share { .icon { background-position: 0 -17*5px; } &.with-hover:hover { .icon { background-position: -21px -17*5px; } } } &.export { .icon { background-position: 0 -17*6px; } &.with-hover:hover { .icon { background-position: -21px -17*6px; } } } &.see { .icon { background-position: 0 -17*7px; } &.with-hover:hover { .icon { background-position: -21px -17*7px; } } } } .icon8 { float: left; padding: 0 9px 0 4px; height: 1em; position: relative; top: -1px; &.black-arrow { background: url("../images/black_flyer_8x8.png") no-repeat left; background-position: center; } } #footer { border-top: 1px solid $grey; color: $darkerGrey; font-size: 12px; text-align: center; padding-top: 5px; margin-top: 40px; } .with-separator { border-bottom: 1px solid $grey; &:last-child { border-bottom: none; } } .with-frame { border: 1px solid $grey; } .current-page { padding: 0 4px 2px 4px; @include inline-block; } .section { padding: 22px 0; &.condensed { padding: 4px 0; } &.first { padding-top: 0px; } h3 { font-weight: bold; padding-bottom: 2px; margin-right: 3px; @include inline-block; } .section-content { margin-top: 5px; padding-top: 10px; border-top: 1px solid $grey; .show-all { float: none; } } } .publication-box { @extend .section; h3 { margin-bottom: 10px; line-height: 16px; } img { width: 110px; margin-right: 10px; float: left; } } .user-box { .username { margin-bottom: 20px; } } .section-content.event { &.first { border-top: 1px solid $grey; } border-top: none; a.event-date { @include inline-block; margin-bottom: 10px; } } .mini-thumbnail { img { width: 30px; margin-right: 10px; float: left; } strong, p { width: 120px; float: right; } } .group-search { position: absolute; top: 0; right: 0; input { width: 300px; } } div.topics { margin-bottom: 40px; } table.topics { width: 100%; margin: 20px 0; thead { td { text-align: center; padding-top: 0; } } td { border-bottom: 1px solid $grey; padding: 10px 0; } .icon { width: 50px; text-align: center; span { @include inline-block(); width: 16px; height: 16px; background-image: url("../images/topic_icons.png"); background-repeat: no-repeat; background-position: -17px 0; position: relative; top: 10px; &.new-topic { background-position: 16*0px 0; } } } .topic { width: 400px; h3 { line-height: 15px; margin-bottom: 5px; } } .answers, .last-answer { width: 115px; } .answers { text-align: center; } } .similar-groups { ul.stats { li { padding-left: 20px; margin-right: 20px; &.topics { background: url("../images/card_icon.png") no-repeat left top; } &.people { background: url("../images/person_icon.png") no-repeat left top; } } } } .add-new-topic { font-weight: bold; @include inline-block(); margin-bottom: 20px; position: relative; top: -2px; .icon { @include inline-block(); width: 16px; height: 16px; margin-right: 10px; position: relative; top: 4px; background-image: url("../images/topic_icons.png"); background-repeat: no-repeat; background-position: 0 0; } } @media print { .noprint, #breadcrumbs { display: none !important; } }