From 1acc56d83e658b13b0bb84141e8f1a1a6aea802c Mon Sep 17 00:00:00 2001 From: Rainbow Spike <3947636+Rainbow-Spike@users.noreply.github.com> Date: Tue, 25 Aug 2020 22:51:49 +1000 Subject: [PATCH 1/2] Update and rename print.css to print.less --- print.css | 75 ------------------------------------------------------ print.less | 66 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 75 deletions(-) delete mode 100644 print.css create mode 100644 print.less diff --git a/print.css b/print.css deleted file mode 100644 index f666f19..0000000 --- a/print.css +++ /dev/null @@ -1,75 +0,0 @@ -div.approval { - margin: 2em; - margin-left: auto; - margin-right: auto; - width: 70% !important; - min-height: 40px; - clear: both; - text-align: justify; - vertical-align: middle; - border-collapse: collapse; - padding: 15px 20px 15px 20px; - -moz-border-radius: 10px; - -khtml-border-radius: 10px; - border-radius: 10px; - border: solid black 2px; -} - -div.approved_yes { - background-color: #dfd; - background-image: url(images/yes.gif); -} - -div.approved_no { - background-color: #fdd; - background-image: url(images/no.gif); -} - -div.approval em { - font-weight: bold; -} - -div.approval span { - display: block; -} - -div.approved_revision { - background-color: #dfd; -} - -div.unapproved_revision { - background-color: #fdd; -} - -p.apr_none { } - -/* table.apr_table tr.apr_head th.(apr_page,apr_prev,apr_upd) - * table.apr_table tr.apr_ns td a - * table.apr_table tr.apr_entry [apr_never] td.(apr_page,apr_prev,apr_upd) a - */ -table.apr_table { - width: 100%; -} - -table.apr_table tr.apr_head { - border-bottom: solid black 2px; -} - -table.apr_table tr.apr_ns { - border-bottom: solid black 1px; -} - - -table.apr_table tr.apr_ns td { - text-align: center; - font-weight: bold; -} - -a.approved_diff_link { - visibility: hidden; -} - -div.approval span span.approval_date { - display: inline; - font-size: 80%; -} diff --git a/print.less b/print.less new file mode 100644 index 0000000..39248e4 --- /dev/null +++ b/print.less @@ -0,0 +1,66 @@ +div.approval { + margin: 2em; + margin-left: auto; + margin-right: auto; + width: 70% !important; + min-height: 40px; + clear: both; + text-align: justify; + vertical-align: middle; + border-collapse: collapse; + padding: 15px 20px 15px 20px; + border-radius: 10px; + border: solid black 2px; + em { + font-weight: bold; + } + span { + display: block; + span.approval_date { + display: inline; + font-size: 80%; + } + } +} + +div.approved_yes { + background-color: #dfd; + background-image: url(images/yes.gif); +} + +div.approved_no { + background-color: #fdd; + background-image: url(images/no.gif); +} + +div.approved_revision { + background-color: #dfd; +} + +div.unapproved_revision { + background-color: #fdd; +} + +p.apr_none { } + +/* table.apr_table tr.apr_head th.(apr_page,apr_prev,apr_upd) + * table.apr_table tr.apr_ns td a + * table.apr_table tr.apr_entry [apr_never] td.(apr_page,apr_prev,apr_upd) a + */ +table.apr_table { + width: 100%; + tr.apr_head { + border-bottom: solid black 2px; + } + tr.apr_ns { + border-bottom: solid black 1px; + td { + text-align: center; + font-weight: bold; + } + } +} + +a.approved_diff_link { + visibility: hidden; +} From c1855c91d6b49661362d9924c4bb6595d0abd0c2 Mon Sep 17 00:00:00 2001 From: Rainbow Spike <3947636+Rainbow-Spike@users.noreply.github.com> Date: Tue, 25 Aug 2020 22:53:04 +1000 Subject: [PATCH 2/2] Update and rename style.css to style.less --- style.css | 70 ------------------------------------------------------ style.less | 64 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 70 deletions(-) delete mode 100644 style.css create mode 100644 style.less diff --git a/style.css b/style.css deleted file mode 100644 index e548fae..0000000 --- a/style.css +++ /dev/null @@ -1,70 +0,0 @@ -div.approval { - margin: 2em auto; - width: 70% !important; - min-height: 40px; - clear: both; - text-align: justify; - vertical-align: middle; - border-collapse: collapse; - padding: 15px 20px 15px 80px; - background-position: 30px 50%; - background-repeat: no-repeat; - -moz-border-radius: 10px; - -khtml-border-radius: 10px; - border-radius: 10px; -} - -div.approved_yes { - background-color: #dfd; - background-image: url(images/yes.gif); -} - -div.approved_no { - background-color: #fdd; - background-image: url(images/no.gif); -} - -div.approval em { - font-weight: bold; -} - -div.approval span { - display: block; -} - -div.approved_revision { - background-color: #dfd; -} - -div.unapproved_revision { - background-color: #fdd; -} - -a.approved_diff_link { - padding-left: 1em; -} - -p.apr_none { } - -/* table.apr_table tr.apr_head th.(apr_page,apr_prev,apr_upd) - * table.apr_table tr.apr_ns td a - * table.apr_table tr.apr_entry [apr_never] td.(apr_page,apr_prev,apr_upd) a - */ -table.apr_table { - width: 70%; - background-color: #fdd; -} - -table.apr_table tr.apr_ns td { - text-align: center; - background-color: #dfd; - font-weight: bold; -} - -div.approval span span.approval_date { - display: inline; -} - -button.publish__approveNS { - float: left; -} diff --git a/style.less b/style.less new file mode 100644 index 0000000..72174af --- /dev/null +++ b/style.less @@ -0,0 +1,64 @@ +div.approval { + margin: 0 auto; + width: 70% !important; + min-height: 40px; + clear: both; + text-align: justify; + vertical-align: middle; + border-collapse: collapse; + padding: 15px 20px 15px 80px; + background-position: 30px 50%; + background-repeat: no-repeat; + border-radius: 10px; + em { + font-weight: bold; + } + span { + display: block; + span.approval_date { + display: inline; + } + } +} + +div.approved_yes { + background-color: #dfd; + background-image: url(images/yes.gif); +} + +div.approved_no { + background-color: #fdd; + background-image: url(images/no.gif); +} + +div.approved_revision { + background-color: #dfd; +} + +div.unapproved_revision { + background-color: #fdd; +} + +a.approved_diff_link { + margin-left: 1em; +} + +/* table.apr_table tr.apr_head th.(apr_page,apr_prev,apr_upd) + * table.apr_table tr.apr_ns td a + * table.apr_table tr.apr_entry [apr_never] td.(apr_page,apr_prev,apr_upd) a + */ +table.apr_table { + width: 70%; + background-color: #fdd; + tr.apr_ns { + td { + text-align: center; + background-color: #dfd; + font-weight: bold; + } + } +} + +button.publish__approveNS { + float: left; +}