Project

General

Profile

Actions

Feature #6609

closed

Make common CSS style sheet for all themes with basic style rules

Added by Lauren Walker about 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
10/09/2014
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

Themes can override this style sheet with their own, just like it is now.

This is mostly to save me time when I am maintaining 3+ UI themes.

Actions #1

Updated by Lauren Walker almost 8 years ago

  • Status changed from New to Resolved

I created a metacatui-common.css style sheet in the main css/ directory. All themes will pull in this style sheet but can opt-out via the appHead.html template. Right now the style sheet holds only the provenance flow chart (ProvChartView) structural CSS. Colors are set only in the theme CSS so that colors will be automatically inherited in each theme.

This will really help me save time when I need to edit some basic CSS that exists in all themes.

I will start moving over CSS rules to the common style sheet as I find them, so it will be a gradual process.

This will hopefully make creating a custom theme easier for MetacatUI users because they can easily change colors, fonts, etc. in one style sheet and keep the basic structure intact. CSS rules will be easier to find in a shorter style sheet.

Actions

Also available in: Atom PDF