-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- use crashstats_base as first test case - replace cssmin for minification - fix hacky filenames for fonts to work with ESBuild - remove unused "fontawesome" styles
- Loading branch information
Showing
12 changed files
with
1,103 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
webapp/crashstats/crashstats/static/crashstats/css/components/status.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
/* Styles copied from /webapp/crashstats/status/static/status/css/status.css | ||
* because Django Pipeline doesn't allow traversing urls outside the base dir | ||
* TODO: decide if it's needed in both locations and DRY */ | ||
|
||
.status-message { | ||
position: relative; | ||
background-color: var(--light-grey); | ||
border: none; | ||
color: #ffffff; | ||
font-size: 1.1em; | ||
padding: 1em 3.5rem; | ||
line-height: 1.5em; | ||
} | ||
.status-message span { | ||
font-style: italic; | ||
} | ||
.status-message:before { | ||
padding: 4px 4px 0 0; | ||
vertical-align: middle; | ||
position: absolute; | ||
left: 1rem; | ||
} | ||
.status-message.severity-info { | ||
background-color: #ededf0; | ||
color: #0c0c0d; | ||
} | ||
.status-message.severity-info a { | ||
color: var(--primary-medium); | ||
} | ||
.status-message.severity-info:before { | ||
content: url("/static/img/3rdparty/silk/information.png"); | ||
} | ||
.status-message.severity-warning { | ||
background-color: #ffe900; | ||
color: #3e2800; | ||
} | ||
.status-message.severity-warning a { | ||
color: var(--primary-medium); | ||
} | ||
.status-message.severity-warning:before { | ||
content: url("/static/img/3rdparty/silk/error.png"); | ||
} | ||
.status-message.severity-critical { | ||
background-color: var(--red); | ||
} | ||
.status-message.severity-critical, | ||
.status-message.severity-critical a { | ||
color: #ffffff; | ||
} | ||
.status-message.severity-critical:before { | ||
content: url("/static/img/3rdparty/silk/exclamation.png"); | ||
} |
Oops, something went wrong.