From 83200405b233204da696d86c972c7e4a01d8851a Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Thu, 2 Nov 2017 01:54:08 -0500 Subject: [PATCH] Refactor responsive table styles to support nested error block - Split layout from the styles of the row - Move command `.append-` `.prepend-` styles to bottom of source order - Actually applies styles over others in more situations which is probably what is expected when you add it to an element - Also allows us to get rid of some styles that were trying to get around this fact See https://i.imgur.com/IE50PK6.png Which is used in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15064 Design from https://gitlab.com/gitlab-org/gitlab-ce/issues/38464 --- .../components/environment_item.vue | 22 ++-- app/assets/stylesheets/framework.scss | 2 +- app/assets/stylesheets/framework/common.scss | 53 ++++---- ...ive-tables.scss => responsive_tables.scss} | 115 +++++++++++------- app/assets/stylesheets/pages/clusters.scss | 4 - .../stylesheets/pages/environments.scss | 9 +- app/assets/stylesheets/pages/pipelines.scss | 1 - 7 files changed, 116 insertions(+), 90 deletions(-) rename app/assets/stylesheets/framework/{responsive-tables.scss => responsive_tables.scss} (59%) diff --git a/app/assets/javascripts/environments/components/environment_item.vue b/app/assets/javascripts/environments/components/environment_item.vue index 6de01fa53d0..fc0308b81ba 100644 --- a/app/assets/javascripts/environments/components/environment_item.vue +++ b/app/assets/javascripts/environments/components/environment_item.vue @@ -421,7 +421,11 @@ export default {