Commit a8537b89 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

ISTWCMS-3554: move CSS for cookie notice to theme

parent b5a69f24
#sliding-popup {
z-index: 99999;
text-align: center;
background:#fdd54f;
background:rgba(253,213,79,0.98);
left: 50%;
-webkit-transform: translate(-50%, -10%);
-moz-transform: translate(-50%, -10%);
-o-transform: translate(-50%, -10%);
-ms-transform: translate(-50%, -10%);
transform: translate(-50%, -10%);
padding:1.2rem 0;
width:80%;
-webkit-box-shadow: 0px 0px 24px -5px rgba(0,0,0,0.45);
-moz-box-shadow: 0px 0px 24px -5px rgba(0,0,0,0.45);
box-shadow: 0px 0px 24px -5px rgba(0,0,0,0.45);
}
#sliding-popup .popup-content #popup-text h1,
#sliding-popup .popup-content #popup-text h2,
#sliding-popup .popup-content #popup-text h3{
color: #000;
}
#sliding-popup .popup-content #popup-text p {
color: #000;
font-size: 0.8rem;
line-height: 1.4;
margin: 0 0 1rem 0;
font-family: Typ1451-Medium,Verdana, Arial, Helvetica, sans-serif;
}
.sliding-popup-bottom {
position: fixed;
}
.sliding-popup-top {
position: relative;
}
#sliding-popup .popup-content {
margin: 0 auto;
max-width: 90%;
display: inline-block;
text-align: left;
width: 100%;
color:#fff;
}
#sliding-popup .popup-content #popup-buttons {
float: right;
max-width: 40%;
}
.agree-button{
margin-top:0.7rem;
}
#sliding-popup button {
cursor: pointer;
background-color:#000;
border:2px solid #fdd54f;
color:#fdd54f;
}
#sliding-popup button:hover {
cursor: pointer;
background-color:transparent;
color:#000;
border:2px solid #000;
}
#sliding-popup .popup-content #popup-text {
float: left;
max-width: 60%;
}
.eu-cookie-withdraw-tab {
cursor: pointer;
}
.eu-cookie-withdraw-wrapper.sliding-popup-top,
.eu-cookie-withdraw-wrapper.sliding-popup-top .eu-cookie-withdraw-banner {
transform: scaleY(-1);
}
.eu-cookie-withdraw-tab {
position: absolute;
top: 0;
transform: translate(-50%, -100%);
left: 50%;
}
.eu-cookie-withdraw-wrapper.sliding-popup-top .eu-cookie-withdraw-tab {
transform: translate(-50%, -100%) scaleY(-1);
}
@media screen and (max-width: 600px) {
#sliding-popup{
padding:2rem;
width:95%
}
#sliding-popup .popup-content {
max-width: 100%;
}
#sliding-popup .popup-content #popup-text {
max-width: 100%;
}
#sliding-popup .popup-content #popup-buttons {
clear: both;
float: none;
max-width: 100%;
}
}
......@@ -101,6 +101,7 @@ function uw_fdsu_theme_resp_css_alter(&$css) {
$remove['date'][] = '/date_views/css/date_views.css';
$remove['uw_ct_contact'][] = '/css/uw_ct_contact.css';
$remove['views'][] = '/css/views.css';
$remove['eu_cookie_compliance'][] = '/css/eu_cookie_compliance.bare.css';
$exclude = array();
foreach ($remove as $module => $items) {
if (module_exists($module)) {
......
......@@ -30,5 +30,6 @@ stylesheets[all][] = css/colors.css
stylesheets[print][] = css/print.css
; customize
stylesheets[all][] = css/resp.css
stylesheets[all][] = css/eu_cookie_compliance.css
scripts[] = js/resp.js
; end customize
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment