1414 * limitations under the License.
1515 */
1616
17- .tab-description {
18- .tab-list__tab {
19- .tab-hover {
20- & :hover ,
21- & .active {
22- color : var (--B500 );
23- .edit-yaml-icon {
24- path {
25- stroke : var (--B500 );
26- }
27- }
28- .terminal-icon {
29- path {
30- fill : var (--B500 );
31- }
32- }
33- }
34- }
35- .node-details__active-tab {
36- height : 2px ;
37- background-color : var (--B500 );
38- border-radius : 2px 2px 0px 0px ;
39- margin-top : -1px ;
40- }
41- }
42- }
43-
44- .cluster__body-details {
17+ .markdown-editor__wrapper {
4518 flex-basis : 100% ;
4619
4720 .pencil-icon :hover {
4821 color : var (--B500 );
4922 text-decoration : none ;
23+
5024 svg path {
5125 stroke : var (--B500 );
5226 }
5327 }
5428
55- .mark-down-editor-container {
56- border : 1px solid var (--N200 );
57- border-radius : 3px 3px 0 0 ;
58- font-family : ' Open Sans' , Arial , sans-serif !important ;
59- font-size : 13px !important ;
60- line-height : 1.67 ;
61-
62- .mark-down-editor-preview {
63- background-color : var (--bg-primary ) !important ;
64- }
65-
66- .mark-down-editor-textarea-wrapper {
67- border-radius : 3px !important ;
68- border : 1px solid var (--N200 ) !important ;
69- background-color : var (--bg-secondary ) !important ;
70- }
29+ .mark-down-editor__no-border {
30+ border : 0px ;
31+ }
7132
72- .mde-textarea-wrapper {
73- background-color : var (--bg-primary ) !important ;
74- padding : 10px !important ;
75- }
33+ .w-md-editor {
34+ background-color : transparent ;
35+ box-shadow : none ;
36+
37+ & -toolbar {
38+ border-bottom : 1px solid var (--border-primary );
39+ background-color : transparent ;
40+ padding-inline : 16px ;
41+ padding-block : 0px ;
42+ height : auto ;
43+
44+ li {
45+ .markdown-editor__tab-button {
46+ margin-block : 8px ;
47+ background-color : var (--bg-primary );
48+ font-size : 13px ;
49+ line-height : 20px ;
50+ text-align : center ;
51+ color : var (--N700 );
52+ margin-right : 8px ;
53+ }
7654
77- .mark-down-editor-toolbar {
78- justify-content : space-between !important ;
79- padding-left : 16px !important ;
80- padding-right : 16px !important ;
81- background-color : var (--bg-primary ) !important ;
82- border-bottom : 1px solid var (--N200 );
83- }
55+ & .active {
56+ position : relative ;
8457
85- .mde-header {
86- height : 36px !important ;
87- .mde-tabs {
88- height : inherit !important ;
89- button {
90- padding-left : 0px !important ;
91- padding-right : 0px !important ;
92- margin : 0 16px 0 0px !important ;
93- padding-top : 4px !important ;
94- }
95- .active-tab {
96- border-bottom : 2px solid var (--B500 ) !important ;
97- border-radius : 0px !important ;
58+ .markdown-editor__tab-button {
59+ font-size : 13px ;
60+ line-height : 20px ;
61+ text-align : center ;
62+ margin-right : 8px ;
63+ color : var (--B500 );
64+ }
9865 }
99- }
100- ul .mde-header-group {
101- height : inherit !important ;
102- display : flex !important ;
103- justify-content : center !important ;
104- align-items : center !important ;
105- padding-top : 0px !important ;
106- padding-bottom : 0px !important ;
107- padding-right : 0px !important ;
108- .mde-header-item button {
109- padding : 10px 4px !important ;
110- height : inherit !important ;
66+
67+ & .active ::after {
68+ content : ' ' ;
69+ position : absolute ;
70+ display : block ;
71+ width : 100% ;
72+ height : 2px ;
73+ background-color : var (--B500 );
74+ border-radius : 4px ;
75+ bottom : 0px ;
11176 }
11277 }
11378 }
11479
115- .mde-preview {
116- .mde-preview-content {
117- padding : 0px !important ;
118-
119- a {
120- color : var (--B500 );
121-
122- & .anchor {
123- color : var (--N900 );
80+ .w-md-editor-content {
81+ background : var (--bg-secondary );
82+ border-radius : 3px ;
83+ margin : 12px ;
84+ border : 1px solid var (--border-primary );
85+
86+ & :has (.w-md-editor-preview ) {
87+ background : var (--bg-primary );
88+ border-radius : 0px ;
89+ margin : 0px ;
90+ border : none ;
91+ }
12492
125- h1 ,
126- h2 ,
127- h3 {
128- border-bottom : 1px solid var (--N200 );
129- }
130- }
131- }
93+ .w-md-editor-preview {
94+ margin : 0px ;
95+ padding : 8px 0px ;
96+ }
13297
133- pre {
134- background-color : var (--bg-secondary );
98+ .w-md-editor-input {
99+ display : flex ;
100+ flex-direction : column ;
135101
136- // Would need to add theming to fix this altogether
137- > code {
138- color : var (--B700 );
139- background-color : var (--transparent );
140- border-radius : 1px ;
141- display : inline ;
142- margin : 0 ;
143- overflow : visible ;
144- line-height : inherit ;
145- word-wrap : normal ;
146- white-space : pre ;
147- border : 0 ;
148- padding : 0 ;
149- }
102+ .w-md-editor-text {
103+ flex-grow : 1 ;
150104 }
151105 }
152106 }
153-
154- .mark-down-editor__hidden {
155- display : none !important ;
156- }
157- }
158-
159- .mark-down-editor__no-border {
160- border : 0px ;
161- }
162-
163- .cluster__description-footer {
164- border-radius : 0 0 3px 3px ;
165- border : 1px solid var (--N200 );
166- border-top : 0px ;
167107 }
168- }
169-
170- .cluster__description-footer {
171- border-radius : 0 0 3px 3px ;
172- border : 1px solid var (--N200 );
173- }
174-
175- .create-app-description {
176- border-bottom : 1px solid var (--N200 ) !important ;
177- border-radius : 3px !important ;
178- }
108+ }
0 commit comments