Skip to content

Commit 5766752

Browse files
committed
New styles list to apply theme style variations, commonly used for typography and color palette themed styles.
Added configurable media breakpoints, defaults set to bootstrap 5 breakpoints. Code editor code highlight for the active element when selecting an element. Svg image component support for custom svg image from media library and svg code edit input. Replaced default color picker with coloris for full rgba support Code mirror theme changed to duotone, added search plugin to allow search in html and css code. Landing theme update. UI improvements * Moved responsive controls into a dropdown for a cleaner toolbar * Added a "New Section" button next to the "New Page" button * Added a "new section area" at the end of the edited page for faster layout building * Moved CSS editor into a tab in the code editor
1 parent 078fe4f commit 5766752

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+19825
-13833
lines changed

css/editor.css

Lines changed: 574 additions & 287 deletions
Large diffs are not rendered by default.

css/vvvebjs-editor-helpers.css

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,35 @@ Prevents iframe mouse events that prevents clicking on the component
8989
.vvveb-hidden {
9090
display: none !important; }
9191

92+
body.vvveb-hidden {
93+
display: unset !important; }
94+
body.vvveb-hidden .vvveb-hidden, body.vvveb-hidden .d-none, body.vvveb-hidden .invisible {
95+
display: unset !important;
96+
visibility: visible !important;
97+
overflow: hidden;
98+
position: relative; }
99+
body.vvveb-hidden .vvveb-hidden::after, body.vvveb-hidden .d-none::after, body.vvveb-hidden .invisible::after {
100+
content: "Hidden";
101+
position: absolute;
102+
left: 0px;
103+
top: 0px;
104+
width: 100%;
105+
height: 100%;
106+
padding-top: 5px;
107+
font-weight: 600;
108+
font-size: 12px;
109+
text-align: center;
110+
background: rgba(252, 252, 252, 0.85);
111+
background: rgba(var(--bs-body-bg-rgb), 0.85);
112+
border: 1px dashed #999;
113+
border: 1px dashed var(--bs-border-color);
114+
overflow: hidden;
115+
display: flex;
116+
align-items: center;
117+
justify-content: center; }
118+
body.vvveb-hidden .vvveb-hidden:hover::after, body.vvveb-hidden .d-none:hover::after, body.vvveb-hidden .invisible:hover::after {
119+
display: none; }
120+
92121
section .container div > .row > [class*="col-"]:empty,
93122
section .container div > .row > .col:empty,
94123
section .container > .row > [class*="col-"]:empty,
@@ -130,3 +159,30 @@ section:hover .container-fluid > .row > .col {
130159
.row:hover > .col {
131160
outline: 1px dashed rgba(var(--bs-success-rgb), 0.35);
132161
outline-offset: -2px; }
162+
163+
#vvvebjs-new-section {
164+
background: #f8f9fa;
165+
background: var(--bs-tertiary-bg);
166+
display: block; }
167+
#vvvebjs-new-section .col {
168+
justify-content: center;
169+
display: flex;
170+
flex-wrap: wrap;
171+
width: 100%;
172+
background: #fff;
173+
background: var(--bs-body-bg);
174+
border: 1px dashed #ccc; }
175+
#vvvebjs-new-section button {
176+
margin: 0.5rem;
177+
background: #0030C0;
178+
padding: 0.4rem 2.5rem;
179+
color: #fff;
180+
font-size: 14px;
181+
border-radius: 3px;
182+
border-color: #0030C0;
183+
border-width: 1px; }
184+
#vvvebjs-new-section .container,
185+
#vvvebjs-new-section .row,
186+
#vvvebjs-new-section .col {
187+
padding: 1rem;
188+
justify-content: center; }

demo/landing

Submodule landing updated 1044 files

0 commit comments

Comments
 (0)