Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
52fbcd45
Commit
52fbcd45
authored
Dec 19, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better organization of styles
parent
c0160d00
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
128 deletions
+38
-128
app/assets/stylesheets/gitlab_bootstrap.scss
app/assets/stylesheets/gitlab_bootstrap.scss
+26
-0
app/assets/stylesheets/main.scss
app/assets/stylesheets/main.scss
+12
-116
app/assets/stylesheets/themes/ui_basic.scss
app/assets/stylesheets/themes/ui_basic.scss
+0
-12
No files found.
app/assets/stylesheets/gitlab_bootstrap.scss
0 → 100644
View file @
52fbcd45
/** Override bootstrap variables **/
$baseFontSize
:
13px
!
default
;
$baseLineHeight
:
18px
!
default
;
// BOOTSTRAP
@import
"bootstrap"
;
@import
"bootstrap/responsive-utilities"
;
@import
"bootstrap/responsive-1200px-min"
;
@import
"font-awesome"
;
@import
"variables.scss"
;
@import
"fonts.scss"
;
@import
"mixins.scss"
;
/**
* GitLab bootstrap.
* Overrides some styles of twitter bootstrap.
* Also give some common classes for GitLab app
*/
@import
"gitlab_bootstrap/common.scss"
;
@import
"gitlab_bootstrap/typography.scss"
;
@import
"gitlab_bootstrap/buttons.scss"
;
@import
"gitlab_bootstrap/blocks.scss"
;
@import
"gitlab_bootstrap/files.scss"
;
@import
"gitlab_bootstrap/tables.scss"
;
@import
"gitlab_bootstrap/lists.scss"
;
app/assets/stylesheets/main.scss
View file @
52fbcd45
/** Override bootstrap variables **/
$baseFontSize
:
13px
!
default
;
$baseLineHeight
:
18px
!
default
;
// BOOTSTRAP
@import
"bootstrap"
;
@import
"bootstrap/responsive-utilities"
;
@import
"bootstrap/responsive-1200px-min"
;
// FONT AWESOME
@import
"font-awesome"
;
/**
/**
* Variables
* GitLab bootstrap:
* Contains colors
*/
*/
@import
"
variables
.scss"
;
@import
"
gitlab_bootstrap
.scss"
;
/**
@import
"common.scss"
;
* Custom fonts
@import
"ref_select.scss"
;
* Contains @font-face font Korolev and default $monotype
*/
@import
"fonts.scss"
;
/**
* General mixins.
* Contains rounded borders, gradients and shades
*/
@import
"mixins.scss"
;
/**
* Header of application.
* Contain application logo, search panel, profile icon
*/
@import
"sections/header.scss"
;
@import
"sections/header.scss"
;
/**
* Navigation menu of application.
* Panel with links to pages depends on project, profile or admin area
*/
@import
"sections/nav.scss"
;
@import
"sections/nav.scss"
;
/**
* This file represent some UI that can be changed
* during web app restyle or theme select.
*
* Next items should be placed there
* - link, button colors
* - header restyles
* - main menu restyles
*
*/
@import
"themes/ui_basic.scss"
;
/**
* UI themes:
*/
@import
"themes/ui_mars.scss"
;
@import
"themes/ui_modern.scss"
;
@import
"themes/ui_gray.scss"
;
@import
"themes/ui_color.scss"
;
/**
* GitLab bootstrap.
* Overrides some styles of twitter bootstrap.
* Also give some common classes for GitLab app
*/
@import
"gitlab_bootstrap/common.scss"
;
@import
"gitlab_bootstrap/typography.scss"
;
@import
"gitlab_bootstrap/buttons.scss"
;
@import
"gitlab_bootstrap/blocks.scss"
;
@import
"gitlab_bootstrap/files.scss"
;
@import
"gitlab_bootstrap/tables.scss"
;
@import
"gitlab_bootstrap/lists.scss"
;
/**
* 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
*/
@import
"common.scss"
;
/**
* Styles related to specific part of app
*/
@import
"sections/commits.scss"
;
@import
"sections/commits.scss"
;
@import
"sections/issues.scss"
;
@import
"sections/issues.scss"
;
@import
"sections/projects.scss"
;
@import
"sections/projects.scss"
;
...
@@ -95,47 +17,21 @@ $baseLineHeight: 18px !default;
...
@@ -95,47 +17,21 @@ $baseLineHeight: 18px !default;
@import
"sections/graph.scss"
;
@import
"sections/graph.scss"
;
@import
"sections/events.scss"
;
@import
"sections/events.scss"
;
@import
"sections/themes.scss"
;
@import
"sections/themes.scss"
;
/**
* This scss file redefine chozen selectbox styles for
* project Branch/Tag select element
*/
@import
"ref_select.scss"
;
/**
* Code (files list) styles. Browsing project files there
*/
@import
"sections/tree.scss"
;
@import
"sections/tree.scss"
;
/**
* This file represent notes(comments) styles
*/
@import
"sections/notes.scss"
;
@import
"sections/notes.scss"
;
/**
* This file represent profile styles
*/
@import
"sections/profile.scss"
;
@import
"sections/profile.scss"
;
/**
* Devise styles
*/
@import
"sections/login.scss"
;
@import
"sections/login.scss"
;
@import
"sections/editor.scss"
;
/**
* CODE HIGHTLIGHT BASE
*
*/
@import
"highlight/white.scss"
;
@import
"highlight/white.scss"
;
/**
* CODE HIGHTLIGHT DARK schema
*
*/
@import
"highlight/dark.scss"
;
@import
"highlight/dark.scss"
;
/**
/**
* File Editor styles
* UI themes:
*
*/
*/
@import
"sections/editor.scss"
;
@import
"themes/ui_basic.scss"
;
@import
"themes/ui_mars.scss"
;
@import
"themes/ui_modern.scss"
;
@import
"themes/ui_gray.scss"
;
@import
"themes/ui_color.scss"
;
app/assets/stylesheets/themes/ui_basic.scss
View file @
52fbcd45
...
@@ -4,18 +4,6 @@
...
@@ -4,18 +4,6 @@
*
*
*/
*/
.ui_basic
{
.ui_basic
{
/*
* Common styles
*
*/
a
{
color
:
$link_color
;
&
:hover
{
text-decoration
:
none
;
color
:
$primary_color
;
}
}
.app_logo
{
.app_logo
{
.separator
{
.separator
{
margin-left
:
0
;
margin-left
:
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment