mirror of
https://github.com/fastmail/Squire.git
synced 2025-01-03 13:16:31 -05:00
120 lines
5.6 KiB
CSS
Executable file
120 lines
5.6 KiB
CSS
Executable file
.drop-element, .drop-element:after, .drop-element:before, .drop-element *, .drop-element *:after, .drop-element *:before {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box; }
|
|
|
|
.drop-element {
|
|
position: absolute;
|
|
display: none; }
|
|
.drop-element.drop-open {
|
|
display: block; }
|
|
|
|
.drop-element.drop-theme-arrows {
|
|
max-width: 100%;
|
|
max-height: 100%; }
|
|
.drop-element.drop-theme-arrows .drop-content {
|
|
-webkit-border-radius: 5px;
|
|
-moz-border-radius: 5px;
|
|
-ms-border-radius: 5px;
|
|
-o-border-radius: 5px;
|
|
border-radius: 5px;
|
|
position: relative;
|
|
font-family: inherit;
|
|
background: #eeeeee;
|
|
color: #444444;
|
|
padding: 1em;
|
|
font-size: 1.1em;
|
|
line-height: 1.5em;
|
|
-webkit-transform: translateZ(0);
|
|
-moz-transform: translateZ(0);
|
|
-ms-transform: translateZ(0);
|
|
-o-transform: translateZ(0);
|
|
transform: translateZ(0);
|
|
-webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
|
|
-moz-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
|
|
filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2)); }
|
|
.drop-element.drop-theme-arrows .drop-content:before {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
width: 0;
|
|
height: 0;
|
|
border-color: transparent;
|
|
border-width: 16px;
|
|
border-style: solid; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-bottom.drop-element-attached-center .drop-content {
|
|
margin-bottom: 16px; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-bottom.drop-element-attached-center .drop-content:before {
|
|
top: 100%;
|
|
left: 50%;
|
|
margin-left: -16px;
|
|
border-top-color: #eeeeee; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-top.drop-element-attached-center .drop-content {
|
|
margin-top: 16px; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-top.drop-element-attached-center .drop-content:before {
|
|
bottom: 100%;
|
|
left: 50%;
|
|
margin-left: -16px;
|
|
border-bottom-color: #eeeeee; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-right.drop-element-attached-middle .drop-content {
|
|
margin-right: 16px; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-right.drop-element-attached-middle .drop-content:before {
|
|
left: 100%;
|
|
top: 50%;
|
|
margin-top: -16px;
|
|
border-left-color: #eeeeee; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-left.drop-element-attached-middle .drop-content {
|
|
margin-left: 16px; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-left.drop-element-attached-middle .drop-content:before {
|
|
right: 100%;
|
|
top: 50%;
|
|
margin-top: -16px;
|
|
border-right-color: #eeeeee; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-top.drop-element-attached-left.drop-target-attached-bottom .drop-content {
|
|
margin-top: 16px; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-top.drop-element-attached-left.drop-target-attached-bottom .drop-content:before {
|
|
bottom: 100%;
|
|
left: 16px;
|
|
border-bottom-color: #eeeeee; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-top.drop-element-attached-right.drop-target-attached-bottom .drop-content {
|
|
margin-top: 16px; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-top.drop-element-attached-right.drop-target-attached-bottom .drop-content:before {
|
|
bottom: 100%;
|
|
right: 16px;
|
|
border-bottom-color: #eeeeee; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-bottom.drop-element-attached-left.drop-target-attached-top .drop-content {
|
|
margin-bottom: 16px; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-bottom.drop-element-attached-left.drop-target-attached-top .drop-content:before {
|
|
top: 100%;
|
|
left: 16px;
|
|
border-top-color: #eeeeee; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-bottom.drop-element-attached-right.drop-target-attached-top .drop-content {
|
|
margin-bottom: 16px; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-bottom.drop-element-attached-right.drop-target-attached-top .drop-content:before {
|
|
top: 100%;
|
|
right: 16px;
|
|
border-top-color: #eeeeee; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-top.drop-element-attached-right.drop-target-attached-left .drop-content {
|
|
margin-right: 16px; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-top.drop-element-attached-right.drop-target-attached-left .drop-content:before {
|
|
top: 16px;
|
|
left: 100%;
|
|
border-left-color: #eeeeee; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-top.drop-element-attached-left.drop-target-attached-right .drop-content {
|
|
margin-left: 16px; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-top.drop-element-attached-left.drop-target-attached-right .drop-content:before {
|
|
top: 16px;
|
|
right: 100%;
|
|
border-right-color: #eeeeee; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-bottom.drop-element-attached-right.drop-target-attached-left .drop-content {
|
|
margin-right: 16px; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-bottom.drop-element-attached-right.drop-target-attached-left .drop-content:before {
|
|
bottom: 16px;
|
|
left: 100%;
|
|
border-left-color: #eeeeee; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-bottom.drop-element-attached-left.drop-target-attached-right .drop-content {
|
|
margin-left: 16px; }
|
|
.drop-element.drop-theme-arrows.drop-element-attached-bottom.drop-element-attached-left.drop-target-attached-right .drop-content:before {
|
|
bottom: 16px;
|
|
right: 100%;
|
|
border-right-color: #eeeeee; }
|