askbot-theme/os/media/sass/extra.scss

308 lines
6.0 KiB
SCSS

@import "compass/css3";
$body-font: 'Helvetica Neue', Arial, Helvetica, sans-serif;
$heading-font: 'PT Sans', serif;
body,
p,
.short-summary .counts,
#footer ul,
.short-summary .userinfo {
font-family: $body-font;
}
#secondaryHeader,
#questionCount,
#header,
#footer h3,
h1,
h1.section-title,
.box h2,
.question-page h1,
.short-summary h2,
.short-summary .counts .item-count,
.tag-right,
.tabBar,
.question-page .vote-number {
font-family: $heading-font;
}
#header {
background: #e4eef1;
border-top: 3px solid #255e6e;
@include box-shadow(1px 1px 1px 1px #ccc);
}
.openid-signin {
#metaNav a.signin {
background: none;
@include box-shadow(0 0 0 0);
}
}
#metaNav {
position: absolute;
left: 200px;
bottom: 22px;
a {
color: #255e6e;
font-size: 16px;
line-height: 16px;
height: 16px;
@include text-shadow(#fff 0 1px 1px);
}
a.signin {
background: #e8d895;
padding: 5px 8px;
@include border-radius(4px);
@include box-shadow(0 0 2px 2px white);
}
a.on {
font-weight: normal;
color: #e4eef1;
background: #255e6e !important;
@include border-radius(5px);
@include text-shadow(0 0 0);
@include box-shadow(0 0 2px 2px white);
}
#navTags,
#navBadges,
#navUsers,
#navGroups,
.help {
background: none;
padding: 3px 10px 6px 10px;
margin: 0 0 0 30px;
}
.dropdown,
a {
display: inline;
float: none;
padding: 0;
margin: 5px 0 0 0;
}
span.dropdown-toggle {
padding: 10px;
border-left: 1px solid #e4eef1;
/*background: url(../images/sprites.png) no-repeat -7px -242px;*/
position: relative;
}
span.dropdown-toggle:hover {
background: #e4eef1;
/*background: url(../images/sprites.png) no-repeat -7px -274px;*/
.dropdown-menu {
background: #e4eef1;
border-left: 1px solid #e4eef1;
display: block;
left: -1px;
padding: 4px 0 10px 0;
top: 36px;
}
}
.dropdown-menu {
background: #e4eef1;
left: 26px;
top: 22px;
li {
line-height: 1.7;
padding: 0 0 0 13px;
margin: 0;
img {
margin-bottom: 3px;
}
}
li:hover {
display: block !important;
background: white !important;
}
a {
margin: 0;
padding: 0;
}
a:hover {
background: inherit;
text-decoration: none;
}
}
}
#header.with-logo #userToolsNav {
bottom: 19px;
right: -100px;
}
#secondaryHeader {
background: #fff;
border: none;
margin-bottom: 7px;
}
.scope-selector {
font-size: 16px;
height: 37px;
border-bottom: 3px solid white;
&.on,
&:hover {
background: none;
border-bottom: 3px solid;
color: #cf2f19;
text-decoration: none;
@include transition(0.07s, ease);
}
&:hover {
color: #264D69;
}
&:first-child {
margin-left: 0;
}
}
#askButton,
#homeButton {
display: none;
}
.tabBar {
background: none;
}
#logo img {
height: 56px;
margin-left: -10px;
}
#searchBar {
@include box-shadow(inset #eee 1px 1px 2px 1px);
margin-left: 255px;
margin-top: -33px;
}
.search-drop-menu {
margin-left: 255px;
}
.search-drop-menu .footer button {
padding: 2px 6px 3px;
@include background(linear-gradient(white, #F3F3F3 5%, rgb(245, 133, 12)));
@include box-shadow(0 0 2px 2px white);
@include text-shadow(0 0 0);
}
.search-drop-menu .footer button:hover {
}
body.anon #searchBar,
body.anon .search-drop-menu {
margin-left: 158px;
}
#ContentRight {
margin-top: -56px;
margin-bottom: 56px;
}
#ContentLeft {
padding-bottom: 0;
}
.box {
h2,
.contributorback {
background: none;
text-align: left;
}
.inputs {
#interestingTagInput,
#ignoredTagInput,
#subscribedTagInput,
#ab-tag-search {
width: 132px;
height: 23px;
line-height: 23px;
}
}
}
input[type="submit"].searchBtn,
input.cancelSearchBtn {
border: 0;
display: none;
height: 0;
margin: 0;
padding: 0;
right: -500px;
}
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.button {
font-family: $heading-font;
font-weight: normal;
border: 1px solid #e2e2e2 !important;
padding: 4px 15px;
color: black!important;
text-decoration: none!important;
font-size: 12.5px;
background: #FFFFFF;
@include background(linear-gradient(#FFFFFF 0%, #F3F3F3 50%, #EBEBEB 100%));
@include box-shadow(0px 1px 1px rgba(0,0,0,.5));
@include text-shadow(#fff 0px 1px 1px);
@include border-radius(3px);
border-bottom-color: #a0a0a0 !important;
border-right-color: #bababa !important;
border-left-color: #bababa !important;
}
.comments {
input[type="submit"],
.controls a.button {
color: #4b4b4b !important;
border: none !important;
&:hover {
text-decoration: underline;
}
}
input[type="submit"] {
color: #1b71bd;
}
}
input[type="submit"].link {
border: none !important;
color: 4b4b4b !important;
}
#footer {
margin-top: 10px;
.span-4,
.span-8 {
margin: 0;
}
.span-4 {
width: 17%;
}
.span-8 {
width: 32%
}
a,
a:active,
a:hover,
a:visited,
p {
color: #666;
font-size: 12px;
line-height: 18px;
}
p {
margin-top: 14px;
}
h3 {
color: #de0000;
font-size: 16px;
margin: 0 0 8px 0;
padding: 0;
}
ul {
list-style: none;
margin: 0;
}
textarea {
display: block;
margin: 12px 0 10px;
width: 80%;
}
}
.pager,
.paginator {
margin-bottom: 0;
padding-bottom: 0;
}