gitlabhq/app/assets/stylesheets/main.scss

174 lines
3.4 KiB
SCSS
Raw Normal View History

2012-02-11 18:56:18 +01:00
@import "bootstrap";
2012-04-10 07:51:08 +02:00
@import "bootstrap-responsive";
2012-02-11 18:56:18 +01:00
/** GITLAB colors **/
$text_color:#222;
$lite_text_color: #666;
2012-02-11 22:22:33 +01:00
$link_color:#2A79A3;
2012-02-11 18:56:18 +01:00
$active_link_color:#2FA0BB;
$active_bg_color:#79C3E0;
$active_bd_color: #2FA0BB;
$border_color:#CCC;
$lite_border_color:#EEE;
2012-02-19 15:31:11 +01:00
$min_app_width:980px;
$max_app_width:980px;
2012-02-11 18:56:18 +01:00
$app_padding:20px;
$bg_color: #FFF;
$styled_border_color: #2FA0BB;
$color: "#4BB8D2";
$blue_link: #2fa0bb;
2012-02-11 18:56:18 +01:00
2012-02-11 22:22:33 +01:00
/** Style colors **/
$style_color: #474D57;
$hover: #FDF5D9;
2012-02-11 18:56:18 +01:00
/** MIXINS **/
2012-02-20 18:59:39 +01:00
@mixin shade {
-moz-box-shadow: 0 0 3px #ddd;
-webkit-box-shadow: 0 0 3px #ddd;
box-shadow: 0 0 3px #ddd;
}
2012-07-20 07:39:34 +02:00
@mixin solid_shade {
-moz-box-shadow: 0 0 0 3px #eee;
-webkit-box-shadow: 0 0 0 3px #eee;
box-shadow: 0 0 0 3px #eee;
}
@mixin border-radius($radius) {
-moz-border-radius: $radius;
-webkit-border-radius: $radius;
border-radius: $radius;
}
2012-02-20 18:59:39 +01:00
2012-02-11 18:56:18 +01:00
@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;
}
2012-06-12 13:58:44 +02:00
/**
* Header of application.
* Contain application logo, search panel, profile icon
*/
2012-07-29 00:34:51 +02:00
@import "sections/header.scss";
2012-06-12 13:58:44 +02:00
/**
* Navigation menu of application.
* Panel with links to pages depends on project, profile or admin area
*/
2012-07-29 00:34:51 +02:00
@import "sections/nav.scss";
2012-06-12 13:58:44 +02:00
2012-02-26 23:41:53 +01:00
/**
* This file represent some UI that can be changed
* during web app restyle or theme select.
*
* Next items should be placed there
2012-06-12 13:58:44 +02:00
* - link, button colors
* - header restyles
* - main menu restyles
2012-02-26 23:41:53 +01:00
*
*/
@import "themes/ui_basic.scss";
2012-02-26 23:41:53 +01:00
2012-02-28 23:45:38 +01:00
/**
* UI mars theme
*/
@import "themes/ui_mars.scss";
/**
* UI Modern theme
*/
@import "themes/ui_modern.scss";
2012-02-28 23:45:38 +01:00
2012-04-10 07:51:08 +02:00
/**
* Gitlab bootstrap.
* Overrides some styles of twitter bootstrap.
* Also give some common classes for gitlab app
*/
@import "gitlab_bootstrap.scss";
2012-02-26 23:41:53 +01:00
/**
* Most of application styles placed here.
* This file represent common UI that should not be changed between themes
* or project restyling like form width or user avatar class or commit title
*
* TODO: clean it
*/
2012-02-11 18:56:18 +01:00
@import "common.scss";
2012-04-14 00:46:11 +02:00
/**
2012-06-13 19:02:30 +02:00
* Styles related to specific part of app
*/
2012-06-13 19:02:30 +02:00
@import "sections/commits.scss";
@import "sections/issues.scss";
@import "sections/projects.scss";
2012-06-13 19:02:30 +02:00
@import "sections/merge_requests.scss";
@import "sections/graph.scss";
2012-04-14 00:46:11 +02:00
/**
* This scss file redefine chozen selectbox styles for
2012-02-26 23:41:53 +01:00
* project Branch/Tag select element
*/
@import "ref_select.scss";
/**
* Code (files list) styles. Browsing project files there
*/
2012-07-06 15:42:13 +02:00
@import "sections/tree.scss";
2012-02-11 18:56:18 +01:00
2012-02-26 23:41:53 +01:00
/**
* This file represent notes(comments) styles
*/
2012-07-29 00:34:51 +02:00
@import "sections/notes.scss";
2012-02-11 18:56:18 +01:00
2012-02-26 23:41:53 +01:00
/**
* Devise styles
*/
2012-07-29 00:34:51 +02:00
@import "sections/login.scss";
2012-02-20 18:16:55 +01:00
2012-02-26 23:41:53 +01:00
/**
* CODE HIGHTLIGHT BASE
*
*/
2012-06-18 19:18:14 +02:00
@import "highlight/white.scss";
2012-02-11 18:56:18 +01:00
2012-02-26 23:41:53 +01:00
/**
* CODE HIGHTLIGHT DARK schema
*
*/
2012-06-18 19:18:14 +02:00
@import "highlight/dark.scss";
2012-04-08 23:28:58 +02:00
/**
* JQUERY UI ext
*
*/
@import "jquery_ui.scss";