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
54e3361f
Commit
54e3361f
authored
Aug 01, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style OR separator properly
parent
3baf3dc9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
82 deletions
+37
-82
projects.scss
app/assets/stylesheets/pages/projects.scss
+36
-81
new.html.haml
app/views/projects/new.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
54e3361f
...
...
@@ -489,7 +489,7 @@ a.deploy-project-label {
@media
(
max-width
:
$screen-md-max
)
{
.btn-template-icon
{
display
:
inline-block
;
height
:
20
px
;
height
:
14
px
;
font-size
:
14px
;
margin
:
0
;
}
...
...
@@ -507,8 +507,6 @@ a.deploy-project-label {
fill
:
#70AD51
;
}
>
div
{
margin-bottom
:
10px
;
padding-left
:
0
;
...
...
@@ -516,93 +514,50 @@ a.deploy-project-label {
}
}
.project-template
{
&
:after
{
content
:
"OR"
;
position
:
absolute
;
color
:
$gray-darkest
;
right
:
13px
;
z-index
:
2
;
top
:
78px
;
}
@media
(
max-width
:
$screen-md-max
)
{
&
:after
{
top
:
100%
;
left
:
49%
;
margin-top
:
10px
;
}
}
@media
(
max-width
:
$screen-xs-min
)
{
&
:after
{
top
:
100%
;
left
:
46%
;
margin-top
:
10px
;
}
}
.new-project-second-column
{
padding-top
:
30px
;
@media
(
min-width
:
$screen-xs-max
)
and
(
max-width
:
$screen-md-max
)
{
&
:after
{
top
:
100%
;
left
:
49%
;
margin-top
:
10px
;
}
@media
(
min-width
:
$screen-lg-min
)
{
padding-top
:
0
;
}
}
.new-project-first-column
{
&
:after
{
background
:
$white-light
;
content
:
" "
;
&
:
:
before
{
content
:
"OR"
;
position
:
absolute
;
top
:
66%
;
height
:
40px
;
width
:
20px
;
right
:
7px
;
z-index
:
1
;
}
@media
(
min-width
:
$screen-xs-max
)
and
(
max-width
:
$screen-md-max
)
{
margin-bottom
:
40px
;
&
:after
{
top
:
100%
;
left
:
47%
;
width
:
50px
;
}
}
@media
(
max-width
:
$screen-xs-max
)
{
margin-bottom
:
40px
;
left
:
50%
;
top
:
0
;
z-index
:
10
;
padding
:
0
10px
;
text-align
:
center
;
background-color
:
$white-light
;
color
:
$gray-darkest
;
transform
:
translateX
(
-50%
);
&
:after
{
top
:
100%
;
left
:
42%
;
width
:
50px
;
@media
(
min-width
:
$screen-lg-min
)
{
left
:
-35px
;
top
:
50%
;
padding
:
10px
0
;
width
:
20px
;
line-height
:
20px
;
transform
:
translateY
(
-50%
);
}
}
}
.new-project-second-column
{
&
:before
{
background
:
$gray-darkest
;
width
:
1px
;
height
:
100%
;
&
:
:
after
{
content
:
""
;
position
:
absolute
;
left
:
-23
px
;
display
:
inline-block
;
content
:
" "
;
}
@media
(
max-width
:
$screen-md-max
)
{
&
:before
{
height
:
1px
;
left
:
1
5px
;
top
:
-20px
;
right
:
15px
;
width
:
auto
;
top
:
10
px
;
left
:
10px
;
right
:
10px
;
height
:
1px
;
background-color
:
$gray-darkest
;
@media
(
min-width
:
$screen-lg-min
)
{
bottom
:
0
;
left
:
-2
5px
;
right
:
auto
;
height
:
100%
;
width
:
1px
;
}
}
}
...
...
app/views/projects/new.html.haml
View file @
54e3361f
...
...
@@ -18,7 +18,7 @@
.col-lg-9.js-toggle-container
=
form_for
@project
,
html:
{
class:
'new_project'
}
do
|
f
|
.row
.col-lg-6.col-sm-12
.new-project-first-column
.col-lg-6.col-sm-12
.project-template
.form-group
=
f
.
label
:template_project
,
class:
'label-light'
do
...
...
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