1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 21:00:23 +01:00
CanvasBlocker/pageAction/pageAction.css

170 lines
2.6 KiB
CSS
Raw Normal View History

.actions {
display: block;
}
body {
margin: 0.5em;
padding: 2px;
padding-right: 23px;
padding-bottom: 1.5em;
2017-07-18 16:19:32 +02:00
white-space: nowrap;
position: relative;
}
#prints {
list-style: none;
padding: 0;
margin: 0;
2017-07-18 16:19:32 +02:00
}
button.action.isIcon {
border: none;
cursor: pointer;
padding: 0;
margin: 0;
line-height: 0;
background-color: transparent;
}
* + button.action.isIcon {
margin-left: 1px;
}
button.action img {
max-height: 19px;
margin: 0;
}
.hasHiddenActions {
position: relative;
display: inline-block;
}
.hasHiddenActions:hover {
padding: 3px;
margin: -3px;
z-index: 10;
}
.hasHiddenActions .actions {
display: none;
position: absolute;
top: 100%;
left: 0px;
border-top-width: 0;
padding: 2px 1px 1px 1px;
line-height: 0;
white-space: nowrap;
}
.hasHiddenActions:hover .actions{
display: block;
}
#globalActions {
position: absolute;
right: 0;
top: 0;
width: 23px;
text-align: right;
2017-12-24 22:41:06 +01:00
line-height: 0;
}
2017-12-24 22:41:06 +01:00
#globalActions .action img {
margin-bottom: 4px;
}
.notifications .fakedCanvasContent {
2017-10-03 12:17:14 +02:00
display: block;
width: 100%;
box-sizing: border-box;
2017-11-19 18:09:20 +01:00
image-rendering: -moz-crisp-edges;
2017-07-18 16:19:32 +02:00
}
2017-10-03 12:17:14 +02:00
.notifications {
margin: 0;
padding: 0 0 20px 1em;
2017-07-18 16:19:32 +02:00
}
2018-08-22 22:16:49 +02:00
.collapsible {
2017-10-03 12:17:14 +02:00
position: relative;
margin: 0;
}
.collapsible.empty .collapser {
display: none;
}
2018-08-22 22:16:49 +02:00
.collapsible.collapsed .collapser {
2017-10-03 12:17:14 +02:00
display: inline-block;
width: 20px;
height: 20px;
line-height: 20px;
box-sizing: border-box;
}
2018-08-22 22:16:49 +02:00
.collapsible .collapser {
2017-10-03 12:17:14 +02:00
cursor: pointer;
text-decoration: underline;
}
2018-08-22 22:16:49 +02:00
.collapsible .collapser .more {
2017-10-03 12:17:14 +02:00
display: none;
}
2018-08-22 22:16:49 +02:00
.collapsible.collapsed .collapser .more {
2017-10-03 12:17:14 +02:00
display: inline;
}
2018-08-22 22:16:49 +02:00
.collapsible.collapsed .collapser .less {
2017-10-03 12:17:14 +02:00
display: none;
}
2018-08-22 22:16:49 +02:00
.collapsible .collapser .less {
2017-10-03 12:17:14 +02:00
display: inline;
}
.collapsible.empty .collapser, .collapsible.collapsed.empty .collapser {
display: none;
}
2018-08-22 22:16:49 +02:00
.collapsible.collapsed .collapsing {
2017-10-03 12:17:14 +02:00
height: 0px;
overflow: hidden;
padding: 0;
2017-10-03 12:17:14 +02:00
}
2018-08-22 22:16:49 +02:00
.collapsible .collapsing {
2017-10-03 12:17:14 +02:00
height: initial;
width: 100%;
box-sizing: border-box;
}
/* modal display*/
body.modal {
padding: 2px;
}
.modal input {
display: block;
box-sizing: border-box;
width: 100%;
}
.modal button {
display: block;
padding: 0.5em;
background-color: transparent;
border: 1px solid currentColor;
cursor: pointer;
width: 100%;
text-align: left;
height: auto;
z-index: 1;
position: relative;
white-space: nowrap;
color: currentColor;
}
.modal button + .modal button {
border-top-width: 0;
}
.modal button:first-child {
border-radius: 3px 3px 0 0;
}
.modal button:last-child {
border-radius: 0 0 3px 3px;
}
.modal button:active, .modal button:hover, .modal button:focus {
z-index: 10;
}