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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
b096ee32
Commit
b096ee32
authored
Jan 30, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a bit of split up for gitlab-bootstrap
parent
b742f47e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
75 additions
and
74 deletions
+75
-74
app/assets/stylesheets/gitlab_bootstrap.scss
app/assets/stylesheets/gitlab_bootstrap.scss
+2
-0
app/assets/stylesheets/gitlab_bootstrap/avatar.scss
app/assets/stylesheets/gitlab_bootstrap/avatar.scss
+8
-0
app/assets/stylesheets/gitlab_bootstrap/common.scss
app/assets/stylesheets/gitlab_bootstrap/common.scss
+0
-74
app/assets/stylesheets/gitlab_bootstrap/nav.scss
app/assets/stylesheets/gitlab_bootstrap/nav.scss
+65
-0
No files found.
app/assets/stylesheets/gitlab_bootstrap.scss
View file @
b096ee32
...
...
@@ -17,6 +17,8 @@ $baseLineHeight: 18px !default;
@import
"gitlab_bootstrap/variables.scss"
;
@import
"gitlab_bootstrap/fonts.scss"
;
@import
"gitlab_bootstrap/mixins.scss"
;
@import
"gitlab_bootstrap/avatar.scss"
;
@import
"gitlab_bootstrap/nav.scss"
;
@import
"gitlab_bootstrap/common.scss"
;
@import
"gitlab_bootstrap/typography.scss"
;
@import
"gitlab_bootstrap/buttons.scss"
;
...
...
app/assets/stylesheets/gitlab_bootstrap/avatar.scss
0 → 100644
View file @
b096ee32
/** AVATARS **/
img
.avatar
{
float
:
left
;
margin-right
:
12px
;
width
:
40px
;
border
:
1px
solid
#ddd
;
padding
:
1px
;
}
img
.avatar.s16
{
width
:
16px
;
height
:
16px
;
margin-right
:
6px
;
}
img
.avatar.s24
{
width
:
24px
;
height
:
24px
;
margin-right
:
8px
;
}
img
.avatar.s32
{
width
:
32px
;
height
:
32px
;
margin-right
:
10px
;
}
img
.avatar.s90
{
width
:
90px
;
height
:
90px
;
margin-right
:
15px
;
}
img
.lil_av
{
padding-left
:
4px
;
padding-right
:
3px
;
}
img
.small
{
width
:
80px
;
}
app/assets/stylesheets/gitlab_bootstrap/common.scss
View file @
b096ee32
...
...
@@ -21,88 +21,14 @@
.light
{
color
:
#888
}
.tiny
{
font-weight
:
normal
}
/** PILLS & TABS**/
.nav-pills
{
.active
a
{
background
:
$primary_color
;
}
>
li
>
a
{
@include
border-radius
(
0
);
}
&
.nav-stacked
{
>
li
>
a
{
border-left
:
4px
solid
#EEE
;
padding
:
12px
;
}
>
.active
>
a
{
border-color
:
#29B
;
border-radius
:
0
;
background
:
#F1F1F1
;
color
:
$style_color
;
font-weight
:
bold
;
}
}
}
.nav-pills
>
.active
>
a
>
i
[
class
^=
"icon-"
]
{
background
:
inherit
;
}
/**
* nav-tabs
*
*/
.nav-tabs
>
li
>
a
,
.nav-pills
>
li
>
a
{
color
:
$style_color
;
}
.nav.nav-tabs
{
li
{
>
a
{
padding
:
8px
20px
;
margin-right
:
7px
;
line-height
:
20px
;
border-color
:
#EEE
;
color
:
#888
;
border-bottom
:
1px
solid
#ddd
;
.badge
{
background-color
:
#eee
;
color
:
#888
;
text-shadow
:
0
1px
1px
#fff
;
}
i
[
class
^=
"icon-"
]
{
line-height
:
14px
;
}
}
&
.active
{
>
a
{
border-color
:
#CCC
;
border-bottom
:
1px
solid
#fff
;
color
:
#333
;
}
}
}
&
.nav-small-tabs
>
li
>
a
{
padding
:
6px
9px
;
}
}
/** ALERT MESSAGES **/
.alert-message
{
@extend
.alert
;
}
.alert-message.error
{
@extend
.alert-error
;
}
.alert.alert-disabled
{
background
:
#EEE
;
color
:
#777
;
border-color
:
#DDD
;
}
/** AVATARS **/
img
.avatar
{
float
:
left
;
margin-right
:
12px
;
width
:
40px
;
border
:
1px
solid
#ddd
;
padding
:
1px
;
}
img
.avatar.s16
{
width
:
16px
;
height
:
16px
;
margin-right
:
6px
;
}
img
.avatar.s24
{
width
:
24px
;
height
:
24px
;
margin-right
:
8px
;
}
img
.avatar.s32
{
width
:
32px
;
height
:
32px
;
margin-right
:
10px
;
}
img
.avatar.s90
{
width
:
90px
;
height
:
90px
;
margin-right
:
15px
;
}
img
.lil_av
{
padding-left
:
4px
;
padding-right
:
3px
;
}
img
.small
{
width
:
80px
;
}
/** HELPERS **/
.nothing_here_message
{
text-align
:
center
;
...
...
app/assets/stylesheets/gitlab_bootstrap/nav.scss
0 → 100644
View file @
b096ee32
/**
* nav-pills
*
*/
.nav-pills
{
.active
a
{
background
:
$primary_color
;
}
>
li
>
a
{
@include
border-radius
(
0
);
}
&
.nav-stacked
{
>
li
>
a
{
border-left
:
4px
solid
#EEE
;
padding
:
12px
;
}
>
.active
>
a
{
border-color
:
#29B
;
border-radius
:
0
;
background
:
#F1F1F1
;
color
:
$style_color
;
font-weight
:
bold
;
}
}
}
.nav-pills
>
.active
>
a
>
i
[
class
^=
"icon-"
]
{
background
:
inherit
;
}
/**
* nav-tabs
*
*/
.nav-tabs
>
li
>
a
,
.nav-pills
>
li
>
a
{
color
:
$style_color
;
}
.nav.nav-tabs
{
li
{
>
a
{
padding
:
8px
20px
;
margin-right
:
7px
;
line-height
:
20px
;
border-color
:
#EEE
;
color
:
#888
;
border-bottom
:
1px
solid
#ddd
;
.badge
{
background-color
:
#eee
;
color
:
#888
;
text-shadow
:
0
1px
1px
#fff
;
}
i
[
class
^=
"icon-"
]
{
line-height
:
14px
;
}
}
&
.active
{
>
a
{
border-color
:
#CCC
;
border-bottom
:
1px
solid
#fff
;
color
:
#333
;
}
}
}
&
.nav-small-tabs
>
li
>
a
{
padding
:
6px
9px
;
}
}
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