Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OBS-383: Replace LESS with native CSS #6814

Merged
merged 3 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ RUN pip install --no-cache-dir --no-deps -r requirements.txt && \
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONPATH=/app \
LESS_BINARY=/webapp-frontend-deps/node_modules/.bin/lessc \
UGLIFYJS_BINARY=/webapp-frontend-deps/node_modules/.bin/uglifyjs \
CSSMIN_BINARY=/webapp-frontend-deps/node_modules/.bin/cssmin \
NPM_ROOT_PATH=/webapp-frontend-deps/ \
Expand Down
4 changes: 4 additions & 0 deletions GRAVEYARD.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ This document records interesting code that we've deleted for the sake of discov
`bin/load_processed_crashes_into_es.py` which was used to backfill elasticsearch from crash storage
when migrating to Google Cloud Platform.

* [Removal PR](https://github.com/mozilla-services/socorro/pull/6814)

`webapp/less_to_css.sh` which converts LESS files to CSS, with associated NPM script `"convert:less": "sh less_to_css.sh"`

## S3 and SQS support

* [Removal PR](https://github.com/mozilla-services/socorro/pull/6669)
Expand Down
1 change: 0 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ RUN pip install --no-cache-dir --no-deps -r requirements.txt && \
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONPATH=/app \
LESS_BINARY=/webapp-frontend-deps/node_modules/.bin/lessc \
UGLIFYJS_BINARY=/webapp-frontend-deps/node_modules/.bin/uglifyjs \
CSSMIN_BINARY=/webapp-frontend-deps/node_modules/.bin/cssmin \
NPM_ROOT_PATH=/webapp-frontend-deps/ \
Expand Down
58 changes: 58 additions & 0 deletions webapp/crashstats/api/static/api/css/documentation.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/* 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/. */
p.url {
margin: 15px;
font-size: 1.6em;
}
p.url code {
padding-left: 25px;
}
div.run-test {
text-align: right;
margin: 10px;
}
a.collapse-list,
a.expand-list {
text-decoration: none;
font-weight: bold;
padding: 3px;
}
input.error {
border: 2px solid var(--red);
}
/* things that are hidden by default */
div.test-drive,
button.close,
.status-error,
img.loading-ajax,
.binary-response-warning {
display: none;
}
.status-error {
color: var(--red);
font-weight: bold;
}
p.helptext {
background-color: #ffffff;
padding: 6px;
}
.title h2 a {
text-decoration: none;
}
p.required-permission {
float: right;
margin: 0;
}
/* These are the little widgets for boolean choices */
form.testdrive td ul li {
display: inline;
margin-right: 10px;
}
.deprecation-warning {
font-weight: bold;
color: var(--orange);
}
p.deprecation-warning {
text-transform: uppercase;
}
60 changes: 0 additions & 60 deletions webapp/crashstats/api/static/api/css/documentation.less

This file was deleted.

Loading