PluginProbe
Elementor Website Builder – more than just a page builder / 3.8.0-beta1
Elementor Website Builder – more than just a page builder v3.8.0-beta1
4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 All 457 releases
elementor / app / assets / js / app.scss

app.scss in Elementor Website Builder – more than just a page builder 3.8.0-beta1, at app/assets/js/app.scss

121 lines 2.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import "./app-api";
2 @import "../styles/base";
3
4 .#{$eps-prefix}app {
5 display: flex;
6 height: 100vh;
7 flex-direction: column;
8 color: var(--body-color);
9 background-color: var(--app-background-color);
10 position: absolute;
11 border-radius: $app-radius;
12 box-shadow: $eps-box-shadow-3;
13 overflow: hidden;
14 font-family: $eps-font-family; // todo: we have body definition for font familiy,consider removing
15 width: 100%;
16 max-width: $app-max-width;
17
18 &__lightbox {
19 display: flex;
20 align-items: center;
21 justify-content: center;
22 position: fixed;
23 height: 100%;
24 width: 100%;
25 background-color: var(--app-lightbox-background-color);
26 z-index: $app-lightbox-z-index;
27 bottom: 0;
28 left: 0;
29 }
30
31 &__header {
32 flex-shrink: 0;
33 font-size: $app-header-font-size;
34 color: var(--app-header-color);
35 background-color: var(--app-header-background-color);
36 box-shadow: $app-header-box-shadow;
37 position: relative;
38 z-index: $app-header-z-index;
39 height: $app-header-height;
40 padding: $app-header-padding-y $spp-header-padding-x;
41 }
42
43 &__header-buttons {
44 display: flex;
45 align-items: center;
46 flex-direction: row-reverse;
47 font-size: $app-header-buttons-font-size;
48 }
49
50 &__header-btn {
51 --button-background-color: var(--app-header-buttons-color);
52 padding-inline-start: $app-header-btn-padding-x;
53 font-size: $app-header-btn-font-size;
54 line-height: $app-header-btn-line-height;
55
56 &:first-child {
57 border-inline-start: 1px solid var(--app-header-buttons-separator-color);
58 }
59
60 &:not(:first-child) {
61 padding-inline-end: $app-header-btn-padding-x;
62 }
63 }
64
65
66 &__logo-title-wrapper {
67 display: flex;
68 align-items: center;
69 }
70
71 //todo: consider refactoring as a stand alone block.
72 &__logo {
73 display: block;
74 width: $app-logo-size;
75 height: $app-logo-size;
76 line-height: $app-logo-size;
77 text-align: center;
78 font-size: $app-logo-font-size;
79 border-radius: $app-logo-radius;
80 color: $app-logo-color;
81 background-color: $app-logo-background-color;
82
83 &:not(:last-child) {
84 margin-inline-end: $app-logo-margin-end;
85 }
86 }
87
88 //todo: consider refactoring as logo element.
89 &__title {
90 font-size: $app-title-font-size;
91 font-weight: $app-title-font-weight;
92 text-transform: uppercase;
93 margin-bottom: 0;
94 }
95
96 &__main {
97 display: flex;
98 overflow: hidden;
99 flex-grow: 1;
100 }
101
102 &__sidebar {
103 background-color: var(--app-sidebar-background-color);
104 padding-top: $app-sidebar-padding-top;
105 width: $app-sidebar-width;
106 max-width: $app-sidebar-max-width;
107 flex-grow: 0;
108 overflow-y: auto;
109 box-shadow: $app-sidebar-box-shadow;
110 z-index: $app-sidebar-z-index;
111 }
112
113 &__content {
114 flex-grow: 1;
115 position: relative;
116 padding: $app-content-padding;
117 height: 100%;
118 overflow-y: auto;
119 }
120 }
121