tarteaucitron.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. /***
  2. * Responsive layout for the control panel
  3. */
  4. @media screen and (max-width:650px) {
  5. #tarteaucitron .tarteaucitronLine .tarteaucitronName {
  6. width: 90% !important;
  7. }
  8. #tarteaucitron .tarteaucitronLine .tarteaucitronAsk {
  9. float: left !important;
  10. margin: 10px 15px 5px;
  11. }
  12. }
  13. @media screen and (max-width:1020px) {
  14. #tarteaucitron {
  15. top: 0;
  16. }
  17. #tarteaucitron #tarteaucitronDisclaimer {
  18. font-size: 14px;
  19. }
  20. }
  21. /***
  22. * Common value
  23. */
  24. #tarteaucitron * {
  25. zoom: 1;
  26. }
  27. #tarteaucitron .clear {
  28. clear: both;
  29. }
  30. #tarteaucitron a {
  31. color: #000;
  32. text-decoration: underline;
  33. }
  34. #tarteaucitronAlertBig a, #tarteaucitronAlertSmall a {
  35. color: #fff;
  36. }
  37. #tarteaucitron b {
  38. font-size: 18px;
  39. font-weight: 700;
  40. }
  41. #tarteaucitron em {
  42. cursor: pointer;
  43. text-decoration: underline;
  44. font-size: 12px;
  45. font-style: italic;
  46. }
  47. #tarteaucitron .tarteaucitronMore em {
  48. cursor: text;
  49. font-size: 14px;
  50. text-decoration: none;
  51. }
  52. /***
  53. * Root div added just before </body>
  54. */
  55. #tarteaucitronRoot {
  56. left: 0;
  57. position: absolute;
  58. right: 0;
  59. top: 0;
  60. width: 100%;
  61. }
  62. #tarteaucitronRoot * {
  63. color: #333;
  64. font-family: verdana;
  65. font-size: 14px;
  66. }
  67. /***
  68. * Control panel
  69. */
  70. #tarteaucitronBack {
  71. background: rgba(255, 255, 255, 0.7);
  72. display: none;
  73. height: 100%;
  74. left: 0;
  75. position: fixed;
  76. top: 0;
  77. width: 100%;
  78. z-index: 2147483646;
  79. }
  80. #tarteaucitron {
  81. background: #333;
  82. border: 0;
  83. border-bottom: 50px solid;
  84. display: none;
  85. left: 0;
  86. margin: 0 auto;
  87. max-width: 1020px;
  88. position: relative;
  89. right: 0;
  90. top: 0;
  91. z-index: 2147483647;
  92. }
  93. #tarteaucitron #tarteaucitronClosePanel {
  94. color: #FFF;
  95. cursor: pointer;
  96. display: block;
  97. text-decoration: underline;
  98. font-family: verdana;
  99. margin: 0px 15px 15px 0;
  100. padding-top: 10px;
  101. text-align: right;
  102. }
  103. #tarteaucitron #tarteaucitronDisclaimer {
  104. color: #fff;
  105. font-size: 16px;
  106. margin: 0 auto 30px;
  107. max-width: 800px;
  108. padding: 0 15px;
  109. text-align: center;
  110. }
  111. #tarteaucitron .tarteaucitronTitle {
  112. background: rgb(81, 81, 81);
  113. color: #FFF;
  114. font-size: 16px;
  115. padding: 5px 0px 5px 22px;
  116. margin-top: 15px;
  117. }
  118. #tarteaucitron .tarteaucitronLine {
  119. background: #f5f5f5;
  120. border-bottom: 1px solid #fff;
  121. border-top: 1px solid #fff;
  122. height: auto;
  123. min-height: 100%;
  124. overflow: hidden;
  125. padding: 5px;
  126. }
  127. #tarteaucitron .tarteaucitronLine .tarteaucitronName {
  128. display: inline-block;
  129. float: left;
  130. margin-left: 15px;
  131. text-align: left;
  132. width: 50%;
  133. }
  134. #tarteaucitron .tarteaucitronLine .tarteaucitronAsk {
  135. display: inline-block;
  136. float: right;
  137. margin: 7px 15px 0;
  138. text-align: right;
  139. }
  140. #tarteaucitron .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,
  141. #tarteaucitron .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny {
  142. background: gray;
  143. color: #fff;
  144. cursor: pointer;
  145. display: inline-block;
  146. padding: 5px 10px;
  147. text-align: center;
  148. text-decoration: none;
  149. width: auto;
  150. }
  151. #tarteaucitron .tarteaucitronLine .tarteaucitronMore {
  152. display: none;
  153. }
  154. /***
  155. * Big alert
  156. */
  157. #tarteaucitronAlertBig {
  158. background: #333;
  159. color: #fff !important;
  160. display: none;
  161. font-size: 15px !important;
  162. left: 0;
  163. padding: 5px 5%;
  164. position: fixed;
  165. text-align: center;
  166. top: 0;
  167. width: 90%;
  168. box-sizing: content-box;
  169. z-index: 2147483645;
  170. }
  171. #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  172. font: 15px verdana;
  173. color: #fff;
  174. }
  175. #tarteaucitronAlertBig #tarteaucitronPersonalize {
  176. background: #008300;
  177. color: #fff;
  178. cursor: pointer;
  179. display: inline-block;
  180. font-size: 16px;
  181. padding: 5px 10px;
  182. text-decoration: none;
  183. margin-left: 7px;
  184. }
  185. #tarteaucitronAlertBig #tarteaucitronCloseAlert {
  186. font-size: 11px;
  187. margin-left: 7px;
  188. cursor: pointer;
  189. color: #fff;
  190. }
  191. /***
  192. * Small alert
  193. */
  194. #tarteaucitronAlertSmall {
  195. background: #333;
  196. bottom: 0;
  197. color: #fff !important;
  198. cursor: pointer;
  199. display: none;
  200. font-size: 11px !important;
  201. padding: 3px;
  202. padding-right: 5px;
  203. position: fixed;
  204. right: 0;
  205. z-index: 2147483645;
  206. }
  207. #tarteaucitronAlertSmall #tarteaucitronDot {
  208. background-color: #E63737;
  209. border-radius: 10px;
  210. display: inline-block;
  211. height: 10px;
  212. margin: 0px 5px 2px 5px;
  213. vertical-align: middle;
  214. width: 10px;
  215. }
  216. /***
  217. * Fallback links for social networks
  218. */
  219. .tac_share {
  220. display: inline-block;
  221. margin: 0;
  222. padding: 3px 10px;
  223. text-decoration: none;
  224. font-size: 13px;
  225. color: #fff !important;
  226. text-align: center;
  227. }
  228. .tac_share_twitter {
  229. background-color: #4099ff;
  230. }
  231. .tac_share_facebook {
  232. background-color: #3b5998;
  233. }
  234. .tac_share_googlep {
  235. background-color: #D34836;
  236. }
  237. .tac_share_linkedin {
  238. background-color: #3399cc;
  239. }
  240. .tac_share_pinterest {
  241. background-color: #cb2027;
  242. }
  243. .tac_share_digg {
  244. background-color: #0093CC;
  245. }
  246. .tac_share_reddit {
  247. background-color: #2E81D5;
  248. }