summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-15 18:06:01 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-15 18:06:01 +0000
commit7b8ec6e718331dd1f8330f08f49f01ba2c20b84c (patch)
tree560992bd23b96c85e8b006258a8ece3fb25d088e /app/assets
parent03087faa6b679cd82a8a7b5f6491edc414ed91eb (diff)
downloadgitlab-ce-7b8ec6e718331dd1f8330f08f49f01ba2c20b84c.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/set_status_modal/set_status_modal_wrapper.vue2
-rw-r--r--app/assets/stylesheets/framework/typography.scss135
2 files changed, 136 insertions, 1 deletions
diff --git a/app/assets/javascripts/set_status_modal/set_status_modal_wrapper.vue b/app/assets/javascripts/set_status_modal/set_status_modal_wrapper.vue
index 396ecc3e291..df950e79690 100644
--- a/app/assets/javascripts/set_status_modal/set_status_modal_wrapper.vue
+++ b/app/assets/javascripts/set_status_modal/set_status_modal_wrapper.vue
@@ -163,7 +163,7 @@ export default {
:ok-title="s__('SetStatusModal|Set status')"
:cancel-title="s__('SetStatusModal|Remove status')"
ok-variant="success"
- class="set-user-status-modal"
+ modal-class="set-user-status-modal"
@shown="setupEmojiListAndAutocomplete"
@hide="hideEmojiMenu"
@ok="setStatus"
diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss
index e36307f4f29..9028bfa8ec9 100644
--- a/app/assets/stylesheets/framework/typography.scss
+++ b/app/assets/stylesheets/framework/typography.scss
@@ -194,6 +194,141 @@
border-color: $gl-gray-200;
}
}
+
+ &.grid-none {
+ > thead > tr {
+ > th {
+ border-bottom-width: 0;
+ border-right-width: 0;
+ border-left-width: 0;
+
+ &:first-child {
+ border-left-width: 1px;
+ }
+
+ &:last-child {
+ border-right-width: 1px;
+ }
+ }
+ }
+
+ > tbody {
+ > tr > td {
+ border-width: 0;
+
+ &:first-child {
+ border-left-width: 1px;
+ }
+
+ &:last-child {
+ border-right-width: 1px;
+ }
+ }
+
+ > tr:last-child > td {
+ border-bottom-width: 1px;
+ }
+ }
+ }
+
+
+ &.grid-rows {
+ > thead > tr > th,
+ > tbody > tr > td {
+ border-right-width: 0;
+ border-left-width: 0;
+ }
+
+ > thead > tr {
+ > th:first-child {
+ border-left-width: 1px;
+ }
+
+ > th:last-child {
+ border-right-width: 1px;
+ }
+ }
+
+ > tbody > tr {
+ > td {
+ border-left-width: 0;
+ border-right-width: 0;
+ }
+
+ > td:first-child {
+ border-left-width: 1px;
+ }
+
+ > td:last-child {
+ border-right-width: 1px;
+ }
+ }
+ }
+
+ &.grid-cols {
+ > thead > tr > th {
+ border-bottom-width: 0;
+ }
+
+ > tbody > tr > td {
+ border-top-width: 0;
+ border-bottom-width: 0;
+ }
+
+ > tbody > tr:last-child > td {
+ border-bottom-width: 1px;
+ }
+ }
+
+ &.frame-sides {
+ > thead > tr > th {
+ border-top-width: 0;
+ }
+
+ > tbody > tr:last-child > td {
+ border-bottom-width: 0;
+ }
+ }
+
+ &.frame-topbot,
+ &.frame-ends {
+ > thead > tr > th:first-child,
+ > tbody > tr > td:first-child {
+ border-left-width: 0;
+ }
+
+ > thead > tr > th:last-child,
+ > tbody > tr > td:last-child {
+ border-right-width: 0;
+ }
+ }
+
+ &.frame-none {
+ > thead > tr > th {
+ border-top-width: 0;
+ }
+
+ > tbody > tr:last-child > td {
+ border-bottom-width: 0;
+ }
+
+ > thead > tr > th:first-child,
+ > tbody > tr > td:first-child {
+ border-left-width: 0;
+ }
+
+ > thead > tr > th:last-child,
+ > tbody > tr > td:last-child {
+ border-right-width: 0;
+ }
+ }
+
+ &.stripes-all tr,
+ &.stripes-odd tr:nth-of-type(odd),
+ &.stripes-even tr:nth-of-type(even),
+ &.stripes-hover tr:hover {
+ background: $gray-light;
+ }
}
table:dir(rtl) th {