Преглед изворни кода

[web] Migrate Writefull notification to BS5 (#21814)

* Migrate Writefull notification to BS5

* Remove unused writefull classes in LESS file

GitOrigin-RevId: ed993df5e4f1abdfd7784308dda90e6596da60cf
Antoine Clausse пре 1 година
родитељ
комит
6b45dab5ad

+ 1 - 0
services/web/frontend/stylesheets/bootstrap-5/modules/all.scss

@@ -1 +1,2 @@
 @import 'symbol-palette';
+@import 'writefull';

+ 12 - 0
services/web/frontend/stylesheets/bootstrap-5/modules/writefull.scss

@@ -0,0 +1,12 @@
+.writefull-loading-bar {
+  font-size: var(--font-size-02);
+  height: 40px;
+  justify-content: center;
+}
+
+.writefull-error-notification {
+  margin: 48px 64px;
+  width: 100%;
+  max-width: 520px;
+  text-align: left;
+}

+ 0 - 18
services/web/frontend/stylesheets/modules/writefull.less

@@ -1,6 +1,3 @@
-.writefull-logo-bg {
-  background-color: #fff;
-}
 .writefull-loading-bar {
   font-size: @font-size-small;
   height: 40px;
@@ -13,18 +10,3 @@
   max-width: 520px;
   text-align: left;
 }
-
-.writefull-disclosure-summary {
-  display: flex;
-  align-items: center;
-  cursor: pointer;
-  color: @blue-50;
-  user-select: none;
-}
-
-.editor-notification a.wf-promotion-link {
-  text-decoration: none;
-  &:hover {
-    text-decoration: underline;
-  }
-}