mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-19 00:15:44 +03:00
Style button & modal
This commit is contained in:
parent
d4ff753655
commit
8d63e8d4e6
4 changed files with 84 additions and 38 deletions
|
@ -56,49 +56,29 @@ body.single.single-5ftf_pledge {
|
|||
|
||||
.report-wrapper {
|
||||
margin-bottom: 1em;
|
||||
|
||||
a {
|
||||
color: $color-alert-red;
|
||||
}
|
||||
}
|
||||
|
||||
.edit-pledge-wrapper .button {
|
||||
padding-right: 4px;
|
||||
text-decoration: none;
|
||||
color: $color__wp-blue;
|
||||
font-size: 1rem;
|
||||
|
||||
&:hover {
|
||||
border-bottom: 1px solid currentColor;
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint( $breakpoint-tablet ) {
|
||||
display: grid;
|
||||
grid-template-columns: 50% 50%;
|
||||
display: flex;
|
||||
|
||||
#toggle-management-link-form,
|
||||
#request-management-link {
|
||||
float: right;
|
||||
clear: both;
|
||||
.report-wrapper {
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#request-management-link {
|
||||
width: 300px;
|
||||
border: 1px solid #ebeced; // setup var
|
||||
box-shadow: rgba(25, 30, 35, 0.1) 0 3px 30px;
|
||||
margin-top: 20px;
|
||||
padding: 15px;
|
||||
|
||||
// todo add the upper ^ carot thing
|
||||
// border-radius or something to draw triangle
|
||||
// element inside the box, but then abs position outside it?
|
||||
// z-index above parent so it's above box-shadow - probably happens by default?
|
||||
|
||||
p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
input[type="email"] {
|
||||
width: 100%;
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
|
||||
input[type="submit"] {
|
||||
float: right;
|
||||
clear: both;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#form-messages {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue