You are here

eu_cookie_compliance.css in EU Cookie Compliance (GDPR Compliance) 6

#sliding-popup {
  display: block;
  margin: 0;
  padding: 0px;
  right: 0;
  text-align: center;
  width: 100%;
  z-index: 99999;
}

.sliding-popup-bottom {
  background: url('../images/gradient.png') center center scroll repeat-y transparent;
  position: fixed;
}

.sliding-popup-top {
  background-color: #000;
  position: relative;
}

#sliding-popup .popup-content {
  background-color: transparent;
  border: 0 none;
  display: block;
  margin: 0 auto;
  padding: 0;
  max-width: 80%;
}

#sliding-popup .popup-content #popup-buttons {
  float: right;
  margin: 0;
  max-width: 40%;
}

#sliding-popup .popup-content #popup-buttons button {
  cursor: pointer;
  display: inline;
  margin-right: 5px;
  margin-top: 1em;
  vertical-align: middle;
  overflow: visible;
  width: auto;

  -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
  -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
  box-shadow:inset 0px 1px 0px 0px #ffffff;
  background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
  background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
  background-color:#ededed;
  -moz-border-radius:6px;
  -webkit-border-radius:6px;
  border-radius:6px;
  border:1px solid #dcdcdc;
  display:inline-block;
  color:#000;
  font-family:arial;
  font-weight:bold;
  padding:4px 8px;
  text-decoration:none;
  text-shadow:1px 1px 0px #ffffff;
}

#sliding-popup .popup-content #popup-buttons button:hover {
  background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
  background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
  background-color:#dfdfdf;
}

#sliding-popup .popup-content #popup-buttons button:active {
  position:relative;
  top:1px;
}

#sliding-popup .popup-content #popup-text {
  color: #fff;
  float: left;
  font-weight: bold;
  margin: 5px 0;
  text-align: left;
  max-width: 60%;
}

#sliding-popup .popup-content #popup-text h2,
#sliding-popup .popup-content #popup-text p {
  color: #fff;
  display: block;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  margin: 0 0 5px 0;
}

#sliding-popup .popup-content #popup-text p {
  font-size: 12px;
}

@media screen and (max-width: 600px) {
  #sliding-popup .popup-content {
    max-width: 95%;
  }

  #sliding-popup .popup-content #popup-text {
    max-width: 100%;
  }

  #sliding-popup .popup-content #popup-buttons {
    float: none;
    margin: 5px 0;
    max-width: 100%;
  }
  #sliding-popup .popup-content #popup-buttons button {
    margin-bottom: 1em;
  }
}

File

css/eu_cookie_compliance.css
View source
  1. #sliding-popup {
  2. display: block;
  3. margin: 0;
  4. padding: 0px;
  5. right: 0;
  6. text-align: center;
  7. width: 100%;
  8. z-index: 99999;
  9. }
  10. .sliding-popup-bottom {
  11. background: url('../images/gradient.png') center center scroll repeat-y transparent;
  12. position: fixed;
  13. }
  14. .sliding-popup-top {
  15. background-color: #000;
  16. position: relative;
  17. }
  18. #sliding-popup .popup-content {
  19. background-color: transparent;
  20. border: 0 none;
  21. display: block;
  22. margin: 0 auto;
  23. padding: 0;
  24. max-width: 80%;
  25. }
  26. #sliding-popup .popup-content #popup-buttons {
  27. float: right;
  28. margin: 0;
  29. max-width: 40%;
  30. }
  31. #sliding-popup .popup-content #popup-buttons button {
  32. cursor: pointer;
  33. display: inline;
  34. margin-right: 5px;
  35. margin-top: 1em;
  36. vertical-align: middle;
  37. overflow: visible;
  38. width: auto;
  39. -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
  40. -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
  41. box-shadow:inset 0px 1px 0px 0px #ffffff;
  42. background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
  43. background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
  44. filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
  45. background-color:#ededed;
  46. -moz-border-radius:6px;
  47. -webkit-border-radius:6px;
  48. border-radius:6px;
  49. border:1px solid #dcdcdc;
  50. display:inline-block;
  51. color:#000;
  52. font-family:arial;
  53. font-weight:bold;
  54. padding:4px 8px;
  55. text-decoration:none;
  56. text-shadow:1px 1px 0px #ffffff;
  57. }
  58. #sliding-popup .popup-content #popup-buttons button:hover {
  59. background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
  60. background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
  61. filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
  62. background-color:#dfdfdf;
  63. }
  64. #sliding-popup .popup-content #popup-buttons button:active {
  65. position:relative;
  66. top:1px;
  67. }
  68. #sliding-popup .popup-content #popup-text {
  69. color: #fff;
  70. float: left;
  71. font-weight: bold;
  72. margin: 5px 0;
  73. text-align: left;
  74. max-width: 60%;
  75. }
  76. #sliding-popup .popup-content #popup-text h2,
  77. #sliding-popup .popup-content #popup-text p {
  78. color: #fff;
  79. display: block;
  80. font-size: 16px;
  81. font-weight: bold;
  82. line-height: 1.4;
  83. margin: 0 0 5px 0;
  84. }
  85. #sliding-popup .popup-content #popup-text p {
  86. font-size: 12px;
  87. }
  88. @media screen and (max-width: 600px) {
  89. #sliding-popup .popup-content {
  90. max-width: 95%;
  91. }
  92. #sliding-popup .popup-content #popup-text {
  93. max-width: 100%;
  94. }
  95. #sliding-popup .popup-content #popup-buttons {
  96. float: none;
  97. margin: 5px 0;
  98. max-width: 100%;
  99. }
  100. #sliding-popup .popup-content #popup-buttons button {
  101. margin-bottom: 1em;
  102. }
  103. }