Skip to content

Instantly share code, notes, and snippets.

@poohitan
Created March 30, 2016 14:49
Show Gist options
  • Save poohitan/20edee8084eaeaaf1d6107a7589fdbc2 to your computer and use it in GitHub Desktop.
Save poohitan/20edee8084eaeaaf1d6107a7589fdbc2 to your computer and use it in GitHub Desktop.
$titleFontSize: 1.5em;
$buttonsContainerHeight: 2em;
$padding: 1em;
.push-response-banner[data-template="red"] {
background: #FFE8E8;
font-size: 1em;
color: #000;
border: 1px solid red;
padding: $padding;
.push-response-title-container {
height: 1em;
font-weight: bold;
font-size: $titleFontSize;
color: red;
}
.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 {
background-color: #fff;
border: 1px solid red;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment