From 0a47159aed64c848dfd17f564adab4c76c339b9d Mon Sep 17 00:00:00 2001 From: Diana Whitten Date: Tue, 22 Dec 2015 09:33:56 -0700 Subject: [PATCH] Clean up horizon.scss - _contrib.scss A major part of the css reorg is a better organization of the css styles themselves. horizon.scss should be a global import level file. _contrib.scss: Styles that currently relate to a contrib page. These should be moved out eventually to the contrib area Change-Id: Ifa66b887c6e2de1579744b8c439dbe0b7826f0a1 Partially-Implements: blueprint horizon-theme-css-reorg --- .../static/dashboard/scss/_contrib.scss | 10 ++++++++++ openstack_dashboard/static/dashboard/scss/horizon.scss | 9 ++------- 2 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 openstack_dashboard/static/dashboard/scss/_contrib.scss diff --git a/openstack_dashboard/static/dashboard/scss/_contrib.scss b/openstack_dashboard/static/dashboard/scss/_contrib.scss new file mode 100644 index 0000000000..3f413772a7 --- /dev/null +++ b/openstack_dashboard/static/dashboard/scss/_contrib.scss @@ -0,0 +1,10 @@ +/* The styles in this file will be moved out to their contrib + directories or deprecated entirely. */ + +/* Used to build compact node groups and tags tables */ + +.small-padding { + padding-left: 0; + padding-right: $padding-small-vertical; + padding-bottom: $padding-small-vertical; +} \ No newline at end of file diff --git a/openstack_dashboard/static/dashboard/scss/horizon.scss b/openstack_dashboard/static/dashboard/scss/horizon.scss index e21c9422dc..74130f0403 100644 --- a/openstack_dashboard/static/dashboard/scss/horizon.scss +++ b/openstack_dashboard/static/dashboard/scss/horizon.scss @@ -37,6 +37,8 @@ @import "components/messages"; @import "components/table_actions"; +// Contrib stuff +@import "contrib"; /* new clearfix */ .clearfix:after { @@ -79,13 +81,6 @@ ul { list-style: disc; } -/* Used to build compact node groups and tags tables */ -.small-padding { - padding-left: 0; - padding-right: 5px; - padding-bottom: 5px; -} - dt { font-weight: bold; }