tarteaucitron.css 4.9 KB

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