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
Boxiang Sun
gitlab-ce
Commits
b6bf23c1
Commit
b6bf23c1
authored
Nov 21, 2018
by
Martin Wortschack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add flex_grid
parent
1fc450d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
0 deletions
+53
-0
app/assets/stylesheets/framework.scss
app/assets/stylesheets/framework.scss
+1
-0
app/assets/stylesheets/framework/flex_grid.scss
app/assets/stylesheets/framework/flex_grid.scss
+52
-0
No files found.
app/assets/stylesheets/framework.scss
View file @
b6bf23c1
...
...
@@ -65,3 +65,4 @@
@import
'framework/feature_highlight'
;
@import
'framework/terms'
;
@import
'framework/read_more'
;
@import
'framework/flex_grid'
;
app/assets/stylesheets/framework/flex_grid.scss
0 → 100644
View file @
b6bf23c1
.flex-grid
{
.grid-row
{
border-bottom
:
1px
solid
$border-color
;
padding
:
0
;
&
:last-child
{
border-bottom
:
0
;
}
@include
media-breakpoint-down
(
md
)
{
border-bottom
:
0
;
border-right
:
1px
solid
$border-color
;
&
:last-child
{
border-right
:
0
;
}
}
@include
media-breakpoint-down
(
xs
)
{
border-right
:
0
;
border-bottom
:
1px
solid
$border-color
;
&
:last-child
{
border-bottom
:
0
;
}
}
}
.grid-cell
{
padding
:
10px
$gl-padding
;
border-right
:
1px
solid
$border-color
;
&
:last-child
{
border-right
:
0
;
}
@include
media-breakpoint-up
(
md
)
{
flex
:
1
;
}
@include
media-breakpoint-down
(
md
)
{
border-right
:
0
;
flex
:
none
;
}
}
}
.card
{
.card-body.flex-grid
{
padding
:
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