tarteaucitron.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  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. .tac_activate .tarteaucitronAllow {
  141. background: gray;
  142. color: #fff;
  143. cursor: pointer;
  144. display: inline-block;
  145. padding: 5px 10px;
  146. text-align: center;
  147. text-decoration: none;
  148. width: auto;
  149. }
  150. /***
  151. * Big alert
  152. */
  153. #tarteaucitronAlertBig {
  154. background: #333;
  155. color: #fff !important;
  156. display: none;
  157. font-size: 15px !important;
  158. left: 0;
  159. padding: 5px 5%;
  160. position: fixed;
  161. text-align: center;
  162. top: 0;
  163. width: 90%;
  164. box-sizing: content-box;
  165. z-index: 2147483645;
  166. }
  167. #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  168. font: 15px verdana;
  169. color: #fff;
  170. }
  171. #tarteaucitronAlertBig #tarteaucitronPersonalize {
  172. background: #008300;
  173. color: #fff;
  174. cursor: pointer;
  175. display: inline-block;
  176. font-size: 16px;
  177. padding: 5px 10px;
  178. text-decoration: none;
  179. margin-left: 7px;
  180. }
  181. #tarteaucitronAlertBig #tarteaucitronCloseAlert {
  182. font-size: 11px;
  183. margin-left: 7px;
  184. cursor: pointer;
  185. color: #fff;
  186. }
  187. /***
  188. * Small alert
  189. */
  190. #tarteaucitronAlertSmall {
  191. background: #333;
  192. bottom: 0;
  193. color: #fff !important;
  194. cursor: pointer;
  195. display: none;
  196. font-size: 11px !important;
  197. padding: 3px;
  198. padding-right: 5px;
  199. position: fixed;
  200. right: 0;
  201. z-index: 2147483645;
  202. }
  203. #tarteaucitronAlertSmall #tarteaucitronDot {
  204. background-color: #E63737;
  205. border-radius: 10px;
  206. display: inline-block;
  207. height: 10px;
  208. margin: 0px 5px 2px 5px;
  209. vertical-align: middle;
  210. width: 10px;
  211. }
  212. /***
  213. * Fallback activate link
  214. */
  215. .tac_activate {
  216. background: #333;
  217. display: block;
  218. height: 100%;
  219. min-height: 100px;
  220. position: relative;
  221. width: 100%;
  222. }
  223. .tac_activate .tac_float {
  224. background: #333;
  225. bottom: 0;
  226. box-sizing: border-box;
  227. color: #fff;
  228. font-family: verdana;
  229. font-size: 14px;
  230. height: 80px;
  231. left: 0;
  232. line-height: initial;
  233. margin: auto;
  234. padding: 10px 0;
  235. position: absolute;
  236. right: 0;
  237. text-align: center;
  238. top: 0;
  239. }
  240. .tac_activate .tac_float b {
  241. color: #fff !important;
  242. }
  243. .tac_activate .tac_float .tarteaucitronAllow {
  244. background-color: #1B870B;
  245. margin-top: 10px;
  246. }
  247. /***
  248. * Fallback links for social networks
  249. */
  250. .tac_share {
  251. display: inline-block;
  252. margin: 0;
  253. padding: 3px 10px;
  254. text-decoration: none;
  255. font-size: 13px;
  256. color: #fff !important;
  257. text-align: center;
  258. }
  259. .tac_share_twitter {
  260. background-color: #4099ff;
  261. }
  262. .tac_share_facebook {
  263. background-color: #3b5998;
  264. }
  265. .tac_share_googlep {
  266. background-color: #D34836;
  267. }
  268. .tac_share_linkedin {
  269. background-color: #3399cc;
  270. }
  271. .tac_share_pinterest {
  272. background-color: #cb2027;
  273. }
  274. .tac_share_digg {
  275. background-color: #0093CC;
  276. }
  277. .tac_share_reddit {
  278. background-color: #2E81D5;
  279. }