Skip to content

Instantly share code, notes, and snippets.

@poohitan
Created March 30, 2016 14:48
Show Gist options
  • Save poohitan/7e0d52c7c1918a5e25416328088623dd to your computer and use it in GitHub Desktop.
Save poohitan/7e0d52c7c1918a5e25416328088623dd to your computer and use it in GitHub Desktop.
$titleFontSize: 1.5em;
$buttonsContainerHeight: 2em;
$padding: 1em;
.push-response-banner[data-template="default"] {
background: #FAFAFA;
font-size: 1em;
color: #777;
border: 1px solid #DDD;
padding: $padding;
.push-response-title-container {
height: 1em;
font-weight: bold;
font-size: $titleFontSize;
}
.push-response-content-container {
display: flex;
}
.push-response-right-column-container {
padding-left: $padding;
}
.push-response-image-container {
max-height: calc(100vh / 3 - 2 * #{$padding});
}
.push-response-message-container {
max-height: calc(100vh / 3 - #{$titleFontSize} - #{$buttonsContainerHeight} - 4 * #{$padding});
margin-top: $padding / 2;
margin-bottom: $padding / 2 + $buttonsContainerHeight;
}
.push-response-buttons-container {
height: $buttonsContainerHeight;
.push-response-button-ok {
background-color: #535353;
color: #fff;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment