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

LESSed #146

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
75 changes: 0 additions & 75 deletions print.css

This file was deleted.

66 changes: 66 additions & 0 deletions print.less
Original file line number Diff line number Diff line change
@@ -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;
}
70 changes: 0 additions & 70 deletions style.css

This file was deleted.

64 changes: 64 additions & 0 deletions style.less
Original file line number Diff line number Diff line change
@@ -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;
}