tarteaucitron.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. /***
  2. * Responsive layout for the control panel
  3. */
  4. @media screen and (max-width:650px) {
  5. #tarteaucitron .tarteaucitronLine .tarteaucitronName {
  6. width: 90% !important;
  7. }
  8. #tarteaucitron .tarteaucitronLine .tarteaucitronAsk {
  9. float: left !important;
  10. margin: 10px 15px 5px;
  11. }
  12. }
  13. @media screen and (max-width:1020px) {
  14. #tarteaucitron {
  15. top: 0;
  16. }
  17. #tarteaucitron #tarteaucitronDisclaimer {
  18. font-size: 14px;
  19. }
  20. }
  21. /***
  22. * Common value
  23. */
  24. #tarteaucitron * {
  25. zoom: 1;
  26. }
  27. #tarteaucitron .clear {
  28. clear: both;
  29. }
  30. #tarteaucitron a {
  31. color: rgb(66, 66, 66);
  32. font-size: 12px;
  33. font-style: italic;
  34. text-decoration: none;
  35. }
  36. #tarteaucitronAlertBig a, #tarteaucitronAlertSmall a {
  37. color: #fff;
  38. }
  39. #tarteaucitron b {
  40. font-size: 18px;
  41. font-weight: 700;
  42. }
  43. /***
  44. * Root div added just before </body>
  45. */
  46. #tarteaucitronRoot {
  47. left: 0;
  48. position: absolute;
  49. right: 0;
  50. top: 0;
  51. width: 100%;
  52. }
  53. #tarteaucitronRoot * {
  54. box-sizing: initial;
  55. color: #333;
  56. font-family: verdana;
  57. font-size: 14px;
  58. line-height: 1.5;
  59. vertical-align: initial;
  60. }
  61. /***
  62. * Control panel
  63. */
  64. #tarteaucitronBack {
  65. background: rgba(255, 255, 255, 0.7);
  66. display: none;
  67. height: 100%;
  68. left: 0;
  69. position: fixed;
  70. top: 0;
  71. width: 100%;
  72. z-index: 2147483646;
  73. }
  74. #tarteaucitron {
  75. background: #333;
  76. border: 0;
  77. border-bottom: 50px solid;
  78. display: none;
  79. left: 0;
  80. margin: 0 auto;
  81. max-width: 1020px;
  82. position: relative;
  83. right: 0;
  84. top: 0;
  85. z-index: 2147483647;
  86. }
  87. #tarteaucitron #tarteaucitronClosePanel {
  88. color: #FFF;
  89. cursor: pointer;
  90. display: block;
  91. text-decoration: underline;
  92. font-family: verdana;
  93. margin: 0px 15px 15px 0;
  94. padding-top: 10px;
  95. text-align: right;
  96. }
  97. #tarteaucitron #tarteaucitronDisclaimer {
  98. color: #fff;
  99. font-size: 16px;
  100. margin: 0 auto 10px;
  101. max-width: 800px;
  102. padding: 0 15px;
  103. text-align: center;
  104. }
  105. #tarteaucitron .tarteaucitronTitle {
  106. background: #4a4a4a;
  107. border-top: 25px solid #333;
  108. color: #FFF;
  109. font-size: 20px;
  110. padding: 18px 22px;
  111. }
  112. #tarteaucitron .tarteaucitronTitle .tarteaucitronDetails {
  113. color: #fff;
  114. font-size: 13px;
  115. }
  116. #tarteaucitron .tarteaucitronLine {
  117. background: #f5f5f5;
  118. border-bottom: 1px solid #fff;
  119. border-top: 1px solid #fff;
  120. height: auto;
  121. min-height: 100%;
  122. overflow: hidden;
  123. padding: 5px;
  124. }
  125. #tarteaucitron .tarteaucitronLine .tarteaucitronName {
  126. display: inline-block;
  127. float: left;
  128. margin-left: 15px;
  129. text-align: left;
  130. width: 50%;
  131. }
  132. #tarteaucitron .tarteaucitronLine .tarteaucitronAsk {
  133. display: inline-block;
  134. float: right;
  135. margin: 7px 15px 0;
  136. text-align: right;
  137. }
  138. #tarteaucitron .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,
  139. #tarteaucitron .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny {
  140. background: gray;
  141. color: #fff;
  142. cursor: pointer;
  143. display: inline-block;
  144. padding: 5px 10px;
  145. text-align: center;
  146. text-decoration: none;
  147. width: auto;
  148. }
  149. /***
  150. * Big alert
  151. */
  152. #tarteaucitronAlertBig {
  153. background: #333;
  154. color: #fff !important;
  155. display: none;
  156. font-size: 15px !important;
  157. left: 0;
  158. padding: 5px 5%;
  159. position: fixed;
  160. text-align: center;
  161. top: 0;
  162. width: 90%;
  163. box-sizing: content-box;
  164. z-index: 2147483645;
  165. }
  166. #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  167. font: 15px verdana;
  168. color: #fff;
  169. }
  170. #tarteaucitronAlertBig #tarteaucitronPersonalize {
  171. background: #008300;
  172. color: #fff;
  173. cursor: pointer;
  174. display: inline-block;
  175. font-size: 16px;
  176. padding: 5px 10px;
  177. text-decoration: none;
  178. margin-left: 7px;
  179. }
  180. #tarteaucitronAlertBig #tarteaucitronCloseAlert {
  181. font-size: 11px;
  182. margin-left: 7px;
  183. cursor: pointer;
  184. color: #fff;
  185. }
  186. /***
  187. * Small alert
  188. */
  189. #tarteaucitronAlertSmall {
  190. background: #333;
  191. bottom: 0;
  192. color: #fff !important;
  193. cursor: pointer;
  194. display: none;
  195. font-size: 11px !important;
  196. padding: 3px;
  197. padding-right: 5px;
  198. position: fixed;
  199. right: 0;
  200. z-index: 2147483645;
  201. }
  202. #tarteaucitronAlertSmall #tarteaucitronDot {
  203. background-color: #E63737;
  204. border-radius: 10px;
  205. display: inline-block;
  206. height: 10px;
  207. margin: 0px 5px 2px 5px;
  208. vertical-align: middle;
  209. width: 10px;
  210. }
  211. /***
  212. * Fallback links for social networks
  213. */
  214. .tac_share {
  215. display: inline-block;
  216. margin: 0;
  217. padding: 3px 10px;
  218. text-decoration: none;
  219. font-size: 13px;
  220. color: #fff !important;
  221. text-align: center;
  222. }
  223. .tac_share_twitter {
  224. background-color: #4099ff;
  225. }
  226. .tac_share_facebook {
  227. background-color: #3b5998;
  228. }
  229. .tac_share_googlep {
  230. background-color: #D34836;
  231. }
  232. .tac_share_linkedin {
  233. background-color: #3399cc;
  234. }
  235. .tac_share_pinterest {
  236. background-color: #cb2027;
  237. }
  238. .tac_share_digg {
  239. background-color: #0093CC;
  240. }
  241. .tac_share_reddit {
  242. background-color: #2E81D5;
  243. }