2020-06-22 10:31:54 +00:00
|
|
|
title: $:/plugins/tiddlywiki/consent-banner/styles
|
|
|
|
tags: $:/tags/Stylesheet
|
|
|
|
|
|
|
|
.tc-consent-backdrop {
|
|
|
|
z-index: 1999;
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2020-06-22 11:25:55 +00:00
|
|
|
background: <<colour consent-banner-backdrop-background>>;
|
2020-06-22 10:31:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-consent-banner-left {
|
|
|
|
z-index: 2000;
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
max-width: 500px;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-consent-banner {
|
|
|
|
padding: 1em;
|
2020-06-22 11:25:55 +00:00
|
|
|
background: <<colour consent-banner-background>>;
|
|
|
|
color: <<colour consent-banner-foreground>>;
|
2020-06-22 10:31:54 +00:00
|
|
|
box-shadow: 0 0 20px rgba(0,0,0,.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-consent-banner a.tc-tiddlylink-external {
|
|
|
|
text-decoration: underline;
|
2020-06-22 11:25:55 +00:00
|
|
|
color: <<colour consent-banner-link-foreground>>;
|
2020-06-22 10:31:54 +00:00
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-consent-banner a.tc-tiddlylink-external:visited {
|
2020-06-22 11:25:55 +00:00
|
|
|
color: <<colour consent-banner-link-foreground>>;
|
2020-06-22 10:31:54 +00:00
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-consent-banner hr {
|
|
|
|
clear: both;
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
text-align: left;
|
|
|
|
border: 0 none;
|
|
|
|
margin: 24px 0;
|
|
|
|
height: 1px;
|
|
|
|
max-height: 1px;
|
2020-06-22 11:25:55 +00:00
|
|
|
background: <<colour consent-banner-hr-background>>;
|
2020-06-22 10:31:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tc-consent-buttons {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-07-02 12:14:51 +00:00
|
|
|
.tc-consent-banner .tc-consent-button {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
2020-06-22 10:31:54 +00:00
|
|
|
.tc-consent-button {
|
2020-06-22 11:25:55 +00:00
|
|
|
border: 1px solid <<colour consent-banner-button-border>>;
|
2020-06-22 10:31:54 +00:00
|
|
|
margin-top: 1em;
|
|
|
|
padding: 0.75em 1.5em;
|
2020-06-22 11:25:55 +00:00
|
|
|
color: <<colour consent-banner-button-foreground>>;
|
|
|
|
background: <<colour consent-banner-button-background>>;
|
2020-06-22 10:31:54 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-consent-button:hover {
|
2020-06-22 11:25:55 +00:00
|
|
|
color: <<colour consent-banner-button-hover-foreground>>;
|
|
|
|
border-color: <<colour consent-banner-button-hover-border>>;
|
|
|
|
background: <<colour consent-banner-button-hover-background>>;
|
2020-06-22 10:31:54 +00:00
|
|
|
opacity: .6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-consent-button-default {
|
2020-06-22 11:25:55 +00:00
|
|
|
color: <<colour consent-banner-button-default-foreground>>;
|
|
|
|
background: <<colour consent-banner-button-default-background>>;
|
|
|
|
}
|
2020-07-02 12:14:51 +00:00
|
|
|
|
|
|
|
.tc-blocked-embedded-content {
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
color: <<colour background>>;
|
|
|
|
background: <<colour muted-foreground>>;
|
|
|
|
border: 1px solid <<colour foreground>>;
|
|
|
|
<<box-shadow "inset 0 0 8px rgba(0, 0, 0, 0.15)">>
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-blocked-embedded-content-inner {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-blocked-embedded-content-inner-inner {
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tc-blocked-embedded-content-inner-inner hr {
|
|
|
|
background: <<colour foreground>>;
|
|
|
|
height: 1px;
|
|
|
|
width: 80%;
|
|
|
|
border: none;
|
|
|
|
}
|