Yuki Takei 1 год назад
Родитель
Сommit
3a8b458309

+ 2 - 2
apps/app/src/components/DescendantsPageListModal.module.scss

@@ -1,7 +1,7 @@
 .grw-descendants-page-list-modal :global {
 .grw-descendants-page-list-modal :global {
   .modal-header {
   .modal-header {
     button.btn-close {
     button.btn-close {
-      margin: auto 0rem auto auto;
+      margin: auto 0 auto auto;
     }
     }
   }
   }
 
 
@@ -13,6 +13,6 @@
     max-height: calc(100vh - 100px);
     max-height: calc(100vh - 100px);
   }
   }
   ul.pagination {
   ul.pagination {
-    margin-bottom: 0rem;
+    margin-bottom: 0;
   }
   }
 }
 }

+ 1 - 0
apps/app/src/components/PageContentFooter.module.scss

@@ -6,6 +6,7 @@
     font-size: 0.95em;
     font-size: 0.95em;
   }
   }
 }
 }
+
 // TODO: Should Soft Coding see: https://github.com/weseek/growi/pull/6404
 // TODO: Should Soft Coding see: https://github.com/weseek/growi/pull/6404
 .page-content-footer-skeleton :global {
 .page-content-footer-skeleton :global {
   width: 300px;
   width: 300px;

+ 1 - 2
apps/app/src/components/PagePresentationModal.module.scss

@@ -1,8 +1,7 @@
 @use '~/styles/_modal';
 @use '~/styles/_modal';
 
 
 .grw-presentation-modal :global {
 .grw-presentation-modal :global {
-
-  @include modal.expand-modal-fullscreen(false, false, 0px);
+  @include modal.expand-modal-fullscreen(false, false, 0);
 
 
   .modal-content {
   .modal-content {
     background-color: transparent;
     background-color: transparent;

+ 1 - 1
apps/app/src/components/PageStatusAlert.module.scss

@@ -4,7 +4,7 @@
 .grw-page-status-alert :global {
 .grw-page-status-alert :global {
   $margin-bottom: var.$grw-navbar-bottom-height + 10px;
   $margin-bottom: var.$grw-navbar-bottom-height + 10px;
 
 
-  box-shadow: 0px 2px 4px #0000004d;
+  box-shadow: 0 2px 4px #0000004d;
   opacity: 0.9;
   opacity: 0.9;
 
 
   @include bs.media-breakpoint-down(sm) {
   @include bs.media-breakpoint-down(sm) {

+ 1 - 0
apps/app/src/components/SearchTypeahead.module.scss

@@ -3,6 +3,7 @@
 .search-typeahead :global {
 .search-typeahead :global {
   position: relative;
   position: relative;
   width: 100%;
   width: 100%;
+
   // corner radius
   // corner radius
   border-top-right-radius: bs.$border-radius;
   border-top-right-radius: bs.$border-radius;
   border-bottom-right-radius: bs.$border-radius;
   border-bottom-right-radius: bs.$border-radius;

+ 9 - 5
apps/app/src/components/ShortcutsModal.module.scss

@@ -25,20 +25,22 @@
 
 
   // see http://coliss.com/articles/build-websites/operation/css/css-apple-keyboard-style-by-nrjmadan.html
   // see http://coliss.com/articles/build-websites/operation/css/css-apple-keyboard-style-by-nrjmadan.html
   .key {
   .key {
-    /*Box Properties*/
+    /* Box Properties */
     display: inline-block;
     display: inline-block;
     width: 36px;
     width: 36px;
     height: 36px;
     height: 36px;
-    margin: 0px 4px;
-    /*Text Properties*/
+    margin: 0 4px;
+
+    /* Text Properties */
     font: 18px/36px Helvetica, serif;
     font: 18px/36px Helvetica, serif;
     color: bs.$secondary;
     color: bs.$secondary;
     text-align: center;
     text-align: center;
     text-transform: uppercase;
     text-transform: uppercase;
     background: white;
     background: white;
     border-radius: 4px;
     border-radius: 4px;
-    box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.5);
-    /* SVG Properties*/
+    box-shadow: 0 1px 3px 1px rgb(0 0 0 / 50%);
+
+    /* SVG Properties */
     polygon {
     polygon {
       fill: bs.$secondary;
       fill: bs.$secondary;
     }
     }
@@ -63,9 +65,11 @@
       display: flex;
       display: flex;
       align-items: center;
       align-items: center;
       justify-content: flex-end;
       justify-content: flex-end;
+
       // width: 180px;
       // width: 180px;
       height: 41px;
       height: 41px;
     }
     }
+
     // dd {
     // dd {
     //   margin-left: 190px;
     //   margin-left: 190px;
     // }
     // }

+ 0 - 1
apps/app/src/components/TableOfContents.module.scss

@@ -5,7 +5,6 @@
   z-index: 1;
   z-index: 1;
   padding: 5px;
   padding: 5px;
   font-size: 0.9em;
   font-size: 0.9em;
-
   border-bottom: 1px solid transparent;
   border-bottom: 1px solid transparent;
 
 
   .revision-toc-content {
   .revision-toc-content {

+ 1 - 0
apps/app/src/components/TagList.module.scss

@@ -17,6 +17,7 @@
     }
     }
   }
   }
 }
 }
+
 @include bs.color-mode(dark) {
 @include bs.color-mode(dark) {
   .grw-tag-list :global {
   .grw-tag-list :global {
     .grw-tag-count {
     .grw-tag-count {

+ 3 - 1
apps/app/src/components/UsersHomepageFooter.module.scss

@@ -1,4 +1,5 @@
 @use '@growi/ui/scss/molecules/page_list';
 @use '@growi/ui/scss/molecules/page_list';
+
 $grw-sidebar-content-header-height: 58px;
 $grw-sidebar-content-header-height: 58px;
 $grw-sidebar-content-footer-height: 50px;
 $grw-sidebar-content-footer-height: 50px;
 
 
@@ -28,8 +29,9 @@ $grw-sidebar-content-footer-height: 50px;
           width: 20px;
           width: 20px;
           height: 20px;
           height: 20px;
         }
         }
+
         min-height: 40px;
         min-height: 40px;
-        border-radius: 0px;
+        border-radius: 0;
 
 
         &.grw-bookmark-item-list {
         &.grw-bookmark-item-list {
           .picture {
           .picture {

+ 1 - 2
apps/app/src/styles/_layout.scss

@@ -1,5 +1,4 @@
 @use '@growi/core-styles/scss/bootstrap/init' as bs;
 @use '@growi/core-styles/scss/bootstrap/init' as bs;
-
 @use './variables' as var;
 @use './variables' as var;
 
 
 body {
 body {
@@ -74,7 +73,7 @@ body {
     padding: 30px;
     padding: 30px;
   }
   }
 
 
-  a:after {
+  a::after {
     display: none !important;
     display: none !important;
   }
   }
 
 

+ 3 - 1
apps/app/src/styles/_modal.scss

@@ -16,14 +16,16 @@
   .modal-body {
   .modal-body {
     $modal-header: 54px;
     $modal-header: 54px;
     $modal-footer: 46px;
     $modal-footer: 46px;
+    $margin-body: 0;
 
 
-    $margin-body: 0px;
     @if $hasModalHeader {
     @if $hasModalHeader {
       $margin-body: $margin-body + $modal-header;
       $margin-body: $margin-body + $modal-header;
     }
     }
+
     @if $hasModalFooter {
     @if $hasModalFooter {
       $margin-body: $margin-body + $modal-footer;
       $margin-body: $margin-body + $modal-footer;
     }
     }
+
     height: calc(100% - #{$margin-body});
     height: calc(100% - #{$margin-body});
   }
   }
 }
 }

+ 1 - 1
apps/app/src/styles/_share-link.scss

@@ -1,6 +1,6 @@
 @use './mixins';
 @use './mixins';
 
 
-@include mixins.share-link() {
+@include mixins.share-link {
   .d-share-link-none {
   .d-share-link-none {
     display: none !important;
     display: none !important;
   }
   }

+ 0 - 2
apps/app/src/styles/_variables.scss

@@ -7,7 +7,5 @@ $grw-marker-green: #6f6;
 
 
 //== Layout
 //== Layout
 $grw-sidebar-nav-width: 48px;
 $grw-sidebar-nav-width: 48px;
-
 $grw-navbar-bottom-height: 62px;
 $grw-navbar-bottom-height: 62px;
-
 $grw-scroll-margin-top-in-view: 130px;
 $grw-scroll-margin-top-in-view: 130px;

+ 3 - 3
apps/app/src/styles/style-app.scss

@@ -1,6 +1,5 @@
 @import '@growi/core-styles/scss/helpers/flex-expand';
 @import '@growi/core-styles/scss/helpers/flex-expand';
 @import '@growi/core-styles/scss/helpers/rotate';
 @import '@growi/core-styles/scss/helpers/rotate';
-
 @import 'mixins';
 @import 'mixins';
 
 
 // atoms
 // atoms
@@ -12,6 +11,7 @@
 // molecules
 // molecules
 @import 'molecules/toastr';
 @import 'molecules/toastr';
 @import 'molecules/list-group-item';
 @import 'molecules/list-group-item';
+
 // @import 'molecules/duplicated-paths-table.scss';
 // @import 'molecules/duplicated-paths-table.scss';
 
 
 // organisms
 // organisms
@@ -83,13 +83,13 @@
 }
 }
 
 
 .cmd-key.mac {
 .cmd-key.mac {
-  &:after {
+  &::after {
     content: '⌘';
     content: '⌘';
   }
   }
 }
 }
 
 
 .cmd-key.win {
 .cmd-key.win {
-  &:after {
+  &::after {
     content: 'Ctrl';
     content: 'Ctrl';
   }
   }
 }
 }

+ 0 - 1
apps/app/src/styles/vendor.scss

@@ -1,5 +1,4 @@
 @import '@growi/core-styles/scss/bootstrap/apply';
 @import '@growi/core-styles/scss/bootstrap/apply';
-
 @import '@growi/ui/dist/style';
 @import '@growi/ui/dist/style';
 
 
 // react-bootstrap-typeahead
 // react-bootstrap-typeahead