The problem was casued by .close class in _bootswatch.scss. The
size is 34px while correct size should 19.5px. Patch the fix to
have a smaller size.
When alert message has one line the close button is centered now.
When alert message has multiple lines, the close button is at the
right upper corner of the message box.
Change-Id: Ic5af8ae7e2b4ed0e136fad205a03b3f2368f72a9
Closes-bug: #1550066
This patch reduces duplication arbitrary directory choices for
xstatic package locations in the static directory.
It moves the xstatic configuration from the library into the
settings file, and the supporting functions move to
the openstack_dashboard.utils.settings module. Having the xstatic
module list in settings allows deployers to add new modules.
It standardises the paths the files are served from, reducing
potential conflicts.
It simplifies the interaction with the xstatic modules, and also uses
the new MAIN variable if present to determine the entry points used.
Since some of the xstatic packages were installed into special
snowflakes directories (not following a pattern) the references to
those (bootstrap_scss and font_awesome) have been fixed.
Change-Id: Ia5be0e96fff1a4ddd6058d6b030ddf96da4b46e7
Some things on the new LI needed tweaking for material design:
* Help Icon Strangeness -- Snazz added
* Material Icon Alignment -- Removed Custom Size
* Required Icon Size Strangeness - Specificity Required
Change-Id: I09620f25192352ab47dd329e8a594a9fd091a6a3
partial-bug: 1538491
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.
Organize the Component Imports alphabetically. Also, standardize
quotes to match.
Change-Id: I39e62135d1200db56c46449c274d2acdccb72a00
Partially-Implements: blueprint horizon-theme-css-reorg
Bootswatch 3.3.5.2 is trying to load external assets from
googleapis.com
Bootswatch 3.3.5.3 makes this variable configurable, so we should
update and take advantage of this configuration.
Change-Id: Ib0a61af9568c44ec15aa4bd8bb85bc5699ddc05b
Closes-Bug: #1492070
In order to facilitate the bulk of the CSS Reorg effort, it was
extremely beneficial to quickly toggle between many different themes
in order to validate proper cascading inheritance. This work
prompted the following example theme.
The 'material' theme gives an example of how to make use of a 3rd
party theme using the theming functionality. In addition to
incorporating a theme, loaded as a static asset using
requirements.txt, it also gives examples of how to cleanly override
styles, variables, icon fonts and Django templates.
This theme is replacing 'blue' as the example of how to use a theme
other than 'default'.
To use this theme, add the theme to your local_settings.py:
CUSTOM_THEME_PATH = 'themes/material', recollect and recompress your
static files.
Change-Id: Ic67189de5aac5ca541ad6fe82b823e8fcf318bd0
Partially-Implements: blueprint horizon-theme-css-reorg