From 83200405b233204da696d86c972c7e4a01d8851a Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Thu, 2 Nov 2017 01:54:08 -0500 Subject: 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 --- .../environments/components/environment_item.vue | 22 ++- app/assets/stylesheets/framework.scss | 2 +- app/assets/stylesheets/framework/common.scss | 53 +++---- .../stylesheets/framework/responsive-tables.scss | 137 ----------------- .../stylesheets/framework/responsive_tables.scss | 162 +++++++++++++++++++++ app/assets/stylesheets/pages/clusters.scss | 4 - app/assets/stylesheets/pages/environments.scss | 9 +- app/assets/stylesheets/pages/pipelines.scss | 1 - 8 files changed, 208 insertions(+), 182 deletions(-) delete mode 100644 app/assets/stylesheets/framework/responsive-tables.scss create mode 100644 app/assets/stylesheets/framework/responsive_tables.scss (limited to 'app/assets') 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 {