diff options
| author | Frederick Muriuki Muriithi | 2025-12-10 10:50:12 -0600 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2025-12-10 10:50:12 -0600 |
| commit | 8b37cfeacada925e3c5b9b7102f8fad0f28da144 (patch) | |
| tree | 3aa45a65faacebc9e836a5e983f4233c25125bde | |
| parent | b9a2e1239c6d9cbe233ad5dff7ed17ebfdf1c906 (diff) | |
| download | gn-uploader-8b37cfeacada925e3c5b9b7102f8fad0f28da144.tar.gz | |
Move common CSS to separate file.
| -rw-r--r-- | uploader/static/css/layout-common.css | 3 | ||||
| -rw-r--r-- | uploader/static/css/layout-large.css | 4 | ||||
| -rw-r--r-- | uploader/static/css/layout-medium.css | 4 | ||||
| -rw-r--r-- | uploader/static/css/layout-small.css | 4 | ||||
| -rw-r--r-- | uploader/templates/sui-base.html | 2 |
5 files changed, 4 insertions, 13 deletions
diff --git a/uploader/static/css/layout-common.css b/uploader/static/css/layout-common.css new file mode 100644 index 0000000..36a5735 --- /dev/null +++ b/uploader/static/css/layout-common.css @@ -0,0 +1,3 @@ +* { + box-sizing: border-box; +} diff --git a/uploader/static/css/layout-large.css b/uploader/static/css/layout-large.css index f1740de..57904ba 100644 --- a/uploader/static/css/layout-large.css +++ b/uploader/static/css/layout-large.css @@ -1,7 +1,3 @@ -* { - box-sizing: border-box; -} - @media screen and (min-width: 20.1in) { body { display: grid; diff --git a/uploader/static/css/layout-medium.css b/uploader/static/css/layout-medium.css index f504073..dcd2dda 100644 --- a/uploader/static/css/layout-medium.css +++ b/uploader/static/css/layout-medium.css @@ -1,7 +1,3 @@ -* { - box-sizing: border-box; -} - @media screen and (width > 8in) and (max-width: 20in) { body { display: grid; diff --git a/uploader/static/css/layout-small.css b/uploader/static/css/layout-small.css index 3a7d18f..6861e81 100644 --- a/uploader/static/css/layout-small.css +++ b/uploader/static/css/layout-small.css @@ -1,7 +1,3 @@ -* { - box-sizing: border-box; -} - @media screen and (max-width: 8in) { body { display: grid; diff --git a/uploader/templates/sui-base.html b/uploader/templates/sui-base.html index b247c3c..4aec354 100644 --- a/uploader/templates/sui-base.html +++ b/uploader/templates/sui-base.html @@ -16,7 +16,7 @@ <link rel="stylesheet" type="text/css" href="{{url_for('base.datatables', filename='css/dataTables.bootstrap5.min.css')}}" /> - <link rel="stylesheet" type="text/css" href="/static/css/styles2.css" /> + <link rel="stylesheet" type="text/css" href="/static/css/layout-common.css" /> <link rel="stylesheet" type="text/css" href="/static/css/layout-large.css" /> <link rel="stylesheet" type="text/css" href="/static/css/layout-medium.css" /> <link rel="stylesheet" type="text/css" href="/static/css/layout-small.css" /> |
