styles.scss 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. /**
  2. * Primary Drupal Styles
  3. * Author: Bachir Soussi Chiadmi
  4. */
  5. body{
  6. font-size:16px;
  7. font-family: "aileron", Arial, "MS Trebuchet", sans-serif;
  8. }
  9. // a{color: #007BC2; text-decoration: none;}
  10. h1{font-size:1.6em;}
  11. h2{font-size:1.5em;}
  12. h3{font-size:1.4em;}
  13. h4{font-size:1.3em;}
  14. h5{font-size:1.2em;}
  15. h6{font-size:1.1em;}
  16. input{font-family: Arial, "MS Trebuchet", sans-serif; font-size:0.8em;}
  17. // __
  18. // _________ / /___ __________
  19. // / ___/ __ \/ / __ \/ ___/ ___/
  20. // / /__/ /_/ / / /_/ / / (__ )
  21. // \___/\____/_/\____/_/ /____/
  22. $vert : #20c498;
  23. $bleu : #1f04a1;
  24. $rouge : #fb3f08;
  25. /** layout */
  26. #center, #sidebar-first, #sidebar-second, .footer-block .region, .header-block{ display:inline-block; vertical-align: top;}
  27. body.two-sidebars #center { width: 54%; }
  28. body.sidebar-first #center { width: 73%; }
  29. body.sidebar-second #center { width: 80%; }
  30. body.no-sidebars #center { width: 100%; }
  31. #sidebar-first { width: 24%; }
  32. #sidebar-second { width: 18%; }
  33. #header, #main, #footer{ padding:0; }
  34. body{
  35. }
  36. #container{
  37. width:1024px; margin:0 auto;
  38. }
  39. #header{
  40. h1{
  41. display:block;
  42. height:335px;
  43. background-image: url(../../images/logo.png);
  44. background-size: contain;
  45. background-position: center;
  46. background-repeat: no-repeat;
  47. text-indent: -2000px;
  48. overflow: hidden;
  49. margin: 0;
  50. }
  51. h2{
  52. text-align: center;
  53. color:$vert;
  54. }
  55. }
  56. // about
  57. #node-63{
  58. color:$bleu;
  59. }
  60. // thematique
  61. .panel-2col-stacked{
  62. background-position: center;
  63. background-size: contain;
  64. background-repeat: no-repeat;
  65. .field-name-field-emvideo img{
  66. width: 100%;
  67. }
  68. .panel-col-top h2{
  69. color: $rouge;
  70. }
  71. .center-wrapper{
  72. .panel-col-first{
  73. width:70%;
  74. }
  75. .panel-col-last{
  76. width:30%;
  77. .field-name-body{
  78. display:none;
  79. }
  80. }
  81. }
  82. .panel-col-bottom{
  83. .field-name-field-episodes{
  84. // letter-spacing: -0.25em;
  85. &>.field-items{
  86. display: flex;
  87. flex-flow: row nowrap;
  88. justify-content: space-between;
  89. &>.field-item{
  90. display: block;
  91. // letter-spacing: normal;
  92. // display: inline-block;
  93. width:19%;
  94. // padding-right:1%;
  95. }
  96. }
  97. }
  98. .field-name-body{
  99. display:none;
  100. }
  101. }
  102. }
  103. #mini-panel-th_matique{
  104. background-image: url(../../images/fond-theme-0.png);
  105. }
  106. #mini-panel-th_matique-1{
  107. background-image: url(../../images/fond-theme-0.png);
  108. }
  109. #mini-panel-th_matique-2{
  110. background-image: url(../../images/fond-theme-0.png);
  111. }
  112. #mini-panel-th_matique-3{
  113. background-image: url(../../images/fond-theme-0.png);
  114. }
  115. #mini-panel-th_matique-4{
  116. background-image: url(../../images/fond-theme-0.png);
  117. }
  118. #mini-panel-th_matique-5{
  119. background-image: url(../../images/fond-theme-0.png);
  120. }
  121. #footer{
  122. }
  123. // .block, .panel-pane{
  124. // border: 1px solid #D1D1D1; padding:0.5em; margin:0.5em;
  125. // -moz-border-radius: 5px;
  126. // -webkit-border-radius: 5px;
  127. // border-radius: 5px;
  128. // background-color: #EAEAEA;
  129. // }
  130. .footer-block .block{
  131. // background-color: #353535; border: 1px solid #1a1a1a;
  132. }
  133. #footer-bottom{ text-align: center;}
  134. #footer-bottom .block{
  135. background-color: transparent;
  136. // border: 0 solid #999;
  137. font-size:0.7em;
  138. }
  139. #content{padding:1em;}
  140. /** Messages. */
  141. div.messages {
  142. padding: 9px;
  143. margin: 0.5em 0 0;
  144. color: #036;
  145. background: #bdf;
  146. border: 1px solid #ace;
  147. -moz-border-radius: 5px;
  148. -webkit-border-radius: 5px;
  149. border-radius: 5px;
  150. }
  151. div.warning {
  152. color: #840;
  153. background: #fe6;
  154. border-color: #ed5;
  155. }
  156. div.error {
  157. color: #fff;
  158. background: #e63;
  159. border-color: #d52;
  160. }
  161. div.error p.error {
  162. color: #333;
  163. }
  164. div.status {
  165. color: #360;
  166. background: #cf8;
  167. border-color: #be7;
  168. }
  169. /** Tab navigation */
  170. ul.primary, .views-admin-links ul {
  171. font:13px/1.231 sans-serif; *font-size:small;
  172. border-collapse: collapse;
  173. padding: 0 0 0 1em; /* LTR */
  174. white-space: nowrap;
  175. list-style: none;
  176. margin: 5px;
  177. height: auto;
  178. line-height: normal;
  179. // border-bottom: 1px solid #bbb;
  180. }
  181. ul.primary li, .views-admin-links li{
  182. display: inline;
  183. }
  184. ul.primary li a, .views-admin-links li a {
  185. // background-color: #ddd;
  186. // border-color: #bbb;
  187. border-width: 1px;
  188. border-style: solid solid none solid;
  189. height: auto;
  190. margin-right: 0.5em; /* LTR */
  191. padding: 0 1em;
  192. text-decoration: none;
  193. -moz-border-radius-topleft: 5px;
  194. -webkit-border-top-left-radius: 5px;
  195. border-top-left-radius: 5px;
  196. -moz-border-radius-topright: 5px;
  197. -webkit-border-top-right-radius: 5px;
  198. border-top-right-radius: 5px;
  199. }
  200. // ul.primary li.active a {
  201. // background-color: #fff;
  202. // border: 1px solid #bbb;
  203. // border-bottom: #fff 1px solid;
  204. // }
  205. // ul.primary li a:hover, .views-admin-links li a:hover{
  206. // background-color: #eee;
  207. // border-color: #ccc;
  208. // border-bottom-color: #eee;
  209. // }
  210. // ul.secondary {
  211. // border-bottom: 1px solid #bbb;
  212. // padding: 0.5em 1em;
  213. // margin: 5px;
  214. // }
  215. // ul.secondary li {
  216. // display: inline;
  217. // padding: 0 1em;
  218. // border-right: 1px solid #ccc; /* LTR */
  219. // }
  220. // ul.secondary a {
  221. // padding: 0;
  222. // text-decoration: none;
  223. // }
  224. // ul.secondary a.active {
  225. // border-bottom: 4px solid #999;
  226. // }
  227. //
  228. /** Form */
  229. #node-form .form-region-main{border-right: 1px solid #BFBFBF; padding-right:10px; width:68%;}
  230. #node-form .form-region-main label{float:left; min-width:25%;}
  231. #node-form .form-region-main input.form-text{width:40%;}
  232. #node-form .form-region-right{padding-left:5px;}
  233. #node-form .form-region-right label{float:left; min-width:35%;}
  234. #node-form .form-region-right input.form-text{width:60%;}
  235. #node-form .form-region-main label.option, #node-form .form-region-right label.option{float: none;}
  236. form:not( #views-ui-config-item-form ) .form-item {
  237. position:relative;
  238. /* padding:9px;*/
  239. }
  240. form:not( #views-ui-config-item-form ) .form-item .description{
  241. position:absolute;
  242. bottom:140%;
  243. /* right:-15px;*/
  244. z-index:5;
  245. left:50%;
  246. color:#1A1A1A;
  247. line-height:1.1;
  248. background:url(../images/popup.png) 50% 100% no-repeat;
  249. width:240px;
  250. margin:0px 0px -15px;
  251. padding:9px 10px 20px;
  252. display:none;
  253. border-top: 1px solid #9F9F9F;
  254. }
  255. form:not( #views-ui-config-item-form ) .form-item:hover {
  256. z-index:1;
  257. height:auto; /* Fix for flicker in IE7 */
  258. }
  259. form:not( #views-ui-config-item-form ) .form-item:hover > .description { display:block; }
  260. fieldset{
  261. border: 1px solid #D4D4D4;
  262. padding:10px;
  263. margin-bottom:1em;
  264. -moz-border-radius: 5px;
  265. -webkit-border-radius: 5px;
  266. border-radius: 5px;
  267. }
  268. fieldset legend{
  269. font-size:1.6em;
  270. }
  271. input.form-text{max-width:95%;}
  272. /** TABLE */
  273. table{width:100%;
  274. -moz-border-radius: 5px;
  275. -webkit-border-radius: 5px;
  276. border-radius: 5px;
  277. }
  278. table thead th{
  279. background-color: #CCC;
  280. padding:0.5em 1em;
  281. text-align: left;
  282. }
  283. table tbody tr.even, table tbody tr.odd{
  284. border-bottom: 0 solid #CCCCCC;
  285. padding: 0.1em 0.6em;
  286. }
  287. table tbody tr.even{background-color: #EEE;}
  288. table tbody tr.odd{background-color: #E5E5E5;}
  289. table tbody td{
  290. padding:0.5em 1em;
  291. text-align: left;
  292. }
  293. td.active {background-color: transparent;}