tarteaucitron.css 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  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: #eee;
  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: #e4e4e4;
  145. color: #333;
  146. font-size: 20px;
  147. padding: 18px 22px;
  148. text-align: center;
  149. }
  150. #tarteaucitron #tarteaucitronServices .tarteaucitronTitle .tarteaucitronDetails {
  151. color: #777;
  152. font-size: 15px;
  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 .tarteaucitronAsk {
  188. display: inline-block;
  189. float: right;
  190. margin: 7px 15px 0;
  191. text-align: right;
  192. }
  193. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,
  194. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny,
  195. .tac_activate .tarteaucitronAllow {
  196. background: gray;
  197. border-radius: 4px;
  198. color: #fff;
  199. cursor: pointer;
  200. display: inline-block;
  201. padding: 6px 10px;
  202. text-align: center;
  203. text-decoration: none;
  204. width: auto;
  205. }
  206. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName .tarteaucitronListCookies {
  207. color: #333;
  208. font-size: 12px;
  209. }
  210. #tarteaucitron #tarteaucitronFooter {
  211. background: #f2f2f2;
  212. border-top: 1px solid #eee;
  213. margin: 20px auto 0px;
  214. padding: 15px 0 15px;
  215. text-align: center;
  216. }
  217. #tarteaucitron #tarteaucitronFooter a {
  218. color: #666;
  219. font-style: normal;
  220. text-decoration: underline;
  221. }
  222. /***
  223. * Big alert
  224. */
  225. .tarteaucitronAlertBigTop {
  226. top: 0;
  227. }
  228. .tarteaucitronAlertBigBottom {
  229. bottom: 0;
  230. }
  231. #tarteaucitronAlertBig {
  232. background: #333;
  233. color: #fff !important;
  234. display: none;
  235. font-size: 15px !important;
  236. left: 0;
  237. padding: 5px 5%;
  238. position: fixed;
  239. text-align: center;
  240. width: 90%;
  241. box-sizing: content-box;
  242. z-index: 2147483645;
  243. }
  244. #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  245. font: 15px verdana;
  246. color: #fff;
  247. }
  248. #tarteaucitronAlertBig #tarteaucitronPersonalize {
  249. background: #008300;
  250. color: #fff;
  251. cursor: pointer;
  252. display: inline-block;
  253. font-size: 16px;
  254. padding: 5px 10px;
  255. text-decoration: none;
  256. margin-left: 7px;
  257. }
  258. #tarteaucitronAlertBig #tarteaucitronCloseAlert {
  259. font-size: 11px;
  260. margin-left: 7px;
  261. cursor: pointer;
  262. color: #fff;
  263. }
  264. /***
  265. * Small alert
  266. */
  267. #tarteaucitronAlertSmall {
  268. background: #333;
  269. bottom: 0;
  270. color: #fff !important;
  271. cursor: pointer;
  272. display: none;
  273. font-size: 11px !important;
  274. padding: 5px;
  275. position: fixed;
  276. right: 0;
  277. text-align: center;
  278. z-index: 2147483645;
  279. }
  280. #tarteaucitronAlertSmall #tarteaucitronDot {
  281. background-color: gray;
  282. border-radius: 5px;
  283. display: inline-block;
  284. height: 8px;
  285. margin-top: 5px;
  286. overflow: hidden;
  287. width: 100%;
  288. }
  289. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotGreen,
  290. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotYellow,
  291. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotRed {
  292. display: block;
  293. float: left;
  294. height: 100%;
  295. width: 0%;
  296. }
  297. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotGreen {
  298. background-color: #1B870B;
  299. }
  300. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotYellow {
  301. background-color: #FBDA26;
  302. }
  303. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotRed {
  304. background-color: #9C1A1A;
  305. }
  306. /***
  307. * Fallback activate link
  308. */
  309. .tac_activate {
  310. background: #333;
  311. display: block;
  312. height: 100%;
  313. min-height: 100px;
  314. min-width: 180px;
  315. position: relative;
  316. width: 100%;
  317. }
  318. .tac_activate .tac_float {
  319. background: #333;
  320. bottom: 0;
  321. box-sizing: border-box;
  322. color: #fff;
  323. font-size: 14px;
  324. height: 80px;
  325. left: 0;
  326. line-height: initial;
  327. margin: auto;
  328. padding: 10px 0;
  329. position: absolute;
  330. right: 0;
  331. text-align: center;
  332. top: 0;
  333. }
  334. .tac_activate .tac_float b {
  335. color: #fff !important;
  336. }
  337. .tac_activate .tac_float .tarteaucitronAllow {
  338. background-color: #1B870B;
  339. margin-top: 10px;
  340. }
  341. /***
  342. * Fallback links for social networks
  343. */
  344. .tac_share {
  345. display: inline-block;
  346. margin: 0;
  347. padding: 3px 10px;
  348. text-decoration: none;
  349. font-size: 13px;
  350. color: #fff !important;
  351. text-align: center;
  352. }
  353. .tac_share_twitter {
  354. background-color: #4099ff;
  355. }
  356. .tac_share_facebook {
  357. background-color: #3b5998;
  358. }
  359. .tac_share_googlep {
  360. background-color: #D34836;
  361. }
  362. .tac_share_linkedin {
  363. background-color: #3399cc;
  364. }
  365. .tac_share_pinterest {
  366. background-color: #cb2027;
  367. }
  368. .tac_share_digg {
  369. background-color: #0093CC;
  370. }
  371. .tac_share_reddit {
  372. background-color: #2E81D5;
  373. }