Açıklama Yok

style.css 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. .widget_eu_cookie_law_widget {
  2. animation: fadeIn 800ms;
  3. border: none;
  4. bottom: 1em;
  5. left: 1em;
  6. margin: 0;
  7. padding: 0;
  8. position: fixed;
  9. right: 1em;
  10. width: auto;
  11. z-index: 50001;
  12. }
  13. @keyframes fadeIn {
  14. from { opacity: 0; visibility: hidden; }
  15. to { opacity: 1; visibility: visible; }
  16. }
  17. .widget_eu_cookie_law_widget.widget.top {
  18. bottom: auto;
  19. top: 1em;
  20. }
  21. .admin-bar .widget_eu_cookie_law_widget.widget.top {
  22. top: 3em;
  23. }
  24. amp-consent.widget_eu_cookie_law_widget.widget.top {
  25. top: 1em;
  26. margin: 0;
  27. }
  28. .admin-bar amp-consent.widget_eu_cookie_law_widget.widget.top {
  29. top: 0;
  30. margin-top: 3em;
  31. }
  32. #eu-cookie-law {
  33. background-color: #fff;
  34. border: 1px solid #dedede;
  35. color: #2e4467;
  36. font-size: 12px;
  37. line-height: 1.5;
  38. overflow: hidden;
  39. padding: 6px 6px 6px 15px;
  40. position: relative;
  41. }
  42. #eu-cookie-law a,
  43. #eu-cookie-law a:active,
  44. #eu-cookie-law a:visited {
  45. color: inherit;
  46. cursor: inherit;
  47. text-decoration: underline;
  48. }
  49. #eu-cookie-law a:hover {
  50. cursor: pointer;
  51. text-decoration: none;
  52. }
  53. #eu-cookie-law.negative {
  54. background-color: #000;
  55. border: none;
  56. color: #fff;
  57. }
  58. #eu-cookie-law.hide {
  59. opacity: 0;
  60. visibility: hidden;
  61. transition: opacity 400ms, visibility 400ms;
  62. }
  63. /**
  64. * Using a highly-specific rule to make sure that certain form styles
  65. * will be reset
  66. */
  67. #eu-cookie-law form {
  68. margin-bottom: 0;
  69. position: static;
  70. }
  71. /**
  72. * Using a highly-specific rule to make sure that all button styles
  73. * will be reset
  74. */
  75. #eu-cookie-law input,
  76. #eu-cookie-law input:hover,
  77. #eu-cookie-law input:focus {
  78. background: #f3f3f3;
  79. border: 1px solid #dedede;
  80. border-radius: 4px;
  81. -moz-border-radius: 3px;
  82. -webkit-border-radius: 3px;
  83. color: #2e4453;
  84. cursor: pointer;
  85. display: inline;
  86. float: right;
  87. font-family: inherit;
  88. font-size: 14px;
  89. font-weight: inherit;
  90. line-height: inherit;
  91. margin: 0 0 0 5%;
  92. padding: 8px 12px;
  93. position: static;
  94. text-transform: none;
  95. }
  96. #eu-cookie-law.negative input,
  97. #eu-cookie-law.negative input:hover,
  98. #eu-cookie-law.negative input:focus {
  99. background: #282828;
  100. border-color: #535353;
  101. color: #fff;
  102. }
  103. @media ( max-width: 600px ) {
  104. #eu-cookie-law {
  105. padding-bottom: 55px;
  106. }
  107. #eu-cookie-law input.accept {
  108. bottom: 8px;
  109. position: absolute;
  110. right: 8px;
  111. }
  112. }
  113. /**
  114. * Tweak position of the Customizer edit button to make it more obvious this
  115. * is an editable widget rather than a normal accept cookies banner.
  116. */
  117. .widget_eu_cookie_law_widget .customize-partial-edit-shortcut > button {
  118. left: 0;
  119. }