Skip to content

Commit

Permalink
refactor: remove unused styles (#1065)
Browse files Browse the repository at this point in the history
  • Loading branch information
1emu committed Jul 4, 2023
1 parent 0270680 commit bc8d41b
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 47 deletions.
9 changes: 0 additions & 9 deletions src/components/Banner/Banner.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
align-content: stretch;
position: relative;
padding: 16px 16px 16px 20px;
background-color: transparent;
margin-bottom: 8px;
border-radius: 12px;
outline: 1px solid #0000000a;
Expand All @@ -29,14 +28,6 @@
flex-grow: 1;
}

.Banner .dg.Paragraph {
margin-bottom: 0;
}

.Banner .dg.Paragraph.Paragraph--tiny {
font-size: 15px;
}

.Banner > .dcl.close {
position: absolute;
top: 0;
Expand Down
12 changes: 0 additions & 12 deletions src/components/Category/CategoryOption.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@
background-color: var(--background-disabled);
}

.CategoryOption.CategoryOption--active .dg.Paragraph.Paragraph--semi-bold {
font-weight: var(--weight-semi-bold);
}

.CategoryOption.CategoryOption--catalyst:hover,
.CategoryOption.CategoryOption--catalyst.CategoryOption--active {
background-color: var(--background-catalyst);
Expand Down Expand Up @@ -75,14 +71,6 @@
background-color: var(--background-poll);
}

.CategoryOption .dg.Paragraph {
margin-bottom: 0;
}

.CategoryOption .dg.Paragraph.Paragraph--tiny {
font-size: 15px;
}

.CategoryOption__Counter {
font-weight: var(--weight-semi-bold);
font-size: 10px;
Expand Down
8 changes: 0 additions & 8 deletions src/components/GrantRequest/GrantRequestSection.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,6 @@
gap: 21px;
}

.GrantRequestSection__Sublabel,
.GrantRequestSection__Sublabel .dg.Paragraph {
font-weight: var(--weight-normal);
font-size: 15px;
line-height: 20px;
color: var(--black-600);
}

.GrantRequestSection__TitleSubLabel {
margin-bottom: 20px !important;
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/GrantRequest/GrantRequestSectionCard.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
min-height: 104px;
}

.dg.Link.Link--pointer.GrantRequestSectionCard {
.Link.Link--pointer.GrantRequestSectionCard {
cursor: default;
}

Expand All @@ -18,7 +18,7 @@
box-shadow: 0 1px 8px var(--red-100);
}

.dg.Link.Link--pointer.GrantRequestSectionCard__Hoverable {
.Link.Link--pointer.GrantRequestSectionCard__Hoverable {
cursor: pointer;
}

Expand Down
4 changes: 0 additions & 4 deletions src/components/Layout/ContentLayout.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
padding-bottom: 32px;
}

.ui.container.ContentLayout .ContentLayout__Section .dg.Paragraph.Paragraph--tiny {
font-size: 15px;
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
.ui.container.ContentLayout {
padding-top: 0px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.UpdateProposalStatusModal .dg.Paragraph {
font-size: 17px;
}

.content.ProposalModal__GrantTransaction {
margin: 24px auto !important;
width: 480px !important;
Expand Down
4 changes: 0 additions & 4 deletions src/components/Proposal/ProposalItem.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@
.ActionableLayout .ActionableLayout__Content .ui.card > .content {
padding: 12px;
}

.dg.Paragraph.Paragraph--small {
font-size: 14px;
}
}

.ProposalItem .ProposalItem__Title .ui.header:first-child {
Expand Down
4 changes: 0 additions & 4 deletions src/components/Proposal/Submit/CoAuthor/CoAuthors.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,3 @@
.CoAuthors__LabelContainer > :not(:first-child) {
margin-left: 5px;
}

.CoAuthors .dg.Paragraph.details {
margin-bottom: 20px !important;
}

0 comments on commit bc8d41b

Please sign in to comment.