mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Improved design of the page action display.
This commit is contained in:
parent
03bf34d092
commit
ae0763cfe6
14 changed files with 614 additions and 13 deletions
|
@ -3,8 +3,11 @@
|
|||
}
|
||||
|
||||
body {
|
||||
margin: 5px;
|
||||
margin: 0.5em;
|
||||
padding: 2px;
|
||||
padding-right: 23px;
|
||||
white-space: nowrap;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#prints {
|
||||
|
@ -13,7 +16,58 @@ body {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
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;
|
||||
color: darkblue;
|
||||
}
|
||||
.hasHiddenActions:hover {
|
||||
padding: 3px;
|
||||
margin: -3px;
|
||||
background-color: #f6f6f6;
|
||||
z-index: 10;
|
||||
}
|
||||
.hasHiddenActions .actions {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0px;
|
||||
border-top-width: 0;
|
||||
background-color: #f6f6f6;
|
||||
padding: 2px 1px 1px 1px;
|
||||
line-height: 0;
|
||||
}
|
||||
.hasHiddenActions:hover .actions{
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
#globalActions {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 23px;
|
||||
height: 100%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.notifications .fakedCanvasContent {
|
||||
display: block;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
|
@ -21,7 +75,7 @@ img {
|
|||
|
||||
.notifications {
|
||||
margin: 0;
|
||||
padding: 0 0 0 1em;
|
||||
padding: 0 0 20px 1em;
|
||||
}
|
||||
|
||||
.collapsable {
|
||||
|
@ -54,10 +108,11 @@ img {
|
|||
}
|
||||
.collapsable.collapsed .collapsing {
|
||||
height: 0px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
}
|
||||
.collapsable .collapsing {
|
||||
height: initial;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue