mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
142 lines
2.2 KiB
SCSS
142 lines
2.2 KiB
SCSS
header {
|
|
@include boxPadding(0, 0);
|
|
height: 60px;
|
|
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
color: $headerTextColor;
|
|
background-color: $headerBgColor;
|
|
|
|
// Subheadline e.g. Reply Bar
|
|
&.sub {
|
|
height: 45px;
|
|
}
|
|
|
|
a {
|
|
display: inline-block;
|
|
|
|
color: $headerTextColor;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
font-weight: $baseFontBold;
|
|
|
|
&:hover { text-decoration: underline; }
|
|
|
|
// dpaste home link is a bit larger
|
|
&.home {
|
|
font-size: 28px;
|
|
font-weight: $baseFontHeavy;
|
|
|
|
}
|
|
|
|
// Nav links have a fixed width to align with grid
|
|
&.nav-link {
|
|
width: $columnWidth + $columnGap;
|
|
}
|
|
}
|
|
|
|
.btn {
|
|
width: 2 * $columnWidth;
|
|
margin-left: $columnGap / 2;
|
|
}
|
|
|
|
h1 {
|
|
position: relative;
|
|
font-size: 24px;
|
|
font-weight: $baseFontBold;
|
|
|
|
strong {
|
|
font-size: 28px;
|
|
font-weight: $baseFontHeavy;
|
|
}
|
|
}
|
|
|
|
h2 {
|
|
font-size: 16px;
|
|
font-weight: $baseFontBold;
|
|
}
|
|
}
|
|
|
|
|
|
ul#snippetOptions {
|
|
@include boxPadding(0, 0);
|
|
margin: 0;
|
|
height: 40px;
|
|
|
|
background-color: $metaBgColor;
|
|
color: $metaTextColor;
|
|
|
|
font-size: 13px;
|
|
font-weight: $baseFontRegular;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
a:link, a:visited {
|
|
color: $metaTextColor;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
a:hover, a:active {
|
|
color: $hoverColor;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
strong {
|
|
font-weight: $baseFontBold;
|
|
}
|
|
|
|
li {
|
|
margin: 0;
|
|
padding: 0 7px;
|
|
list-style: none;
|
|
|
|
&:first-child{ padding-left: 0; }
|
|
&:last-child{ padding-right: 0; }
|
|
}
|
|
|
|
li.sep {
|
|
@include separator($metaTextColor);
|
|
height: 17px;
|
|
margin: 0 2px 0 1px;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
#copyToClipboardField {
|
|
position: absolute;
|
|
left: -9999px;
|
|
}
|
|
|
|
#copyToClipboard svg {
|
|
height: 30px;
|
|
position: absolute;
|
|
top: -8px;
|
|
right: -40px;
|
|
|
|
&:active {
|
|
top: -7px;
|
|
}
|
|
}
|
|
|
|
.snippet-message {
|
|
@include boxPadding(20px, 0);
|
|
padding: 8px 20px;
|
|
|
|
max-width: 660px;
|
|
|
|
color: $messageTextColor;
|
|
background-color: $messageBgColor;
|
|
|
|
font-size: 14px;
|
|
font-weight: $baseFontDemiBold;
|
|
}
|
|
|
|
// Textarea that holds the unaltered snippet content to be copied to clipboard
|
|
#copySnippetSource {
|
|
width: 0;
|
|
position: absolute;
|
|
left: -9999px;
|
|
}
|