diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-12-06 08:57:01 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-12-06 08:57:01 +0000 |
commit | 2a773f82c9eaaa90ffe060d2ffe92ccd6dfbf91c (patch) | |
tree | e1281153a5edaf56340f7c8e117ec34a94e85929 /app | |
parent | 935faf7741b3411783975b8a330fc82d4ab2e635 (diff) | |
parent | b6bf23c187ff9625083320b1489530981a4920db (diff) | |
download | gitlab-ce-2a773f82c9eaaa90ffe060d2ffe92ccd6dfbf91c.tar.gz |
Merge branch 'ce-7772-add-subscription-table-to-gitlab-com-billing-areas' into 'master'
(CE-port) Resolve "Add subscription table to GitLab.com billing areas"
See merge request gitlab-org/gitlab-ce!23264
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/framework.scss | 1 | ||||
-rw-r--r-- | app/assets/stylesheets/framework/flex_grid.scss | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework.scss b/app/assets/stylesheets/framework.scss index 4041f2b4479..834e7ffce81 100644 --- a/app/assets/stylesheets/framework.scss +++ b/app/assets/stylesheets/framework.scss @@ -65,3 +65,4 @@ @import 'framework/feature_highlight'; @import 'framework/terms'; @import 'framework/read_more'; +@import 'framework/flex_grid'; diff --git a/app/assets/stylesheets/framework/flex_grid.scss b/app/assets/stylesheets/framework/flex_grid.scss new file mode 100644 index 00000000000..10537fd5549 --- /dev/null +++ b/app/assets/stylesheets/framework/flex_grid.scss @@ -0,0 +1,52 @@ +.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; + } +} |