mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-05 10:25:45 +03:00
Theme: Rename file
SCSS files should use `-` as word separators
This commit is contained in:
parent
454962522d
commit
2b7fb6cd21
2 changed files with 1 additions and 1 deletions
67
themes/wporg-5ftf/css/components/_my-pledges.scss
Normal file
67
themes/wporg-5ftf/css/components/_my-pledges.scss
Normal file
|
@ -0,0 +1,67 @@
|
|||
body.page-my-pledges .entry-content {
|
||||
// move avatar and "pledge x hours" into place, align, etc
|
||||
|
||||
.avatar {
|
||||
display: none;
|
||||
|
||||
@include breakpoint($breakpoint-tablet) {
|
||||
display: block;
|
||||
// round corners
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fftf_pledge {
|
||||
text-align: center;
|
||||
margin-bottom: 25px;
|
||||
|
||||
.pledge-logo-container {
|
||||
display: block;
|
||||
background-color: #FAFAFA; // todo make var
|
||||
max-width: 80%;
|
||||
margin: 0 auto;
|
||||
|
||||
.attachment-pledge-logo {
|
||||
max-height: 100px;
|
||||
width: auto;
|
||||
// todo needs tweaking
|
||||
}
|
||||
}
|
||||
|
||||
.pledge-title a {
|
||||
text-decoration: underline;
|
||||
// font size etc
|
||||
}
|
||||
|
||||
.pledge-actions {
|
||||
input {
|
||||
display: block;
|
||||
margin: 1em auto;
|
||||
|
||||
&[name="decline_invitation"],
|
||||
&[name="leave_organization"] {
|
||||
color: #bf2b2b; // todo var
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@include breakpoint($breakpoint-tablet) {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
grid-template-areas: "logo name actions";
|
||||
text-align: left;
|
||||
|
||||
.pledge-logo-container {
|
||||
grid-area: logo;
|
||||
}
|
||||
|
||||
.pledge-title {
|
||||
grid-area: name;
|
||||
}
|
||||
|
||||
.pledge-actions {
|
||||
grid-area: actions;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue