Skip to content

Commit 3e66507

Browse files
committed
MC-15083: Resolve performance issues
- Restore tinymce.css for usage within Page Builder
1 parent f0cdd06 commit 3e66507

File tree

1 file changed

+133
-0
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web/css/source/form/element

1 file changed

+133
-0
lines changed
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
/**
2+
* Copyright © Magento, Inc. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
5+
6+
@font-face {
7+
font-family: 'Open Sans';
8+
font-style: normal;
9+
font-weight: 300;
10+
src: url('../../../../fonts/opensans/light/opensans-300.woff2') format('woff2'), url('../../../../fonts/opensans/light/opensans-300.woff') format('woff');
11+
}
12+
13+
@font-face {
14+
font-family: 'Open Sans';
15+
font-style: normal;
16+
font-weight: 400;
17+
src: url('../../../../fonts/opensans/regular/opensans-400.woff2') format('woff2'), url('../../../../fonts/opensans/regular/opensans-400.woff') format('woff');
18+
}
19+
20+
@font-face {
21+
font-family: 'Open Sans';
22+
font-style: normal;
23+
font-weight: 600;
24+
src: url('../../../../fonts/opensans/semibold/opensans-600.woff2') format('woff2'), url('../../../../fonts/opensans/semibold/opensans-600.woff') format('woff');
25+
}
26+
27+
@font-face {
28+
font-family: 'Open Sans';
29+
font-style: normal;
30+
font-weight: 700;
31+
src: url('../../../../fonts/opensans/bold/opensans-700.woff2') format('woff2'), url('../../../../fonts/opensans/bold/opensans-700.woff') format('woff');
32+
}
33+
34+
h1 {
35+
color: #333;
36+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
37+
font-size: 40px;
38+
font-style: normal;
39+
font-weight: 300;
40+
line-height: 44px;
41+
margin-bottom: 40px;
42+
margin-top: 0px;
43+
}
44+
45+
h2 {
46+
color: #333;
47+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
48+
font-size: 26px;
49+
font-style: normal;
50+
font-weight: 300;
51+
line-height: 1.1;
52+
margin-bottom: 20px;
53+
margin-top: 25px;
54+
}
55+
56+
h3 {
57+
color: #333;
58+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
59+
font-size: 18px;
60+
font-style: normal;
61+
font-weight: 600;
62+
line-height: 1.1;
63+
margin-bottom: 10px;
64+
margin-top: 20px;
65+
}
66+
67+
h4 {
68+
color: #333;
69+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
70+
font-size: 14px;
71+
font-style: normal;
72+
font-weight: 700;
73+
line-height: 1.1;
74+
margin-bottom: 20px;
75+
margin-top: 20px;
76+
}
77+
78+
h5 {
79+
color: #333;
80+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
81+
font-size: 12px;
82+
font-style: normal;
83+
font-weight: 700;
84+
line-height: 1.1;
85+
margin-bottom: 20px;
86+
margin-top: 20px;
87+
}
88+
89+
h6 {
90+
color: #333;
91+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
92+
font-size: 10px;
93+
font-style: normal;
94+
font-weight: 700;
95+
line-height: 1.1;
96+
margin-bottom: 20px;
97+
margin-top: 20px;
98+
}
99+
100+
p {
101+
color: #333;
102+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
103+
font-size: 14px;
104+
font-style: normal;
105+
font-weight: 400;
106+
line-height: 20px;
107+
margin-bottom: 10px;
108+
}
109+
110+
pre {
111+
background-color: #f6f6f6;
112+
border: 1px solid #ccc;
113+
color: #111;
114+
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
115+
font-size: 12px;
116+
font-style: normal;
117+
font-weight: 400;
118+
line-height: 1.1;
119+
margin-bottom: 10px;
120+
padding: 10px;
121+
}
122+
123+
.cms-content-important {
124+
background-color: #f5f5f5;
125+
color: #333;
126+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
127+
font-size: 22px;
128+
font-style: normal;
129+
font-weight: 300;
130+
line-height: 1.1;
131+
margin: 0 0 35px -20px;
132+
padding: 20px;
133+
}

0 commit comments

Comments
 (0)