BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ab68fd22
Unverified
Commit
ab68fd22
authored
Oct 08, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restyle colorful panel boxes
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
b485fdb5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
40 deletions
+33
-40
issue_box.scss
app/assets/stylesheets/generic/issue_box.scss
+1
-1
gl_bootstrap.scss
app/assets/stylesheets/gl_bootstrap.scss
+10
-30
mixins.scss
app/assets/stylesheets/main/mixins.scss
+11
-0
variables.scss
app/assets/stylesheets/main/variables.scss
+1
-0
merge_requests.scss
app/assets/stylesheets/sections/merge_requests.scss
+1
-1
edit.html.haml
app/views/projects/edit.html.haml
+9
-8
No files found.
app/assets/stylesheets/generic/issue_box.scss
View file @
ab68fd22
...
...
@@ -10,7 +10,7 @@
.issue-box
{
color
:
#555
;
margin
:
20px
0
;
background
:
#f9f9f9
;
background
:
$box_bg
;
border-top-left-radius
:
5px
;
@include
box-shadow
(
0
1px
1px
rgba
(
0
,
0
,
0
,
0
.09
));
...
...
app/assets/stylesheets/gl_bootstrap.scss
View file @
ab68fd22
...
...
@@ -233,8 +233,8 @@ $list-group-active-bg: $bg_primary;
}
.form-actions
{
margin
-bottom
:
0
;
background
:
#FFF
;
margin
:
-15px
;
margin-top
:
18px
;
}
}
...
...
@@ -262,53 +262,33 @@ $list-group-active-bg: $bg_primary;
}
.panel-danger
{
border-color
:
$border_danger
;
@include
panel-colored
;
.panel-heading
{
color
:
#ffffff
;
background-color
:
$bg_danger
;
color
:
$border_danger
;
border-color
:
$border_danger
;
a
{
color
:
#FFF
;
text-decoration
:
underline
;
}
}
}
.panel-success
{
border-color
:
$border_success
;
@include
panel-colored
;
.panel-heading
{
color
:
#ffffff
;
background-color
:
$bg_success
;
color
:
$border_success
;
border-color
:
$border_success
;
a
{
color
:
#FFF
;
text-decoration
:
underline
;
}
}
}
.panel-primary
{
border-color
:
$border_primary
;
@include
panel-colored
;
.panel-heading
{
color
:
#ffffff
;
background-color
:
$bg_primary
;
color
:
$border_primary
;
border-color
:
$border_primary
;
a
{
color
:
#FFF
;
text-decoration
:
underline
;
}
}
}
.panel-warning
{
border-color
:
$border_warning
;
@include
panel-colored
;
.panel-heading
{
color
:
#ffffff
;
background-color
:
$bg_warning
;
color
:
$border_warning
;
border-color
:
$border_warning
;
a
{
color
:
#FFF
;
text-decoration
:
underline
;
}
}
}
app/assets/stylesheets/main/mixins.scss
View file @
ab68fd22
...
...
@@ -132,3 +132,14 @@
white-space
:
nowrap
;
max-width
:
$max_width
;
}
@mixin
panel-colored
{
border
:
none
;
background
:
$box_bg
;
@include
box-shadow
(
0
1px
1px
rgba
(
0
,
0
,
0
,
0
.09
));
.panel-heading
{
font-weight
:
bold
;
background-color
:
$box_bg
;
}
}
app/assets/stylesheets/main/variables.scss
View file @
ab68fd22
...
...
@@ -3,6 +3,7 @@
*/
$style_color
:
#474D57
;
$hover
:
#FFECDB
;
$box_bg
:
#F9F9F9
;
/*
* Link colors
...
...
app/assets/stylesheets/sections/merge_requests.scss
View file @
ab68fd22
...
...
@@ -104,7 +104,7 @@
}
.mr-state-widget
{
background
:
#f9f9f9
;
background
:
$box_bg
;
margin-bottom
:
20px
;
@include
box-shadow
(
0
1px
1px
rgba
(
0
,
0
,
0
,
0
.09
));
...
...
app/views/projects/edit.html.haml
View file @
ab68fd22
...
...
@@ -88,14 +88,11 @@
.danger-settings
-
if
can?
current_user
,
:archive_project
,
@project
.panel.panel-default.panel.panel-warning
.panel
-heading
-
if
@project
.
archived?
-
if
@project
.
archived?
.panel
.panel-success
.panel-heading
Unarchive project
-
else
Archive project
.panel-body
-
if
@project
.
archived?
.panel-body
%p
Unarchiving the project will mark its repository as active.
%br
...
...
@@ -105,7 +102,11 @@
=
link_to
'Unarchive'
,
unarchive_project_path
(
@project
),
data:
{
confirm:
"Are you sure that you want to unarchive this project?
\n
When this project is unarchived it is active and can be committed to again."
},
method: :post
,
class:
"btn btn-success"
-
else
-
else
.panel.panel-warning
.panel-heading
Archive project
.panel-body
%p
Archiving the project will mark its repository as read-only.
%br
...
...
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