Browse Source

theme design

night-cherry 3 tuần trước cách đây
mục cha
commit
d5951b7cb0
3 tập tin đã thay đổi với 8 bổ sung7 xóa
  1. 1 2
      component/approve/Login.vue
  2. 3 4
      component/approve/Register.vue
  3. 4 1
      style/index.css

+ 1 - 2
component/approve/Login.vue

@@ -17,12 +17,11 @@ export default {
 </div>
 </template>
 <style scoped>
+@import url(../../style/common.css);
 .login{
   width:80%;
-  height:50%;
   display: flex;
   justify-content: center;
   align-items: center;
-  background-color: bisque;
 }
 </style>

+ 3 - 4
component/approve/Register.vue

@@ -18,19 +18,18 @@ export default {
     console.log("about vue component setup");
   },
   mounted(el){
+    import "../../style/common.css";
     console.log("about vue under mounted ---");
   }
 }
 </script>
 <style scoped>
+/* @import url(../../style/common.css); */
 .register{
   width:80%;
-  height:50%;
-  /* display: flex; */
+  display: flex;
   justify-content: center;
   align-items: center;
-  background-color: aqua;
-  backdrop-filter: blur(3px);
 }
 </style>
 

+ 4 - 1
style/index.css

@@ -41,7 +41,10 @@ dialog{
     border-radius: 15px;
     position: relative;
     background-color: var(--body-background-color);
-    opacity: 0.9;
+    opacity: 0.95;
+    display: flex;
+    justify-content: center;
+    align-items: center;
 }
 dialog::backdrop{
     /* background-color: #121929; */