Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
52fbcd45
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
52fbcd45
编写于
12月 19, 2012
作者:
D
Dmitriy Zaporozhets
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Better organization of styles
上级
c0160d00
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
38 addition
and
128 deletion
+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
未找到文件。
app/assets/stylesheets/gitlab_bootstrap.scss
0 → 100644
浏览文件 @
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
浏览文件 @
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
* Contains colors
* GitLab bootstrap:
*/
@import
"
variables
.scss"
;
@import
"
gitlab_bootstrap
.scss"
;
/**
* Custom fonts
* Contains @font-face font Korolev and default $monotype
*/
@import
"fonts.scss"
;
/**
* General mixins.
* Contains rounded borders, gradients and shades
*/
@import
"mixins.scss"
;
@import
"common.scss"
;
@import
"ref_select.scss"
;
/**
* Header of application.
* Contain application logo, search panel, profile icon
*/
@import
"sections/header.scss"
;
/**
* Navigation menu of application.
* Panel with links to pages depends on project, profile or admin area
*/
@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/issues.scss"
;
@import
"sections/projects.scss"
;
...
...
@@ -95,47 +17,21 @@ $baseLineHeight: 18px !default;
@import
"sections/graph.scss"
;
@import
"sections/events.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"
;
/**
* This file represent notes(comments) styles
*/
@import
"sections/notes.scss"
;
/**
* This file represent profile styles
*/
@import
"sections/profile.scss"
;
/**
* Devise styles
*/
@import
"sections/login.scss"
;
@import
"sections/editor.scss"
;
/**
* CODE HIGHTLIGHT BASE
*
*/
@import
"highlight/white.scss"
;
/**
* CODE HIGHTLIGHT DARK schema
*
*/
@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
浏览文件 @
52fbcd45
...
...
@@ -4,18 +4,6 @@
*
*/
.ui_basic
{
/*
* Common styles
*
*/
a
{
color
:
$link_color
;
&
:hover
{
text-decoration
:
none
;
color
:
$primary_color
;
}
}
.app_logo
{
.separator
{
margin-left
:
0
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录