2016-09-01 23:13:23 +02:00
|
|
|
/* Edit icon on tiled grids
|
|
|
|
-----------------------------*/
|
|
|
|
.tiled_grid div.landscape, .tiled_grid div.portrait, .tiled_grid div.panorama {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.tiled_grid div > a.edit {
|
|
|
|
background: #fff;
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
|
|
|
|
display: none;
|
|
|
|
left: 20px;
|
|
|
|
line-height: 1.5;
|
|
|
|
padding: 5px 10px;
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
}
|
|
|
|
.tiled_grid div:hover > a.edit {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Crop editor
|
|
|
|
----------------*/
|
|
|
|
#crop_editor {
|
2020-11-23 12:35:20 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2016-09-01 23:13:23 +02:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2020-11-23 12:22:05 +01:00
|
|
|
background: rgba(0, 0, 0, 0.8);
|
2016-09-01 23:13:23 +02:00
|
|
|
z-index: 100;
|
|
|
|
color: #fff;
|
|
|
|
}
|
2020-12-17 13:05:24 +01:00
|
|
|
#crop_editor input[type=number] {
|
2023-03-11 14:31:44 +01:00
|
|
|
width: 75px;
|
2016-09-01 23:13:23 +02:00
|
|
|
background: #555;
|
|
|
|
color: #fff;
|
|
|
|
}
|
2020-12-17 13:05:24 +01:00
|
|
|
#crop_editor input[type=checkbox] {
|
|
|
|
vertical-align: middle;
|
2016-09-01 23:13:23 +02:00
|
|
|
}
|
|
|
|
.crop_position {
|
2020-11-23 12:22:05 +01:00
|
|
|
background: rgba(0, 0, 0, 1.0);
|
|
|
|
border: none;
|
2016-09-01 23:13:23 +02:00
|
|
|
padding: 5px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.crop_position input, .crop_position .btn {
|
|
|
|
margin: 0 5px;
|
|
|
|
}
|
2020-12-17 20:48:11 +01:00
|
|
|
|
|
|
|
.crop_image_container {
|
|
|
|
position: relative;
|
|
|
|
flex-grow: 1;
|
|
|
|
max-height: calc(100% - 34px);
|
|
|
|
}
|
2016-09-01 23:13:23 +02:00
|
|
|
.crop_image_container img {
|
2020-12-17 20:48:11 +01:00
|
|
|
border: 1px solid #000;
|
|
|
|
max-height: 100%;
|
2016-09-01 23:13:23 +02:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
#crop_boundary {
|
2020-11-23 12:22:05 +01:00
|
|
|
border: 1px dashed rgb(255, 255, 255);
|
|
|
|
background: rgba(255, 255, 255, 0.4);
|
2020-11-23 20:36:46 +01:00
|
|
|
cursor: move;
|
2016-09-01 23:13:23 +02:00
|
|
|
position: absolute;
|
|
|
|
z-index: 200;
|
|
|
|
width: 500px;
|
|
|
|
height: 300px;
|
|
|
|
top: 400px;
|
|
|
|
left: 300px;
|
|
|
|
}
|