mirror of
https://gitlab.com/randompenguin/zen_postbox.git
synced 2025-04-29 09:34:22 +02:00
93 lines
No EOL
1.9 KiB
CSS
93 lines
No EOL
1.9 KiB
CSS
#profile-postbox-wrapper {
|
|
display: block;
|
|
}
|
|
|
|
#postboxbutton {
|
|
display: none;
|
|
position: fixed;
|
|
background-color: #eee;
|
|
width: auto;
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
|
|
box-shadow: 0 6px 12px rgba(0,0,0,.175);
|
|
}
|
|
.jotplugins #postboxbutton {
|
|
position: absolute;
|
|
}
|
|
|
|
.postbox_button {
|
|
border: none !important;
|
|
-webkit-box-shadow: none !important;
|
|
-moz-box-shadow: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.postbox_button > img {
|
|
height: 18px;
|
|
width: 18px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
div.preview-postbox div.pick-postbox {
|
|
height: 100%;
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
div.preview-postbox > button {
|
|
ms-appearance: none;
|
|
moz-appearance: none;
|
|
webkit-appearance: none;
|
|
appearance: none;
|
|
cursor: pointer;
|
|
height: 32px;
|
|
width: 32px;
|
|
margin: 5px;
|
|
float: left;
|
|
border-radius: 8px;
|
|
margin: 0 5px 5px 0;
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
div.preview-postbox > button:hover > div,
|
|
div.preview-postbox > button:focus > div {
|
|
box-shadow: inset 0 0 100px rgba(255,255,255,.2);
|
|
}
|
|
/* fix positioning if more than one jot tool */
|
|
.jotplugins > div,
|
|
#profile-jot-plugin-wrapper > div {
|
|
float: left;
|
|
}
|
|
.jotplugins::after,
|
|
#profile-jot-plugin-wrapper::after {
|
|
content: '';
|
|
display: block;
|
|
clear: both;
|
|
}
|
|
|
|
/* handle patterns and animations */
|
|
div.preview-postbox > button:hover,
|
|
div.preview-postbox > button:focus {
|
|
position: relative;
|
|
z-index: 10;
|
|
transform-origin: center;
|
|
transform: scale(2);
|
|
}
|
|
|
|
div.pick-postbox {
|
|
height: 320px !important;
|
|
width: 320px !important;;
|
|
transform-origin: top left;
|
|
transform: scale(.1);
|
|
}
|
|
div.pick-postbox, div.pick-postbox::before, div.pick-postbox::after {
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
div.pick-postbox:hover, div.pick-postbox:hover::before, div.pick-postbox:hover::after,
|
|
button:focus div.pick-postbox, button:focus div.pick-postbox::before, button:focus div.pick-postbox::after {
|
|
animation-play-state: running;
|
|
} |