tarteaucitron.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  1. /***
  2. * Responsive layout for the control panel
  3. */
  4. @media screen and (max-width:350px) {
  5. #tarteaucitronRoot #tarteaucitron #tarteaucitronInfo {
  6. background-image: none;
  7. padding-right: 0;
  8. text-align: center;
  9. }
  10. }
  11. @media screen and (max-width:400px) {
  12. #tarteaucitronRoot #tarteaucitron #tarteaucitronInfo {
  13. font-size: 14px !important;
  14. }
  15. }
  16. @media screen and (max-width:470px) {
  17. #tarteaucitron #tarteaucitronInfo {
  18. font-size: 16px !important;
  19. }
  20. #tarteaucitron .tarteaucitronLine .tarteaucitronName {
  21. width: 90% !important;
  22. }
  23. #tarteaucitron .tarteaucitronLine .tarteaucitronAsk {
  24. float: left !important;
  25. margin: 10px 15px 5px;
  26. }
  27. }
  28. @media screen and (max-width:890px) {
  29. #tarteaucitron {
  30. border: 0 !important;
  31. bottom: 0 !important;
  32. height: 100% !important;
  33. max-height: 100% !important;
  34. max-width: 100% !important;
  35. top: 0 !important;
  36. width: 100% !important;
  37. }
  38. #tarteaucitron #tarteaucitronClosePanel {
  39. display: block !important;
  40. }
  41. }
  42. /***
  43. * Common value
  44. */
  45. #tarteaucitron * {
  46. zoom: 1;
  47. }
  48. #tarteaucitron .clear {
  49. clear: both;
  50. }
  51. #tarteaucitron a {
  52. color: rgb(66, 66, 66);
  53. font-size: 12px;
  54. font-style: italic;
  55. text-decoration: none;
  56. }
  57. #tarteaucitronAlertBig a, #tarteaucitronAlertSmall a {
  58. color: #fff;
  59. }
  60. #tarteaucitron b {
  61. font-size: 22px;
  62. font-weight: 500;
  63. }
  64. /***
  65. * Root div added just before </body>
  66. */
  67. #tarteaucitronRoot {
  68. left: 0;
  69. position: absolute;
  70. right: 0;
  71. top: 0;
  72. width: 100%;
  73. }
  74. #tarteaucitronRoot * {
  75. box-sizing: initial;
  76. color: #333;
  77. font-family: sans-serif;
  78. font-size: 14px;
  79. vertical-align: initial;
  80. }
  81. /***
  82. * Control panel
  83. */
  84. #tarteaucitronBack {
  85. background: rgba(255, 255, 255, 0.7);
  86. display: none;
  87. height: 100%;
  88. left: 0;
  89. position: fixed;
  90. top: 0;
  91. width: 100%;
  92. z-index: 2147483646;
  93. }
  94. #tarteaucitron {
  95. background: #fff;
  96. box-shadow: 0 0 15px #4a4a4a;
  97. display: none;
  98. left: 0;
  99. margin: 0 auto;
  100. max-height: 80%;
  101. overflow: auto;
  102. padding: 0;
  103. position: fixed;
  104. right: 0;
  105. top: 10%;
  106. width: 860px;
  107. z-index: 2147483647;
  108. }
  109. #tarteaucitron #tarteaucitronClosePanel {
  110. background: #6f6f6f;
  111. border: 4px solid #fff;
  112. border-right: 0;
  113. color: #fff;
  114. cursor: pointer;
  115. display: none;
  116. float: right;
  117. font-size: 12px;
  118. font-weight: 700;
  119. text-decoration: none;
  120. padding: 4px 0;
  121. text-align: center;
  122. width: 70px;
  123. }
  124. #tarteaucitron #tarteaucitronInfo {
  125. background: #eee;
  126. border-bottom: 4px solid #fff;
  127. clear: both;
  128. color: #333;
  129. font-size: 24px;
  130. padding: 20px 20px 18px 20px;
  131. text-align: center;
  132. }
  133. #tarteaucitron #tarteaucitronDisclaimer {
  134. color: #555;
  135. font-size: 12px;
  136. margin: 15px auto 0;
  137. width: 80%;
  138. }
  139. #tarteaucitron #tarteaucitronServices {
  140. background: #fff;
  141. border-bottom: 4px solid #fff;
  142. min-height: 250px;
  143. }
  144. #tarteaucitron #tarteaucitronServices .tarteaucitronTitle {
  145. background: #e4e4e4;
  146. color: #333;
  147. font-size: 20px;
  148. padding: 18px 22px;
  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 #tarteaucitronFooter {
  207. background: #f2f2f2;
  208. border-top: 1px solid #eee;
  209. margin: 20px auto 0px;
  210. padding: 15px 0 15px;
  211. text-align: center;
  212. }
  213. #tarteaucitron #tarteaucitronFooter a {
  214. color: #333;
  215. font-style: normal;
  216. text-decoration: underline;
  217. }
  218. /***
  219. * Big alert
  220. */
  221. .tarteaucitronAlertBigTop {
  222. top: 0;
  223. }
  224. .tarteaucitronAlertBigBottom {
  225. bottom: 0;
  226. }
  227. #tarteaucitronAlertBig {
  228. background: #333;
  229. color: #fff !important;
  230. display: none;
  231. font-size: 15px !important;
  232. left: 0;
  233. padding: 5px 5%;
  234. position: fixed;
  235. text-align: center;
  236. width: 90%;
  237. box-sizing: content-box;
  238. z-index: 2147483645;
  239. }
  240. #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  241. font: 15px verdana;
  242. color: #fff;
  243. }
  244. #tarteaucitronAlertBig #tarteaucitronPersonalize {
  245. background: #008300;
  246. color: #fff;
  247. cursor: pointer;
  248. display: inline-block;
  249. font-size: 16px;
  250. padding: 5px 10px;
  251. text-decoration: none;
  252. margin-left: 7px;
  253. }
  254. #tarteaucitronAlertBig #tarteaucitronCloseAlert {
  255. font-size: 11px;
  256. margin-left: 7px;
  257. cursor: pointer;
  258. color: #fff;
  259. }
  260. /***
  261. * Small alert
  262. */
  263. #tarteaucitronAlertSmall {
  264. background: #333;
  265. bottom: 0;
  266. color: #fff !important;
  267. cursor: pointer;
  268. display: none;
  269. font-size: 11px !important;
  270. padding: 5px;
  271. position: fixed;
  272. right: 0;
  273. text-align: center;
  274. z-index: 2147483645;
  275. }
  276. #tarteaucitronAlertSmall #tarteaucitronDot {
  277. background-color: gray;
  278. border-radius: 5px;
  279. display: inline-block;
  280. height: 8px;
  281. margin-top: 5px;
  282. overflow: hidden;
  283. width: 100%;
  284. }
  285. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotGreen,
  286. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotYellow,
  287. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotRed {
  288. display: block;
  289. float: left;
  290. height: 100%;
  291. width: 0%;
  292. }
  293. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotGreen {
  294. background-color: #1B870B;
  295. }
  296. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotYellow {
  297. background-color: #FBDA26;
  298. }
  299. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotRed {
  300. background-color: #9C1A1A;
  301. }
  302. /***
  303. * Fallback activate link
  304. */
  305. .tac_activate {
  306. background: #333;
  307. display: block;
  308. height: 100%;
  309. min-height: 100px;
  310. position: relative;
  311. width: 100%;
  312. }
  313. .tac_activate .tac_float {
  314. background: #333;
  315. bottom: 0;
  316. box-sizing: border-box;
  317. color: #fff;
  318. font-size: 14px;
  319. height: 80px;
  320. left: 0;
  321. line-height: initial;
  322. margin: auto;
  323. padding: 10px 0;
  324. position: absolute;
  325. right: 0;
  326. text-align: center;
  327. top: 0;
  328. }
  329. .tac_activate .tac_float b {
  330. color: #fff !important;
  331. }
  332. .tac_activate .tac_float .tarteaucitronAllow {
  333. background-color: #1B870B;
  334. margin-top: 10px;
  335. }
  336. /***
  337. * Fallback links for social networks
  338. */
  339. .tac_share {
  340. display: inline-block;
  341. margin: 0;
  342. padding: 3px 10px;
  343. text-decoration: none;
  344. font-size: 13px;
  345. color: #fff !important;
  346. text-align: center;
  347. }
  348. .tac_share_twitter {
  349. background-color: #4099ff;
  350. }
  351. .tac_share_facebook {
  352. background-color: #3b5998;
  353. }
  354. .tac_share_googlep {
  355. background-color: #D34836;
  356. }
  357. .tac_share_linkedin {
  358. background-color: #3399cc;
  359. }
  360. .tac_share_pinterest {
  361. background-color: #cb2027;
  362. }
  363. .tac_share_digg {
  364. background-color: #0093CC;
  365. }
  366. .tac_share_reddit {
  367. background-color: #2E81D5;
  368. }