Yuki Takei 2 лет назад
Родитель
Сommit
9d21d68fba

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

@@ -1,4 +1,4 @@
-@use '~/styles/atoms/buttons';
+@use '~/styles/atoms/placeholders/buttons';
 
 :root {
   .complete-user-registration-form :global {

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

@@ -1,4 +1,4 @@
-@use '~/styles/atoms/buttons';
+@use '~/styles/atoms/placeholders/buttons';
 
 :root {
   .installer-form :global {

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

@@ -1,6 +1,6 @@
 @use '@growi/core/scss/bootstrap/init' as bs;
 
-@use '~/styles/atoms/buttons';
+@use '~/styles/atoms/placeholders/buttons';
 
 .login-form :global {
   // To adjust the behavior, this problem is not solved.

+ 0 - 11
apps/app/src/styles/atoms/_buttons.scss → apps/app/src/styles/atoms/placeholders/_buttons.scss

@@ -1,16 +1,5 @@
 @use '@growi/core/scss/bootstrap/init' as bs;
 
-@use '../mixins';
-
-// define disabled button w/o pointer-events, see _override-bootstrap.scss
-.btn.disabled,
-.btn[disabled],
-fieldset[disabled] .btn {
-  &.grw-pointer-events-none {
-    pointer-events: none;
-  }
-}
-
 %btn-nologin {
   transition: 0.8s ease;
   --bs-btn-border-color: #{rgba(white, 0.1)};

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

@@ -4,7 +4,6 @@
 @import 'mixins';
 
 // atoms
-@import 'atoms/buttons';
 @import 'atoms/custom_control';
 @import 'atoms/code';
 @import 'atoms/tag';