PortaleOrdiniGruppo/PortalStudio/templateeditor/frame.css
2025-03-24 15:28:26 +01:00

176 lines
3.2 KiB
CSS

@import url('../fonts/OpenSans.css');
@font-face {
font-family: 'iMobileIcon';
src: url('../fonts/iMobileIcon.eot');
/* IE9 Compat Modes */
src: local('iMobileIcon'), url('../fonts/iMobileIcon.eot#iMobileIcon') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/iMobileIcon.woff') format('woff'), /* Modern Browsers */
url('../fonts/iMobileIcon.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/iMobileIcon.svg#iMobileIcon') format('svg');
/* Legacy iOS */
}
body {
padding: 20px 0;
overflow: auto !important;
font-family: Open Sans;
font-size: 12px;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
.area_content .draggable:hover .icon_toolbar {
display: block;
}
.icon_toolbar {
position: absolute;
top: 4px;
right: 8px;
cursor: pointer;
display: none;
height: calc(100% - 2px);
background: #ECECEC;
top: 1px;
right: 1px;
padding: 2px 8px;
}
.icon_toolbar .icon-edit,
.icon_toolbar .icon-delete,
.icon_toolbar .icon-view {
display: block;
margin-bottom: 3px;
font-size: 15px;
font-weight: normal;
cursor: pointer;
}
.icon_toolbar .icon-edit::after {
font-family: 'iMobileIcon';
content: '\e603';
}
.icon_toolbar .icon-delete::after {
font-family: 'iMobileIcon';
content: '\e6a8';
}
.icon_toolbar .icon-view::after {
font-family: 'iMobileIcon';
content: '\e67f';
}
.tv_droppable:hover .icon_toolbar {
display: block;
}
.res_name {
margin: 0;
margin-left: 5px;
padding: 18px 12px 18px 58px;
text-align: center;
font-size: 12px;
font-weight: 600;
color: #676767;
background-repeat: no-repeat;
background-position: left center;
}
.area_container {
border: 1px dashed #CCC;
width: 100%;
overflow: auto;
color: #676767;
padding: 3px;
}
.area_header {
border: 1px solid #ECECEC;
background-color: #C3C3C3;
position: relative;
padding: 3px 4px;
height: 24px;
}
.area_label {
display: inline-block;
position: absolute;
left: 3px;
font-size: 11px;
font-weight: 600;
line-height: 16px;
vertical-align: top;
max-width: calc(100% - 20px);
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.area_content {
width: 100%;
height: 100%;
margin-top: 3px;
min-height: 32px;
overflow: hidden;
}
.area_content.active_area,
.area_container.active_area {
background-color: #E6FFE5;
}
.area_container.active_area {
border-color: #F00;
}
.icon-add {
display: inline-block;
right: 5px;
position: absolute;
margin-left: 2px;
font-size: 11px;
font-weight: normal;
font-style: normal;
cursor: pointer;
}
.area_header .icon-add::after {
font-family: 'iMobileIcon';
content: '\e702';
}
.area_content .draggable {
overflow: hidden;
margin-bottom: 3px;
}
.draggable .item {
background-color: #ECECEC;
border: 1px solid #C3C3C3;
overflow: hidden;
cursor: move;
min-height: 54px;
}
.draggable.active_node .item {
background-color: #AFFFAB;
}
.item .model_resources {
position: absolute;
bottom: 0;
right: 0;
color: #F03434;
font-size: 14px;
background-color: rgba(221, 221, 221, .5);
padding: 2px 5px;
border: 1px solid #C3C3C3;
}
.item.from_resources {
width: 100%;
cursor: default;
background-color: #FFECC9;
}