gitlab-org--gitlab-foss/app/assets/stylesheets/common.scss

191 lines
3.3 KiB
SCSS
Raw Normal View History

2012-01-26 02:51:11 -05:00
@import "bootstrap";
2012-01-26 12:25:35 -05:00
/** GITLAB colors **/
2012-01-16 14:07:57 -05:00
$text_color:#222;
$lite_text_color: #666;
$link_color:#111;
2012-01-16 14:07:57 -05:00
$active_link_color:#2FA0BB;
$active_bg_color:#79C3E0;
$active_bd_color: #2FA0BB;
$border_color:#CCC;
$lite_border_color:#EEE;
2012-01-29 14:30:03 -05:00
$min_app_width:980px;
2012-01-26 17:13:19 -05:00
$max_app_width:980px;
2012-01-16 14:07:57 -05:00
$app_padding:20px;
$bg_color: #FFF;
$styled_border_color: #2FA0BB;
2012-01-26 02:51:11 -05:00
$color: "#4BB8D2";
$blue_link: "#2fa0bb";
2012-01-16 14:07:57 -05: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-27 01:57:55 -05:00
.underlined {
border-bottom: 1px solid $border_color;
}
2012-01-16 14:07:57 -05:00
2012-01-26 12:25:35 -05:00
/** LAYOUT **/
2012-01-16 14:07:57 -05:00
2012-01-26 12:25:35 -05:00
.container-fluid {
2012-01-26 17:13:19 -05:00
min-width:$min_app_width;
max-width:$max_app_width;
2012-01-26 12:25:35 -05:00
margin:auto;
margin-top:62px;
2012-01-26 12:25:35 -05:00
}
.container-fluid > .sidebar {
2012-01-26 17:13:19 -05:00
width: 140px;
2012-01-26 12:25:35 -05:00
border-right: 1px solid $border_color;
2012-01-26 17:13:19 -05:00
height:100%;
2012-01-26 18:46:32 -05:00
min-height:450px;
2012-01-27 17:51:02 -05:00
.fixed {
position:fixed;
}
aside a {
display:block;
position:relative;
padding:12px 10px;
2012-01-27 17:51:02 -05:00
margin:10px 0 0 0;
font-size:13px;
font-weight:bold;
color:#444;
2012-01-27 17:51:02 -05:00
}
2012-01-16 14:07:57 -05:00
}
2012-01-26 12:25:35 -05:00
.container-fluid > .content {
2012-01-26 17:13:19 -05:00
margin-left: 160px;
2012-01-27 01:57:55 -05:00
margin-top:20px;
}
2012-01-16 14:07:57 -05:00
2012-01-27 18:49:14 -05:00
aside.projects,
aside.project-side
{
2012-01-27 17:51:02 -05:00
margin-left: 0;
padding-left: 20px;
}
img.avatar {
float:left;
2012-01-28 09:47:55 -05:00
margin-right:15px;
width:40px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
2012-01-27 17:51:02 -05:00
}
img.lil_av {
padding-left: 5px;
position: relative;
top: 3px;
}
2012-01-28 04:54:11 -05:00
.media-grid {
h3, h2 , h4 {
&.media_h {
padding-left:10px;
float:left;
}
}
}
2012-01-28 09:47:55 -05:00
.wll {
background-color: #FFF;
margin-bottom: 10px;
padding: 5px;
min-height: 20px;
border-bottom: 1px solid #eee;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
.author { color: #999; }
&:last-child { border:none }
p { padding-top:5px;}
}
.visible_link,
2012-01-29 05:04:09 -05:00
.author_link {
color: $active_link_color;
}
2012-01-26 17:13:19 -05:00
@import "reset_bootstrap.scss";
2012-01-26 12:25:35 -05:00
@import "top_panel.scss";
@import "projects.css.scss";
2012-01-16 14:07:57 -05:00
@import "commits.css.scss";
2012-01-26 18:46:32 -05:00
@import "tree.scss";
2012-01-27 01:57:55 -05:00
@import "issues.css.scss";
@import "merge_requests.css.scss";
@import "notes.css.scss";
2012-01-27 12:58:10 -05:00
@import "login.scss";
2012-01-26 12:25:35 -05:00
/** CODE HIGHTLIGHT **/
2012-01-26 18:46:32 -05:00
@import "highlight.css.scss";
@import "highlight.black.css.scss";
2012-01-26 12:25:35 -05:00