@phoenix-plugin-registry/swmitra.html-designer
Version:
NOW WITH RESPONSIVE DESIGN TOOLS (BETA)! Design and customize web ui with HTML and CSS. Now with taggable Design snippet/bookmark support.
490 lines (433 loc) • 8.58 kB
CSS
/* Change it to none/block to hide/show the html designer pane */
@-webkit-keyframes highlight-blink {
0% { outline-color:Blue; }
50% { outline-color:Transparent; }
100% { outline-color:Blue; }
}
.blinkinghighlight
{
outline: 2px solid Blue;
-webkit-animation: highlight-blink .5s ease-in infinite;
}
#status-bar {
overflow: visible ;
}
.forcedStatusBarInfoDarkTheme{
background: #484B4C ;
background: #2d2e30 ;
color: #288edf ;
}
.forcedDesignContentTheme{
right:0px ;
}
.forcedStatusBarIndicatorDarkTheme{
background: #484B4C ;
background: #2d2e30 ;
color: lightgray ;
}
#html-design-template{
background:#2d2e30;
height: 100%;
position: absolute;
top: 0;
width: 100%;
z-index: 20;
display:none;
overflow:hidden;
pointer-events: none;
border: 1px solid gray;
}
#widget-toolbox {
width: 44px ;
height: calc(100% - 9px) ;
background: #484B4C;
display: block;
left: 1px;
top: 0px;
margin-top: 1px ;
}
#design-toolbox-anchor{
position:absolute;
right:0px;
top:-1px;
border:1px solid gray;
width: 30px ;
height:calc(100% - 1px) ;
background: #2d2e30;
z-index:10;
pointer-events: all;
}
#design-modal-backdrop {
position:absolute;
right:0px;
top:0px;
width: 100% ;
height:100% ;
background: rgba(97, 99, 103, 0.24);
z-index:18;
pointer-events: all;
display:none;
}
#element-search-panel
{
background: #484B4C;
position:absolute;
left:24px;
width:calc(100% - 40px);
padding:5px;
padding-left: 10px;
display:none;
z-index:60;
top:24px;
height:28px;
}
#fragment-link-panel
{
background: #484B4C;
position:absolute;
left:24px;
width:calc(100% - 40px);
padding:5px;
padding-left: 10px;
display:none;
z-index:60;
top:24px;
height:28px;
}
#network-resource-bar {
background: #484B4C;
position:absolute;
left:24px;
width:calc(100% - 40px);
padding:5px;
padding-left: 10px;
display:none;
z-index:60;
top:24px;
height:28px;
}
#designer-content-placeholder{
max-width: calc(100% - 28px) ;
max-height: calc(100% - 28px) ;
}
#markup-editor-container .horz-resizer{
left: calc(100% - 1px) ;
top: 1px;
width: 1px;
}
#markup-editor-container .vert-resizer{
top: calc(100% - 1px) ;
left: 1px;
height: 1px;
}
#designer-content-placeholder .horz-resizer{
left: 100% ;
top: 1px;
width: 4px;
opacity: 1;
pointer-events: none;
}
#designer-content-placeholder .vert-resizer{
top: 100% ;
left: 1px;
height: 4px;
opacity: 1;
pointer-events: none;
}
.fluidGridPlane {
position:absolute;
top:0px;
left:0px;
width:100%;
height:100%;
pointer-events:none;
}
#htmldesignerIframe
{
padding:0px;
border: 0px;
width: 100% ;
height:100% ;
}
#htmldesignerShadowIframe
{
padding:0px;
border: 0px;
width: 100% ;
height:100% ;
display:none;
}
#mediaDetectionFrame
{
padding:0px;
border: 0px;
width: 100% ;
height:100% ;
display:none;
}
.designerArtBoard
{
/*position:absolute;*/
width:100%;
height:100%;
background:white;
}
.designContent
{
position:absolute;
height:100%;
width:100%;
}
#grid-settings-container {
position:absolute;
display: none;
align-items: center;
padding: 0px 5px;
color: rgb(211, 211, 211);
top:1px;
left:47px;
width: calc(100% - 92px) ;
height:26px;
background: #3c3f41;
overflow:visible;
pointer-events: all;
border:1px solid gray;
}
#grid-settings-container.fluidGridActivated
{
display: flex;
}
#html-design-editor
{
position:absolute;
top:1px;
left:47px;
border: 0px;
width: calc(100% - 103px) ;
height:calc(100% - 28px);
background: #3c3f41;
overflow:visible;
pointer-events: all;
transition: all 200ms;
}
#html-design-editor.fluidGridActivated
{
top:47px;
height:calc(100% - 77px);
}
#html-design-editor.toolboxDocked
{
width: calc(100% - 404px) ;
left:348px;
}
#grid-settings-container.toolboxDocked
{
width: calc(100% - 393px) ;
left:348px;
}
#docked-toolbox {
width: 297px ;
height: calc(100% - 12px) ;
background: #484B4C;
display: none;
left: 47px;
top: 0px;
margin-top: 1px ;
position: absolute;
z-index: 10;
border: 1px solid gray;
transition: all 200ms;
pointer-events: all;
}
#docked-toolbox.toolboxDocked {
display:block;
}
#docked-toolbox .toolboxCollapsed {
display:none ;
}
#docked-toolbox *.topcoat-button{
margin:0px;
}
#docked-toolbox *.propertyToolboxHeader .close {
transition: all 200ms;
}
#docked-toolbox *.propertyToolboxHeader .close.collapsed {
transform: rotate(180deg);
}
.eventListnerPane
{
position:absolute;
top:0px;
left:0px;
border: 0px;
width: 100% ;
height: 100% ;
}
.eventListnerPane.deactivated {
display:none ;
}
#scrollPlane
{
position:absolute;
top:0px;
left:0px;
border: 0px;
width: 100% ;
height:100% ;
overflow:auto;
}
#element-drawing-plane
{
position:absolute;
display: none;
top:23px;
left:23px;
border: 0px;
width: 100%/*calc(100% - 390px)*/ ;
height:100%/*calc(100% - 23px)*/;
cursor: crosshair;
}
#info-overlay-plane
{
position: absolute;
display: block;
top: 24px;
left: 24px;
border: 0px;
width: calc(100% - 24px);
height: calc(100% - 24px);
pointer-events: none;
overflow: hidden;
}
#info-overlay-plane.deactivated {
display: none;
}
#element-resize-plane
{
position:absolute;
display: none;
top:0px;
left:0px;
border: 0px;
width: 100%/*calc(100% - 390px)*/ ;
height:100%/*calc(100% - 23px)*/;
z-index: 15;
}
#split-view-anchor
{
left:40px;
position: absolute;
display:block;
height:6px;
width: 100% ;
bottom:0px;
left:0px;
border-top: 1px gray solid;
/*border-left: 1px gray solid;*/
background: #333;
z-index: 40;
}
#media-breakpoints
{
left:64px;
position: absolute;
display:block;
height:6px;
width: 100% ;
top:0px;
background: #333;
z-index: 40;
opacity: 0.9;
}
#active-breakpoint
{
width:1000px;
height:4px;
position:absolute;
left:0px;
top:1px;
background:#288edf;
}
#new-breakpoint
{
width:100% ;
height:4px ;
position:absolute ;
left:0px ;
top:1px ;
display:none;
}
#design-view-anchor
{
position: absolute;
height:100%;
width: 6px;
top:0px;
right:0px;
border: 1px gray solid;
background: #333;
z-index: 39;
}
.offsetVAxis{
height:0px;
border-top:1px dashed orange;
position:absolute;
width:100%;
display:none;
opacity:0.5;
margin-top: -24px;
}
.offsetHAxis{
width: :0px;
border-left:1px dashed orange;
position:absolute;
height:100%;
display:none;
opacity:0.5;
margin-left: -24px;
}
.multiSelectedElement {
margin-left: -24px;
margin-top: -24px;
}
.guidePlane {
margin-top: 24px ;
margin-left: 24px ;
top:0px;
left:0px;
pointer-events:none;
position:absolute;
height: 100%;
width:100%;
z-index: 40;
}
.activesplitViewEditor{
z-index:50;
outline:1px solid blue;
}
.splitViewEditor{
pointer-events: all;
position: absolute;
padding: 10px;
background-color: rgb(74, 77, 78);
top: 25%;
z-index: 49;
left: 203px;
height: 40%;
width: 50%;
display: none;
min-width:300px;
max-height:calc(100% - 24px) ;
}
@-webkit-keyframes cut-mask-blink {
0% { outline-color:red; }
50% { outline-color:Transparent; }
100% { outline-color:red; }
}
#cut-mask{
position:absolute;
display:none;
outline:1px dashed red;
pointer-events:all;
-webkit-animation: cut-mask-blink .2s ease-in infinite;
}