tarteaucitron.css 8.2 KB

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