Skip to content

Commit

Permalink
Move common declarations to the common css file
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Oct 18, 2024
1 parent 9d30a17 commit 629f060
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 40 deletions.
22 changes: 1 addition & 21 deletions src/web/confirm.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
fluent-card {
margin-top: 20px;
padding-bottom: 20px;
padding-left: 10px;
padding-right: 10px;
}

fluent-divider {
margin: 1em 0;
}

.heading-container {
display: flex;
align-items: center;
Expand All @@ -32,15 +21,6 @@ fluent-divider {
color:red;
}

.button-container {
margin-top: 20px;
text-align: right;
}

#cancel-button {
margin-left: 10px;
}

/* fluent-dialog {
--dialog-background-color: red;
background: red !important;
Expand Down Expand Up @@ -86,4 +66,4 @@ fluent-dialog .newly-added-domain-content strong {

.new-domain-button-container {
margin-top: 20px;
}
}
16 changes: 0 additions & 16 deletions src/web/count-down.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
fluent-card {
margin-top: 20px;
padding-bottom: 20px;
padding-left: 10px;
padding-right: 10px;
}

#count {
font-size: x-large;
}

.button-container {
margin-top: 20px;
text-align: right;
}

#cancel-button {
margin-left: 10px;
}
27 changes: 24 additions & 3 deletions src/web/dialog.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
fluent-card {
margin-top: 20px;
padding-bottom: 20px;
padding-left: 10px;
padding-right: 10px;
}

fluent-divider {
margin: 1em 0;
}

.card-container {
display: flex;
flex-direction: column;
Expand All @@ -8,6 +19,12 @@
width: 100%;
}

.cards,
.button-container {
padding-left: 20px;
padding-right: 20px;
}

.cards {
align-items: stretch;
display: flex;
Expand All @@ -16,8 +33,12 @@
overflow: auto;
}

.cards,
.button-container {
padding-left: 20px;
padding-right: 20px;
padding-bottom: 10px;
margin-top: 20px;
text-align: right;
}

#cancel-button {
margin-left: 10px;
}

0 comments on commit 629f060

Please sign in to comment.