Extend integration of approve plugin
This commit is contained in:
parent
40641dd6f0
commit
434e76cf75
6 changed files with 82 additions and 13 deletions
|
|
@ -1,7 +1,36 @@
|
|||
/**
|
||||
* This file provides styles for approve plugin
|
||||
*/
|
||||
#plugin__approve {
|
||||
position: static;
|
||||
display: inline;
|
||||
|
||||
.page-attributes > li #plugin__approve {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen {
|
||||
#plugin__approve {
|
||||
display: none; // initial
|
||||
padding: 2rem 1rem;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
span.plugin_approve-icon.plugin__approve_draft {
|
||||
background-color: #fdb1b1;
|
||||
&:hover {
|
||||
background-color: unset;
|
||||
}
|
||||
}
|
||||
|
||||
span.plugin_approve-icon.plugin__approve_ready {
|
||||
background-color: #94bffb;
|
||||
&:hover {
|
||||
background-color: unset;
|
||||
}
|
||||
}
|
||||
|
||||
span.plugin_approve-icon.plugin__approve_approved {
|
||||
background-color: #94fb94;
|
||||
&:hover {
|
||||
background-color: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -557,3 +557,13 @@ form {
|
|||
border: 1pt solid @border-dark-print;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Plugins
|
||||
*/
|
||||
|
||||
/* * * * approve * * * */
|
||||
#plugin__approve {
|
||||
// we hide the banner with JS, make it visible again in print
|
||||
display: block !important;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue