gitlabhq/app/assets/stylesheets/common.scss

148 lines
2.6 KiB
SCSS
Raw Normal View History

2012-01-26 08:51:11 +01:00
@import "bootstrap";
2012-01-26 18:25:35 +01:00
/** GITLAB colors **/
2012-01-16 20:07:57 +01:00
$text_color:#222;
$lite_text_color: #666;
$link_color:#111;
2012-01-16 20:07:57 +01:00
$active_link_color:#2FA0BB;
$active_bg_color:#79C3E0;
$active_bd_color: #2FA0BB;
$border_color:#CCC;
$lite_border_color:#EEE;
2012-01-16 20:07:57 +01:00
$app_width:980px;
$app_padding:20px;
$bg_color: #FFF;
$styled_border_color: #2FA0BB;
2012-01-26 08:51:11 +01:00
$color: "#4BB8D2";
$blue_link: "#2fa0bb";
2012-01-16 20:07:57 +01:00
/** MIXINS **/
@mixin round-borders-bottom($radius) {
border-top: 1px solid #eaeaea;
-moz-border-radius-bottomright: $radius;
-moz-border-radius-bottomleft: $radius;
border-bottom-right-radius: $radius;
border-bottom-left-radius: $radius;
-webkit-border-bottom-left-radius: $radius;
-webkit-border-bottom-right-radius: $radius;
}
@mixin round-borders-top($radius) {
border-top: 1px solid #eaeaea;
-moz-border-radius-topright: $radius;
-moz-border-radius-topleft: $radius;
border-top-right-radius: $radius;
border-top-left-radius: $radius;
-webkit-border-top-left-radius: $radius;
-webkit-border-top-right-radius: $radius;
}
@mixin round-borders-all($radius) {
border: 1px solid #eaeaea;
-moz-border-radius: $radius;
-webkit-border-radius: $radius;
border-radius: $radius;
}
/** COLORS **/
.cgray { color:gray; }
.cred { color:#D12F19; }
.cgreen { color:#44aa22; }
/** COMMON STYLES **/
.left {
float:left;
}
.right {
float:right;
}
.width-50p{
width:50%;
}
.width-49p{
width:49%;
}
.width-30p{
width:30%;
}
.width-65p{
width:65%;
}
.width-100p{
width:100%;
}
.append-bottom-10 {
margin-bottom:10px;
}
.append-bottom-20 {
margin-bottom:20px;
}
.prepend-top-10 {
margin-top:10px;
}
.no-borders {
border:none;
}
.no-padding {
padding:0 !important;
}
2012-01-26 18:25:35 +01:00
/** LAYOUT **/
2012-01-16 20:07:57 +01:00
2012-01-26 18:25:35 +01:00
.container-fluid {
max-width:980px;
margin:auto;
margin-top:80px;
}
.container-fluid > .sidebar {
width: 110px;
left: 0;
top: 0;
height: 100%;
bottom: 0;
position: absolute;
float: left;
display: inline-block;
background: #FFF;
padding: $app_padding;
padding-right:0px;
margin: 0;
border-right: 1px solid $border_color;
2012-01-16 20:07:57 +01:00
2012-01-26 18:25:35 +01:00
aside {
width: 109px
2012-01-16 20:07:57 +01:00
}
}
2012-01-26 18:25:35 +01:00
.container-fluid > .content {
margin-left: 130px;
}
/** GITLAB reset **/
a {
color: $link_color;
2012-01-26 08:51:11 +01:00
&:hover { text-decoration:none; }
}
2012-01-16 20:07:57 +01:00
2012-01-26 18:25:35 +01:00
@import "top_panel.scss";
@import "projects.css.scss";
2012-01-26 08:51:11 +01:00
2012-01-16 20:07:57 +01:00
@import "style.scss";
@import "commits.css.scss";
@import "notes.css.scss";
@import "merge_requests.css.scss";
2012-01-26 18:25:35 +01:00
2012-01-16 20:07:57 +01:00
@import "issues.css.scss";
@import "commits.css.scss";
@import "dashboard.scss";
@import "tree.scss";
2012-01-25 08:16:08 +01:00
@import "tags.scss";
2012-01-26 08:50:11 +01:00
@import "buttons.scss";
2012-01-26 18:25:35 +01:00
/** CODE HIGHTLIGHT **/
@import "highlight.css.scss";
@import "highlight.black.css.scss";