tarteaucitron.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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:840px) {
  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: 18px;
  62. font-weight: 700;
  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. border: 4px solid #fff;
  97. box-shadow: 0 0 15px #4a4a4a;
  98. display: none;
  99. left: 0;
  100. margin: 0 auto;
  101. max-height: 80%;
  102. max-width: 800px;
  103. overflow: auto;
  104. padding: 0;
  105. position: fixed;
  106. right: 0;
  107. top: 10%;
  108. z-index: 2147483647;
  109. }
  110. #tarteaucitron #tarteaucitronClosePanel {
  111. background: #C63535;
  112. border: 4px solid #fff;
  113. border-right: 0;
  114. color: #fff;
  115. cursor: pointer;
  116. display: none;
  117. float: right;
  118. font-size: 12px;
  119. font-weight: 700;
  120. text-decoration: none;
  121. padding: 4px 0;
  122. text-align: center;
  123. width: 70px;
  124. }
  125. #tarteaucitron #tarteaucitronInfo {
  126. background: url('//opt-out.ferank.eu/css/img/m.gif') no-repeat scroll left center / contain #CB3333;
  127. border-bottom: 4px solid #fff;
  128. clear: both;
  129. color: #fff;
  130. font-size: 18px;
  131. padding: 20px 20px 18px 0;
  132. text-align: right;
  133. }
  134. #tarteaucitron #tarteaucitronServices {
  135. background: #fff;
  136. border-bottom: 4px solid #fff;
  137. min-height: 250px;
  138. }
  139. #tarteaucitron #tarteaucitronServices .tarteaucitronTitle {
  140. background: #d7d7d7;
  141. color: #2d2d2d;
  142. font-size: 20px;
  143. padding: 18px 22px;
  144. }
  145. #tarteaucitron #tarteaucitronServices .tarteaucitronTitle .tarteaucitronDetails {
  146. font-size: 13px;
  147. }
  148. #tarteaucitron #tarteaucitronServices .tarteaucitronLine:hover {
  149. background: #f5f5f5;
  150. }
  151. #tarteaucitron #tarteaucitronServices .tarteaucitronLine {
  152. background: #fafafa;
  153. border-left: 5px solid #f5f5f5;
  154. height: auto;
  155. margin: 1px 0;
  156. min-height: 100%;
  157. overflow: hidden;
  158. padding: 5px;
  159. }
  160. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName {
  161. display: inline-block;
  162. float: left;
  163. margin-left: 15px;
  164. text-align: left;
  165. width: 50%;
  166. }
  167. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk {
  168. display: inline-block;
  169. float: right;
  170. margin: 7px 15px 0;
  171. text-align: right;
  172. }
  173. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,
  174. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny,
  175. .tac_activate .tarteaucitronAllow {
  176. background: gray;
  177. color: #fff;
  178. cursor: pointer;
  179. display: inline-block;
  180. padding: 5px 10px;
  181. text-align: center;
  182. text-decoration: none;
  183. width: auto;
  184. }
  185. #tarteaucitron #tarteaucitronDisclaimer {
  186. background: #fff;
  187. border-top: 1px solid #eee;
  188. color: #333;
  189. font-size: 10px;
  190. line-height: 1.5;
  191. margin-top: 10px;
  192. padding: 14px 10px 12px 10px;
  193. text-align: center;
  194. }
  195. #tarteaucitron #tarteaucitronDisclaimer a {
  196. color: #333;
  197. font-size: 10px;
  198. font-style: normal;
  199. text-decoration: underline;
  200. }
  201. /***
  202. * Big alert
  203. */
  204. #tarteaucitronAlertBig {
  205. background: #333;
  206. color: #fff !important;
  207. display: none;
  208. font-size: 15px !important;
  209. left: 0;
  210. padding: 5px 5%;
  211. position: fixed;
  212. text-align: center;
  213. top: 0;
  214. width: 90%;
  215. box-sizing: content-box;
  216. z-index: 2147483645;
  217. }
  218. #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  219. font: 15px verdana;
  220. color: #fff;
  221. }
  222. #tarteaucitronAlertBig #tarteaucitronPersonalize {
  223. background: #008300;
  224. color: #fff;
  225. cursor: pointer;
  226. display: inline-block;
  227. font-size: 16px;
  228. padding: 5px 10px;
  229. text-decoration: none;
  230. margin-left: 7px;
  231. }
  232. #tarteaucitronAlertBig #tarteaucitronCloseAlert {
  233. font-size: 11px;
  234. margin-left: 7px;
  235. cursor: pointer;
  236. color: #fff;
  237. }
  238. /***
  239. * Small alert
  240. */
  241. #tarteaucitronAlertSmall {
  242. background: #333;
  243. bottom: 0;
  244. color: #fff !important;
  245. cursor: pointer;
  246. display: none;
  247. font-size: 11px !important;
  248. padding: 3px;
  249. padding-right: 5px;
  250. position: fixed;
  251. right: 0;
  252. z-index: 2147483645;
  253. }
  254. #tarteaucitronAlertSmall #tarteaucitronDot {
  255. background-color: #E63737;
  256. border-radius: 10px;
  257. display: inline-block;
  258. height: 10px;
  259. margin: 0px 5px 2px 5px;
  260. vertical-align: middle;
  261. width: 10px;
  262. }
  263. /***
  264. * Fallback activate link
  265. */
  266. .tac_activate {
  267. background: #333;
  268. display: block;
  269. height: 100%;
  270. min-height: 100px;
  271. position: relative;
  272. width: 100%;
  273. }
  274. .tac_activate .tac_float {
  275. background: #333;
  276. bottom: 0;
  277. box-sizing: border-box;
  278. color: #fff;
  279. font-size: 14px;
  280. height: 80px;
  281. left: 0;
  282. line-height: initial;
  283. margin: auto;
  284. padding: 10px 0;
  285. position: absolute;
  286. right: 0;
  287. text-align: center;
  288. top: 0;
  289. }
  290. .tac_activate .tac_float b {
  291. color: #fff !important;
  292. }
  293. .tac_activate .tac_float .tarteaucitronAllow {
  294. background-color: #1B870B;
  295. margin-top: 10px;
  296. }
  297. /***
  298. * Fallback links for social networks
  299. */
  300. .tac_share {
  301. display: inline-block;
  302. margin: 0;
  303. padding: 3px 10px;
  304. text-decoration: none;
  305. font-size: 13px;
  306. color: #fff !important;
  307. text-align: center;
  308. }
  309. .tac_share_twitter {
  310. background-color: #4099ff;
  311. }
  312. .tac_share_facebook {
  313. background-color: #3b5998;
  314. }
  315. .tac_share_googlep {
  316. background-color: #D34836;
  317. }
  318. .tac_share_linkedin {
  319. background-color: #3399cc;
  320. }
  321. .tac_share_pinterest {
  322. background-color: #cb2027;
  323. }
  324. .tac_share_digg {
  325. background-color: #0093CC;
  326. }
  327. .tac_share_reddit {
  328. background-color: #2E81D5;
  329. }