styles.scss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. /**
  2. * Primary Drupal Styles
  3. * Author: Bachir Soussi Chiadmi
  4. */
  5. body{font-size:16px; font-family: Arial, "MS Trebuchet", sans-serif;}
  6. a{color: #007BC2; text-decoration: none;}
  7. h1{font-size:1.6em;}
  8. h2{font-size:1.5em;}
  9. h3{font-size:1.4em;}
  10. h4{font-size:1.3em;}
  11. h5{font-size:1.2em;}
  12. h6{font-size:1.1em;}
  13. input{font-family: Arial, "MS Trebuchet", sans-serif; font-size:0.8em;}
  14. /** layout */
  15. #center, #sidebar-first, #sidebar-second, .footer-block .region, .header-block{ display:inline-block; vertical-align: top;}
  16. body.two-sidebars #center { width: 54%; }
  17. body.sidebar-first #center { width: 73%; }
  18. body.sidebar-second #center { width: 80%; }
  19. body.no-sidebars #center { width: 100%; }
  20. #sidebar-first { width: 24%; }
  21. #sidebar-second { width: 18%; }
  22. #header, #main, #footer{ padding:1em; }
  23. body{background-color: #DFDFDF;}
  24. #container{width:1024px; margin:0 auto; background-color: #FFF;}
  25. #header, #footer{background-color: #535353; color:#fff;}
  26. .block, .panel-pane{
  27. border: 1px solid #D1D1D1; padding:0.5em; margin:0.5em;
  28. -moz-border-radius: 5px;
  29. -webkit-border-radius: 5px;
  30. border-radius: 5px;
  31. background-color: #EAEAEA;
  32. }
  33. .footer-block .block{
  34. background-color: #353535; border: 1px solid #1a1a1a;
  35. }
  36. #footer-bottom{ text-align: center;}
  37. #footer-bottom .block{ background-color: transparent; border: 0 solid #999; font-size:0.7em;}
  38. #content{padding:1em;}
  39. .logo h1, h1.page-title{font-size:2em;}
  40. #header ul.menu li,
  41. #content-top ul.menu li,
  42. #content-bottom ul.menu li,
  43. #footer ul.menu li{display:inline-block; vertical-align:top; }
  44. .views-row{margin-bottom:1em;}
  45. .views-field-title{font-size:1.1em; font-weight:bold;}
  46. .views-field-title a{color: #444444; text-decoration:none;}
  47. li, .item-list ul li{list-style: none inside url(); margin-left:0;}
  48. /** Messages. */
  49. div.messages {
  50. padding: 9px;
  51. margin: 0.5em 0 0;
  52. color: #036;
  53. background: #bdf;
  54. border: 1px solid #ace;
  55. -moz-border-radius: 5px;
  56. -webkit-border-radius: 5px;
  57. border-radius: 5px;
  58. }
  59. div.warning {
  60. color: #840;
  61. background: #fe6;
  62. border-color: #ed5;
  63. }
  64. div.error {
  65. color: #fff;
  66. background: #e63;
  67. border-color: #d52;
  68. }
  69. div.error p.error {
  70. color: #333;
  71. }
  72. div.status {
  73. color: #360;
  74. background: #cf8;
  75. border-color: #be7;
  76. }
  77. /** Tab navigation */
  78. ul.primary, .views-admin-links ul {
  79. font:13px/1.231 sans-serif; *font-size:small;
  80. border-collapse: collapse;
  81. padding: 0 0 0 1em; /* LTR */
  82. white-space: nowrap;
  83. list-style: none;
  84. margin: 5px;
  85. height: auto;
  86. line-height: normal;
  87. border-bottom: 1px solid #bbb;
  88. }
  89. ul.primary li, .views-admin-links li{
  90. display: inline;
  91. }
  92. ul.primary li a, .views-admin-links li a {
  93. background-color: #ddd;
  94. border-color: #bbb;
  95. border-width: 1px;
  96. border-style: solid solid none solid;
  97. height: auto;
  98. margin-right: 0.5em; /* LTR */
  99. padding: 0 1em;
  100. text-decoration: none;
  101. -moz-border-radius-topleft: 5px;
  102. -webkit-border-top-left-radius: 5px;
  103. border-top-left-radius: 5px;
  104. -moz-border-radius-topright: 5px;
  105. -webkit-border-top-right-radius: 5px;
  106. border-top-right-radius: 5px;
  107. }
  108. ul.primary li.active a {
  109. background-color: #fff;
  110. border: 1px solid #bbb;
  111. border-bottom: #fff 1px solid;
  112. }
  113. ul.primary li a:hover, .views-admin-links li a:hover{
  114. background-color: #eee;
  115. border-color: #ccc;
  116. border-bottom-color: #eee;
  117. }
  118. ul.secondary {
  119. border-bottom: 1px solid #bbb;
  120. padding: 0.5em 1em;
  121. margin: 5px;
  122. }
  123. ul.secondary li {
  124. display: inline;
  125. padding: 0 1em;
  126. border-right: 1px solid #ccc; /* LTR */
  127. }
  128. ul.secondary a {
  129. padding: 0;
  130. text-decoration: none;
  131. }
  132. ul.secondary a.active {
  133. border-bottom: 4px solid #999;
  134. }
  135. /** Form */
  136. #node-form .form-region-main{border-right: 1px solid #BFBFBF; padding-right:10px; width:68%;}
  137. #node-form .form-region-main label{float:left; min-width:25%;}
  138. #node-form .form-region-main input.form-text{width:40%;}
  139. #node-form .form-region-right{padding-left:5px;}
  140. #node-form .form-region-right label{float:left; min-width:35%;}
  141. #node-form .form-region-right input.form-text{width:60%;}
  142. #node-form .form-region-main label.option, #node-form .form-region-right label.option{float: none;}
  143. form:not( #views-ui-config-item-form ) .form-item {
  144. position:relative;
  145. /* padding:9px;*/
  146. }
  147. form:not( #views-ui-config-item-form ) .form-item .description{
  148. position:absolute;
  149. bottom:140%;
  150. /* right:-15px;*/
  151. z-index:5;
  152. left:50%;
  153. color:#1A1A1A;
  154. line-height:1.1;
  155. background:url(../images/popup.png) 50% 100% no-repeat;
  156. width:240px;
  157. margin:0px 0px -15px;
  158. padding:9px 10px 20px;
  159. display:none;
  160. border-top: 1px solid #9F9F9F;
  161. }
  162. form:not( #views-ui-config-item-form ) .form-item:hover {
  163. z-index:1;
  164. height:auto; /* Fix for flicker in IE7 */
  165. }
  166. form:not( #views-ui-config-item-form ) .form-item:hover > .description { display:block; }
  167. fieldset{
  168. border: 1px solid #D4D4D4;
  169. padding:10px;
  170. margin-bottom:1em;
  171. -moz-border-radius: 5px;
  172. -webkit-border-radius: 5px;
  173. border-radius: 5px;
  174. }
  175. fieldset legend{
  176. font-size:1.6em;
  177. }
  178. input.form-text{max-width:95%;}
  179. /** TABLE */
  180. table{width:100%;
  181. -moz-border-radius: 5px;
  182. -webkit-border-radius: 5px;
  183. border-radius: 5px;
  184. }
  185. table thead th{
  186. background-color: #CCC;
  187. padding:0.5em 1em;
  188. text-align: left;
  189. }
  190. table tbody tr.even, table tbody tr.odd{
  191. border-bottom: 0 solid #CCCCCC;
  192. padding: 0.1em 0.6em;
  193. }
  194. table tbody tr.even{background-color: #EEE;}
  195. table tbody tr.odd{background-color: #E5E5E5;}
  196. table tbody td{
  197. padding:0.5em 1em;
  198. text-align: left;
  199. }
  200. td.active {background-color: transparent;}