tarteaucitron.css 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  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. #tarteaucitronAlertBig {
  222. background: #333;
  223. color: #fff !important;
  224. display: none;
  225. font-size: 15px !important;
  226. left: 0;
  227. padding: 5px 5%;
  228. position: fixed;
  229. text-align: center;
  230. top: 0;
  231. width: 90%;
  232. box-sizing: content-box;
  233. z-index: 2147483645;
  234. }
  235. #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  236. font: 15px verdana;
  237. color: #fff;
  238. }
  239. #tarteaucitronAlertBig #tarteaucitronPersonalize {
  240. background: #008300;
  241. color: #fff;
  242. cursor: pointer;
  243. display: inline-block;
  244. font-size: 16px;
  245. padding: 5px 10px;
  246. text-decoration: none;
  247. margin-left: 7px;
  248. }
  249. #tarteaucitronAlertBig #tarteaucitronCloseAlert {
  250. font-size: 11px;
  251. margin-left: 7px;
  252. cursor: pointer;
  253. color: #fff;
  254. }
  255. /***
  256. * Small alert
  257. */
  258. #tarteaucitronAlertSmall {
  259. background: #333;
  260. bottom: 0;
  261. color: #fff !important;
  262. cursor: pointer;
  263. display: none;
  264. font-size: 11px !important;
  265. padding: 5px;
  266. position: fixed;
  267. right: 0;
  268. text-align: center;
  269. z-index: 2147483645;
  270. }
  271. #tarteaucitronAlertSmall #tarteaucitronDot {
  272. background-color: gray;
  273. border-radius: 5px;
  274. display: inline-block;
  275. height: 8px;
  276. margin-top: 5px;
  277. overflow: hidden;
  278. width: 100%;
  279. }
  280. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotGreen,
  281. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotYellow,
  282. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotRed {
  283. display: block;
  284. float: left;
  285. height: 100%;
  286. width: 0%;
  287. }
  288. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotGreen {
  289. background-color: #1B870B;
  290. }
  291. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotYellow {
  292. background-color: #FBDA26;
  293. }
  294. #tarteaucitronAlertSmall #tarteaucitronDot #tarteaucitronDotRed {
  295. background-color: #9C1A1A;
  296. }
  297. /***
  298. * Fallback activate link
  299. */
  300. .tac_activate {
  301. background: #333;
  302. display: block;
  303. height: 100%;
  304. min-height: 100px;
  305. position: relative;
  306. width: 100%;
  307. }
  308. .tac_activate .tac_float {
  309. background: #333;
  310. bottom: 0;
  311. box-sizing: border-box;
  312. color: #fff;
  313. font-size: 14px;
  314. height: 80px;
  315. left: 0;
  316. line-height: initial;
  317. margin: auto;
  318. padding: 10px 0;
  319. position: absolute;
  320. right: 0;
  321. text-align: center;
  322. top: 0;
  323. }
  324. .tac_activate .tac_float b {
  325. color: #fff !important;
  326. }
  327. .tac_activate .tac_float .tarteaucitronAllow {
  328. background-color: #1B870B;
  329. margin-top: 10px;
  330. }
  331. /***
  332. * Fallback links for social networks
  333. */
  334. .tac_share {
  335. display: inline-block;
  336. margin: 0;
  337. padding: 3px 10px;
  338. text-decoration: none;
  339. font-size: 13px;
  340. color: #fff !important;
  341. text-align: center;
  342. }
  343. .tac_share_twitter {
  344. background-color: #4099ff;
  345. }
  346. .tac_share_facebook {
  347. background-color: #3b5998;
  348. }
  349. .tac_share_googlep {
  350. background-color: #D34836;
  351. }
  352. .tac_share_linkedin {
  353. background-color: #3399cc;
  354. }
  355. .tac_share_pinterest {
  356. background-color: #cb2027;
  357. }
  358. .tac_share_digg {
  359. background-color: #0093CC;
  360. }
  361. .tac_share_reddit {
  362. background-color: #2E81D5;
  363. }