tarteaucitron.css 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. /***
  2. * Responsive layout for the control panel
  3. */
  4. @media screen and (max-width:479px) {
  5. #tarteaucitron #tarteaucitronInfo {
  6. background-image: none;
  7. font-size: 16px !important;
  8. padding-right: 0;
  9. text-align: center;
  10. }
  11. #tarteaucitron .tarteaucitronLine .tarteaucitronName {
  12. width: 90% !important;
  13. }
  14. #tarteaucitron .tarteaucitronLine .tarteaucitronAsk {
  15. float: left !important;
  16. margin: 10px 15px 5px;
  17. }
  18. }
  19. @media screen and (max-width:767px) {
  20. #tarteaucitron {
  21. border: 0 !important;
  22. bottom: 0 !important;
  23. height: 100% !important;
  24. max-height: 100% !important;
  25. max-width: 100% !important;
  26. top: 0 !important;
  27. width: 100% !important;
  28. }
  29. #tarteaucitron #tarteaucitronClosePanel {
  30. display: block !important;
  31. }
  32. }
  33. @media screen and (min-width:768px) and (max-width:991px) {
  34. #tarteaucitron {
  35. border: 0 !important;
  36. margin: 0 5%;
  37. max-height: 80% !important;
  38. width: 90% !important;
  39. }
  40. }
  41. /***
  42. * Common value
  43. */
  44. #tarteaucitron * {
  45. zoom: 1;
  46. }
  47. #tarteaucitron .clear {
  48. clear: both;
  49. }
  50. #tarteaucitron a {
  51. color: rgb(66, 66, 66);
  52. font-size: 11px;
  53. font-weight: 700;
  54. text-decoration: none;
  55. }
  56. #tarteaucitronAlertBig a, #tarteaucitronAlertSmall a {
  57. color: #fff;
  58. }
  59. #tarteaucitron b {
  60. font-size: 22px;
  61. font-weight: 500;
  62. }
  63. /***
  64. * Root div added just before </body>
  65. */
  66. #tarteaucitronRoot {
  67. left: 0;
  68. position: absolute;
  69. right: 0;
  70. top: 0;
  71. width: 100%;
  72. }
  73. #tarteaucitronRoot * {
  74. box-sizing: initial;
  75. color: #333;
  76. font-family: sans-serif;
  77. font-size: 14px;
  78. vertical-align: initial;
  79. }
  80. /***
  81. * Control panel
  82. */
  83. #tarteaucitronBack {
  84. background: rgba(255, 255, 255, 0.7);
  85. display: none;
  86. height: 100%;
  87. left: 0;
  88. position: fixed;
  89. top: 0;
  90. width: 100%;
  91. z-index: 2147483646;
  92. }
  93. #tarteaucitron {
  94. background: #fff;
  95. box-shadow: 0 0 15px #4a4a4a;
  96. display: none;
  97. left: 0;
  98. margin: 0 auto;
  99. max-height: 80%;
  100. overflow: auto;
  101. padding: 0;
  102. position: fixed;
  103. right: 0;
  104. top: 10%;
  105. width: 860px;
  106. z-index: 2147483647;
  107. }
  108. #tarteaucitron #tarteaucitronClosePanel {
  109. background: #6f6f6f;
  110. border: 4px solid #fff;
  111. border-right: 0;
  112. color: #fff;
  113. cursor: pointer;
  114. display: none;
  115. float: right;
  116. font-size: 12px;
  117. font-weight: 700;
  118. text-decoration: none;
  119. padding: 4px 0;
  120. text-align: center;
  121. width: 70px;
  122. }
  123. #tarteaucitron #tarteaucitronInfo {
  124. background: rgba(51, 51, 51, 0.1);
  125. border-bottom: 4px solid #fff;
  126. clear: both;
  127. color: #333;
  128. font-size: 24px;
  129. padding: 20px 20px 18px 20px;
  130. text-align: center;
  131. }
  132. #tarteaucitron #tarteaucitronDisclaimer {
  133. color: #555;
  134. font-size: 12px;
  135. margin: 15px auto 0;
  136. width: 80%;
  137. }
  138. #tarteaucitron #tarteaucitronServices {
  139. background: #fff;
  140. border-bottom: 4px solid #fff;
  141. min-height: 250px;
  142. }
  143. #tarteaucitron #tarteaucitronServices .tarteaucitronTitle {
  144. background: rgba(51, 51, 51, 0.2);
  145. color: #333;
  146. font-size: 20px;
  147. padding: 18px 22px;
  148. text-align: center;
  149. }
  150. #tarteaucitron #tarteaucitronServices .tarteaucitronTitle .tarteaucitronDetails {
  151. color: #555;
  152. font-size: 12px;
  153. }
  154. #tarteaucitron #tarteaucitronServices .tarteaucitronLine:hover {
  155. background: #f5f5f5;
  156. }
  157. #tarteaucitron #tarteaucitronServices .tarteaucitronLine {
  158. background: #fafafa;
  159. border-left: 5px solid #f5f5f5;
  160. height: auto;
  161. margin: 1px 0;
  162. min-height: 100%;
  163. overflow: hidden;
  164. padding: 15px 5px;
  165. }
  166. #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine {
  167. background: #444 !important;
  168. border: 0;
  169. margin-bottom: 5px;
  170. }
  171. #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName {
  172. margin-top: 2px;
  173. }
  174. #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName b {
  175. color: #fff;
  176. }
  177. #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronAsk {
  178. margin-top: 0px !important;
  179. }
  180. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName {
  181. display: inline-block;
  182. float: left;
  183. margin-left: 15px;
  184. text-align: left;
  185. width: 50%;
  186. }
  187. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName a:hover {
  188. text-decoration: underline;
  189. }
  190. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk {
  191. display: inline-block;
  192. float: right;
  193. margin: 7px 15px 0;
  194. text-align: right;
  195. }
  196. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,
  197. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny,
  198. .tac_activate .tarteaucitronAllow {
  199. background: gray;
  200. border-radius: 4px;
  201. color: #fff;
  202. cursor: pointer;
  203. display: inline-block;
  204. padding: 6px 10px;
  205. text-align: center;
  206. text-decoration: none;
  207. width: auto;
  208. }
  209. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName .tarteaucitronListCookies {
  210. color: #333;
  211. font-size: 12px;
  212. }
  213. #tarteaucitron #tarteaucitronFooter {
  214. background: rgba(51, 51, 51, 0.1);
  215. border-top: 1px solid #eee;
  216. margin: 20px auto 0px;
  217. padding: 15px 0 15px;
  218. text-align: center;
  219. }
  220. #tarteaucitron #tarteaucitronFooter a {
  221. color: #666;
  222. font-style: normal;
  223. text-decoration: underline;
  224. }
  225. /***
  226. * Big alert
  227. */
  228. .tarteaucitronAlertBigTop {
  229. top: 0;
  230. }
  231. .tarteaucitronAlertBigBottom {
  232. bottom: 0;
  233. }
  234. #tarteaucitronAlertBig {
  235. background: #333;
  236. color: #fff !important;
  237. display: none;
  238. font-size: 15px !important;
  239. left: 0;
  240. padding: 5px 5%;
  241. position: fixed;
  242. text-align: center;
  243. width: 90%;
  244. box-sizing: content-box;
  245. z-index: 2147483645;
  246. }
  247. #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  248. font: 15px verdana;
  249. color: #fff;
  250. }
  251. #tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitronAlertBig #tarteaucitronPersonalize {
  252. background: #008300;
  253. color: #fff;
  254. cursor: pointer;
  255. display: inline-block;
  256. font-size: 16px;
  257. padding: 5px 10px;
  258. text-decoration: none;
  259. margin-left: 7px;
  260. }
  261. #tarteaucitronAlertBig #tarteaucitronCloseAlert {
  262. background: #fff;
  263. color: #333;
  264. font-size: 13px;
  265. margin-left: 7px;
  266. padding: 4px 10px;
  267. }
  268. /***
  269. * Small alert
  270. */
  271. #tarteaucitronAlertSmall {
  272. background: #333;
  273. bottom: 0;
  274. color: #fff !important;
  275. cursor: pointer;
  276. display: none;
  277. font-size: 11px !important;
  278. padding: 5px;
  279. position: fixed;
  280. right: 0;
  281. text-align: center;
  282. z-index: 2147483645;
  283. }
  284. #tarteaucitronAlertSmall #tarteaucitronDot {
  285. background-color: gray;
  286. border-radius: 5px;
  287. display: inline-block;
  288. height: 8px;
  289. margin-top: 5px;
  290. overflow: hidden;
  291. width: 100%;
  292. }
  293. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotGreen,
  294. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotYellow,
  295. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotRed {
  296. display: block;
  297. float: left;
  298. height: 100%;
  299. width: 0%;
  300. }
  301. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotGreen {
  302. background-color: #1B870B;
  303. }
  304. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotYellow {
  305. background-color: #FBDA26;
  306. }
  307. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotRed {
  308. background-color: #9C1A1A;
  309. }
  310. /***
  311. * Fallback activate link
  312. */
  313. .tac_activate {
  314. background: #333;
  315. display: block;
  316. height: 100%;
  317. min-height: 100px;
  318. min-width: 180px;
  319. position: relative;
  320. width: 100%;
  321. }
  322. .tac_activate .tac_float {
  323. background: #333;
  324. bottom: 0;
  325. box-sizing: border-box;
  326. color: #fff;
  327. font-size: 14px;
  328. height: 80px;
  329. left: 0;
  330. line-height: initial;
  331. margin: auto;
  332. padding: 10px 0;
  333. position: absolute;
  334. right: 0;
  335. text-align: center;
  336. top: 0;
  337. }
  338. .tac_activate .tac_float b {
  339. color: #fff !important;
  340. }
  341. .tac_activate .tac_float .tarteaucitronAllow {
  342. background-color: #1B870B;
  343. margin-top: 10px;
  344. }