Skip to content

Commit 7ebfb83

Browse files
authored
update addon stylin
1 parent b41ae1d commit 7ebfb83

1 file changed

Lines changed: 48 additions & 21 deletions

File tree

src/.app/style.css

Lines changed: 48 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,10 @@ label[for="post-title"] {
100100

101101

102102
input[type="image"] {
103-
width: 35px;
103+
width: -15px;
104104
height: auto;
105+
top: 60px;
106+
position: absolute;
105107
}
106108

107109

@@ -114,7 +116,7 @@ input[type="image"] {
114116

115117
input[type="image"] {
116118
position: absolute;
117-
top: 442px;
119+
top: 412px;
118120
float: right;
119121
right: 385px;
120122
z-index: 9999;
@@ -249,6 +251,7 @@ button:hover {
249251

250252
.post {
251253
margin-bottom: 15px;
254+
font-weight: lighter;
252255
}
253256

254257
.post h2 {
@@ -710,6 +713,7 @@ line-height: 16px;
710713
margin-left: 450px;
711714
word-wrap: break-word;
712715
margin-right: 2%;
716+
font-weight: lighter;
713717
}
714718

715719
svg {
@@ -766,27 +770,50 @@ svg {
766770

767771

768772
/* Styles for the modal container */
769-
.modal-container {
770-
display: none;
773+
/* Styles for the modal container */
774+
.modal-container {
775+
display: none;
776+
position: fixed;
777+
top: 0;
778+
left: 0;
779+
width: 100%;
780+
height: 100%;
781+
background-color: rgba(0, 0, 0, 0.5);
782+
justify-content: center;
783+
align-items: center;
784+
z-index: 999;
785+
backdrop-filter: blur(10px); /* Adjust the blur radius as needed */
786+
}
787+
788+
/* Styles for the modal content */
789+
.modal-content {
790+
background-color: #fff;
791+
padding: 20px;
792+
border-radius: 5px;
793+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
794+
}
795+
796+
797+
#showModalBtn {
771798
position: fixed;
772-
top: 0;
773-
left: 0;
774-
width: 100%;
775-
height: 100%;
776-
background-color: rgba(0, 0, 0, 0.5);
777-
justify-content: center;
778-
align-items: center;
779-
z-index: 999;
799+
bottom: 20px;
800+
right: 20px;
801+
background-color: transparent;
802+
border: none;
803+
cursor: pointer;
804+
z-index: 9999; /* Ensure the button is above other elements */
780805
}
781-
782-
/* Styles for the modal content */
783-
.modal-content {
784-
background-color: #fff;
785-
padding: 20px;
786-
border-radius: 5px;
787-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
806+
807+
#imageUploadImg {
808+
/* Existing styles */
809+
display: flex;
810+
justify-content: center;
811+
text-align: center;
812+
height: 60px;
813+
margin-top: -20px;
788814
}
789815

790-
#showModalBtn {
791-
816+
#draftSnippetText {
817+
margin-left: 40%;
818+
color: #6466E9;
792819
}

0 commit comments

Comments
 (0)