This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from cagov/1.0.10
1.0.10
- Loading branch information
Showing
8 changed files
with
747 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,115 @@ | ||
cagov-accordion.prog-enhanced button[aria-expanded="true"] + .accordion-card-container { | ||
.edit-post-visual-editor cagov-accordion.prog-enhanced button[aria-expanded="true"]+.accordion-card-container { | ||
min-height: 100px; | ||
} | ||
|
||
/* accordion component specific classes */ | ||
.edit-post-visual-editor cagov-accordion ..edit-post-visual-editor cagov-accordion-card { | ||
border-radius: .3rem !important; | ||
margin-bottom: 0; | ||
min-height: 3rem; | ||
margin-top: .5rem; | ||
border: solid 1px #ededef !important; | ||
} | ||
|
||
.edit-post-visual-editor cagov-accordion .accordion-card-container { | ||
display: block; | ||
overflow: hidden; | ||
} | ||
|
||
.edit-post-visual-editor cagov-accordion button.accordion-card-header { | ||
display: flex; | ||
justify-content: left; | ||
align-items: center; | ||
padding: 0 0 0 1rem; | ||
background-clip: border-box; | ||
background-color: #EDEDEF; | ||
border: none; | ||
position: relative; | ||
width: 100%; | ||
line-height: 3rem; | ||
} | ||
|
||
.edit-post-visual-editor cagov-accordion button.accordion-card-header *, | ||
.edit-post-visual-editor cagov-accordion .accordion-title { | ||
text-align: left; | ||
margin-bottom: 0; | ||
color: var(--primary-color, #064E66); | ||
margin-right: auto; | ||
width: 90%; | ||
padding: 0 0.5rem 0 0 !important; | ||
font-size: 1.125rem; | ||
font-weight: bold; | ||
} | ||
|
||
.edit-post-visual-editor cagov-accordion.prog-enhanced .accordion-card-container { | ||
height: 0px; | ||
transition: height 0.3s ease; | ||
} | ||
|
||
.edit-post-visual-editor cagov-accordion.prog-enhanced .accordion-card-container .card-body { | ||
padding-left: 1rem; | ||
} | ||
|
||
.edit-post-visual-editor cagov-accordion .collapsed { | ||
display: block; | ||
overflow: hidden; | ||
visibility: hidden; | ||
} | ||
|
||
.edit-post-visual-editor .accordion-title h4, | ||
.edit-post-visual-editor .accordion-title h3, | ||
.edit-post-visual-editor .accordion-title h2 { | ||
padding: 0 !important; | ||
margin-top: 0 !important; | ||
margin-bottom: 0 !important; | ||
font-size: 1.2rem !important; | ||
font-weight: 700; | ||
color: var(--primary-color, #064E66); | ||
text-align: left !important; | ||
} | ||
|
||
.edit-post-visual-editor button.accordion-card-header:hover { | ||
background-color: var(--hover-color, #F9F9FA); | ||
} | ||
|
||
.edit-post-visual-editor button.accordion-card-header:hover .accordion-title { | ||
text-decoration: underline; | ||
} | ||
|
||
.edit-post-visual-editor button.accordion-card-header:focus { | ||
outline-offset: -2px; | ||
} | ||
|
||
.edit-post-visual-editor .accordion-icon svg line { | ||
stroke-width: 4px; | ||
} | ||
|
||
.edit-post-visual-editor .prog-enhanced .accordion-alpha .plus-minus { | ||
width: 2.125rem; | ||
height: 2.125rem; | ||
border: none; | ||
overflow: hidden; | ||
margin-left: 1rem; | ||
color: var(--primary-color, #064E66); | ||
align-self: flex-start; | ||
} | ||
|
||
.edit-post-visual-editor .prog-enhanced .accordion-alpha .plus-minus svg { | ||
fill: var(--primary-color, #064E66); | ||
width: 25px; | ||
height: 25px; | ||
} | ||
|
||
.edit-post-visual-editor .prog-enhanced .accordion-alpha-open cagov-plus .accordion-icon { | ||
display: none !important; | ||
} | ||
|
||
.edit-post-visual-editor .prog-enhanced .accordion-alpha-open cagov-minus .accordion-icon { | ||
display: block !important; | ||
} | ||
|
||
@media only screen and (max-width: 767px) { | ||
.edit-post-visual-editor .accordion-alpha-open+.accordion-card-container { | ||
height: 100% !important; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* link underline not used in cannabis designs */ | ||
|
||
.edit-post-visual-editor a.cagov-card { | ||
text-decoration: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.