tarteaucitron.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  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: 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. max-width: 800px;
  102. overflow: auto;
  103. padding: 0;
  104. position: fixed;
  105. right: 0;
  106. top: 10%;
  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: #f2f2f2;
  146. color: #333;
  147. font-size: 20px;
  148. padding: 18px 22px;
  149. }
  150. #tarteaucitron #tarteaucitronServices .tarteaucitronTitle .tarteaucitronDetails {
  151. color: #777;
  152. font-size: 13px;
  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 .tarteaucitronLine .tarteaucitronName {
  167. display: inline-block;
  168. float: left;
  169. margin-left: 15px;
  170. text-align: left;
  171. width: 50%;
  172. }
  173. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk {
  174. display: inline-block;
  175. float: right;
  176. margin: 7px 15px 0;
  177. text-align: right;
  178. }
  179. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,
  180. #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny,
  181. .tac_activate .tarteaucitronAllow {
  182. background: gray;
  183. border-radius: 4px;
  184. color: #fff;
  185. cursor: pointer;
  186. display: inline-block;
  187. padding: 6px 10px;
  188. text-align: center;
  189. text-decoration: none;
  190. width: auto;
  191. }
  192. #tarteaucitron #tarteaucitronFooter {
  193. background: #f2f2f2;
  194. border-top: 1px solid #eee;
  195. margin: 20px auto 0px;
  196. padding: 15px 0 15px;
  197. text-align: center;
  198. }
  199. #tarteaucitron #tarteaucitronFooter a {
  200. color: #333;
  201. font-style: normal;
  202. text-decoration: underline;
  203. }
  204. /***
  205. * Big alert
  206. */
  207. #tarteaucitronAlertBig {
  208. background: #333;
  209. color: #fff !important;
  210. display: none;
  211. font-size: 15px !important;
  212. left: 0;
  213. padding: 5px 5%;
  214. position: fixed;
  215. text-align: center;
  216. top: 0;
  217. width: 90%;
  218. box-sizing: content-box;
  219. z-index: 2147483645;
  220. }
  221. #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  222. font: 15px verdana;
  223. color: #fff;
  224. }
  225. #tarteaucitronAlertBig #tarteaucitronPersonalize {
  226. background: #008300;
  227. color: #fff;
  228. cursor: pointer;
  229. display: inline-block;
  230. font-size: 16px;
  231. padding: 5px 10px;
  232. text-decoration: none;
  233. margin-left: 7px;
  234. }
  235. #tarteaucitronAlertBig #tarteaucitronCloseAlert {
  236. font-size: 11px;
  237. margin-left: 7px;
  238. cursor: pointer;
  239. color: #fff;
  240. }
  241. /***
  242. * Small alert
  243. */
  244. #tarteaucitronAlertSmall {
  245. background: #333;
  246. bottom: 0;
  247. color: #fff !important;
  248. cursor: pointer;
  249. display: none;
  250. font-size: 11px !important;
  251. padding: 3px;
  252. padding-right: 5px;
  253. position: fixed;
  254. right: 0;
  255. z-index: 2147483645;
  256. }
  257. #tarteaucitronAlertSmall #tarteaucitronDot {
  258. background-color: #E63737;
  259. border-radius: 10px;
  260. display: inline-block;
  261. height: 10px;
  262. margin: 0px 5px 2px 5px;
  263. vertical-align: middle;
  264. width: 10px;
  265. }
  266. /***
  267. * Fallback activate link
  268. */
  269. .tac_activate {
  270. background: #333;
  271. display: block;
  272. height: 100%;
  273. min-height: 100px;
  274. position: relative;
  275. width: 100%;
  276. }
  277. .tac_activate .tac_float {
  278. background: #333;
  279. bottom: 0;
  280. box-sizing: border-box;
  281. color: #fff;
  282. font-size: 14px;
  283. height: 80px;
  284. left: 0;
  285. line-height: initial;
  286. margin: auto;
  287. padding: 10px 0;
  288. position: absolute;
  289. right: 0;
  290. text-align: center;
  291. top: 0;
  292. }
  293. .tac_activate .tac_float b {
  294. color: #fff !important;
  295. }
  296. .tac_activate .tac_float .tarteaucitronAllow {
  297. background-color: #1B870B;
  298. margin-top: 10px;
  299. }
  300. /***
  301. * Fallback links for social networks
  302. */
  303. .tac_share {
  304. display: inline-block;
  305. margin: 0;
  306. padding: 3px 10px;
  307. text-decoration: none;
  308. font-size: 13px;
  309. color: #fff !important;
  310. text-align: center;
  311. }
  312. .tac_share_twitter {
  313. background-color: #4099ff;
  314. }
  315. .tac_share_facebook {
  316. background-color: #3b5998;
  317. }
  318. .tac_share_googlep {
  319. background-color: #D34836;
  320. }
  321. .tac_share_linkedin {
  322. background-color: #3399cc;
  323. }
  324. .tac_share_pinterest {
  325. background-color: #cb2027;
  326. }
  327. .tac_share_digg {
  328. background-color: #0093CC;
  329. }
  330. .tac_share_reddit {
  331. background-color: #2E81D5;
  332. }