You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

492 lines
12KB

  1. body.skin-black {
  2. // Gestion des retours à la ligne (à cause de la difficulté à gérer du HTMl dans les tooltip)
  3. .ui-tooltip {
  4. white-space: pre-wrap;
  5. }
  6. .main-header {
  7. .logo {
  8. background-color: white ;
  9. font-family: 'highvoltageregular';
  10. font-size: 23px;
  11. position: relative;
  12. &:hover, &:focus {
  13. background-color: white ;
  14. text-decoration: none;
  15. }
  16. img {
  17. position: relative;
  18. max-width: 300px;
  19. max-height: 300px;
  20. height: auto;
  21. }
  22. .logo-lg {
  23. img {
  24. width: 90px ;
  25. top: -2px;
  26. }
  27. }
  28. .logo-mini {
  29. img {
  30. width: 50px ;
  31. }
  32. }
  33. }
  34. .navbar {
  35. display: block;
  36. background-color: white ;
  37. padding: 0px;
  38. .producer-panel {
  39. position: relative;
  40. float: left;
  41. padding: 15px;
  42. padding-left: 50px;
  43. margin-left: 7px;
  44. &.without-logo {
  45. padding-left: 10px;
  46. }
  47. .logo {
  48. position: absolute;
  49. top: 5px;
  50. left: 0px;
  51. background-color: white;
  52. width: 40px;
  53. height: 40px;
  54. @include border-radius(50px);
  55. border: solid 1px #e0e0e0;
  56. text-align: center;
  57. overflow: hidden;
  58. .img-logo {
  59. position: absolute;
  60. top: 50%;
  61. left: 50%;
  62. transform: translate(-50%, -50%);
  63. max-width: 35px;
  64. max-height: 35px;
  65. }
  66. }
  67. .title {
  68. position: relative;
  69. top: 2px;
  70. text-transform: uppercase;
  71. }
  72. }
  73. .sidebar-toggle {
  74. color: #333 ;
  75. }
  76. .link-support {
  77. float: left;
  78. padding: 15px 15px;
  79. border-right: solid 1px #e0e0e0;
  80. color: #333;
  81. &:hover {
  82. text-decoration: none;
  83. color: $color1;
  84. }
  85. }
  86. .navbar-custom-menu .nav {
  87. display: block;
  88. }
  89. .navbar-custom-menu .navbar-nav > li > a,
  90. .navbar-right > li > a {
  91. border-left: solid 1px #e0e0e0 ;
  92. color: #333 ;
  93. }
  94. .nav > li > a:hover, .nav > li > a:active, .nav > li > a:focus,
  95. .nav .open > a, .nav .open > a:hover, .nav .open > a:focus,
  96. .nav > .active > a {
  97. color: $color1 ;
  98. }
  99. .dropdown-menu {
  100. @include box-shadow(0px 0px 4px gray) ;
  101. }
  102. }
  103. .logo, .navbar .sidebar-toggle {
  104. border-right: solid 1px #e0e0e0 ;
  105. }
  106. .link-control-sidebar {
  107. display: none ;
  108. }
  109. .notifications-menu {
  110. ul.menu {
  111. max-height: 300px ;
  112. li {
  113. a {
  114. padding-top: 4px ;
  115. padding-bottom: 4px ;
  116. h5 {
  117. margin-bottom: 2px ;
  118. small {
  119. float: right ;
  120. }
  121. }
  122. p {
  123. margin-left: 10px ;
  124. }
  125. }
  126. }
  127. }
  128. }
  129. .navbar .nav li.producer-menu {
  130. .dropdown-menu {
  131. width: 400px;
  132. }
  133. .search-producer {
  134. margin: 10px;
  135. width: 94%;
  136. }
  137. .li-alert-no-results {
  138. display: none;
  139. .alert {
  140. margin-bottom: 0px;
  141. margin-left: 10px;
  142. margin-right: 10px;
  143. padding: 15px 15px 10px 15px;
  144. }
  145. }
  146. .label {
  147. position: relative ;
  148. top: -2px ;
  149. left: 0px ;
  150. }
  151. #link-display-producers-offline {
  152. color: $color1;
  153. }
  154. .offline {
  155. display: none;
  156. }
  157. }
  158. }
  159. .sidebar {
  160. .sidebar-menu > li.header {
  161. color: #899397;
  162. }
  163. .label {
  164. padding-top: 5px;
  165. position: relative;
  166. top: -3px;
  167. }
  168. }
  169. .sidebar-menu > li.active > a {
  170. border-color: $color1 ;
  171. }
  172. section.sidebar {
  173. .user-panel {
  174. text-align: center;
  175. .image {
  176. margin-bottom: 3px;
  177. }
  178. .title {
  179. font-weight: bold;
  180. color: white;
  181. }
  182. }
  183. }
  184. .content-wrapper {
  185. background-color: #f5f5f5 ;
  186. .content-header {
  187. background-color: #F5F5F5 ;
  188. padding-bottom: 15px ;
  189. border-bottom: solid 1px #e0e0e0 ;
  190. border-top: solid 1px #e0e0e0 ;
  191. .btn {
  192. padding: 3px 6px;
  193. font-size: 10px;
  194. font-family: Arial;
  195. text-transform: uppercase;
  196. }
  197. h1 {
  198. font-family: 'myriadpro-light';
  199. font-size: 20px;
  200. }
  201. }
  202. .col-no-padding-left {
  203. padding-left: 0px;
  204. }
  205. .col-no-padding-right {
  206. padding-right: 0px;
  207. }
  208. a {
  209. color: darken($color1, 5) ;
  210. &.disable {
  211. pointer-events: none;
  212. cursor: default;
  213. }
  214. }
  215. .label {
  216. padding-top: 4px;
  217. padding-bottom: 1px;
  218. }
  219. .btn {
  220. color: white ;
  221. }
  222. .btn-default {
  223. color: #333 ;
  224. background-color: white ;
  225. }
  226. .btn-primary {
  227. background-color: $color1 ;
  228. color: white ;
  229. border-color: $color1 ;
  230. }
  231. .nav.nav-tabs {
  232. .badge {
  233. margin-left: 4px;
  234. background-color: #e0e0e0;
  235. color: #444;
  236. }
  237. }
  238. .tab-content {
  239. border-left: solid 1px #ddd;
  240. border-bottom: solid 1px #ddd;
  241. border-right: solid 1px #ddd;
  242. padding: 30px 15px 15px 15px;
  243. background-color: white;
  244. }
  245. .alert {
  246. position: relative;
  247. a {
  248. color: white ;
  249. }
  250. a.btn {
  251. color: #333 ;
  252. text-decoration: none ;
  253. }
  254. .close {
  255. font-size: 30px;
  256. position: absolute;
  257. top: 10px;
  258. right: 15px;
  259. text-decoration: none;
  260. color: white;
  261. opacity: 0.6;
  262. &:hover {
  263. opacity: 1;
  264. }
  265. }
  266. &.alert-dark {
  267. background-color: #ece4d8;
  268. color: black;
  269. }
  270. }
  271. .small-box {
  272. h3 {
  273. font-size: 28px;
  274. font-family: 'Source Sans Pro',sans-serif;
  275. }
  276. .icon {
  277. top: -2px;
  278. }
  279. .small-box-footer {
  280. color: white;
  281. padding-top: 6px;
  282. padding-bottom: 2px;
  283. }
  284. }
  285. .callout {
  286. h4 .fa {
  287. margin-right: 7px ;
  288. }
  289. a {
  290. color: white ;
  291. }
  292. .btn {
  293. color: #333 ;
  294. text-decoration: none ;
  295. }
  296. }
  297. .table {
  298. th {
  299. font-size: 13px ;
  300. }
  301. th.column-actions, td.column-actions {
  302. width: 172px;
  303. text-align: right ;
  304. }
  305. td.text-small, th.text-small {
  306. font-size: 12px ;
  307. }
  308. &.table-bordered > thead > tr > th,
  309. &.table-bordered > tbody > tr > th,
  310. &.table-bordered > tfoot > tr > th,
  311. &.table-bordered > thead > tr > td,
  312. &.table-bordered > tbody > tr > td,
  313. &.table-bordered > tfoot > tr > td {
  314. border: 1px solid #ddd;
  315. }
  316. &.table-bordered > thead > tr > th,
  317. &.table-bordered > thead > tr > td {
  318. border-bottom-width: 2px;
  319. }
  320. }
  321. .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  322. background-color: $color1 ;
  323. border: solid 1px $color1 ;
  324. color: white ;
  325. }
  326. .pagination > li > a, .pagination > li > span {
  327. color: $color1 ;
  328. &:hover {
  329. color: darken($color1, 10) ;
  330. }
  331. }
  332. .submenu {
  333. margin-bottom: 25px ;
  334. }
  335. .form-actions {
  336. position: fixed;
  337. bottom: 0;
  338. left: 0;
  339. right: 0;
  340. width: 100%;
  341. padding: 15px 30px 15px 30px;
  342. margin: 0px;
  343. background-color: white;
  344. text-align: right;
  345. z-index: 10;
  346. border-top: solid 1px #e0e0e0;
  347. a, button {
  348. margin-left: 10px;
  349. }
  350. }
  351. .form-buttons {
  352. margin-top: 25px;
  353. text-align: right;
  354. }
  355. }
  356. .main-footer {
  357. a {
  358. color: $color1 ;
  359. }
  360. }
  361. .gridview-pagesize {
  362. float: right;
  363. margin-bottom: 8px;
  364. }
  365. #yii-debug-toolbar {
  366. bottom: 64px;
  367. }
  368. }
  369. body.login-page {
  370. background: none ;
  371. background-color: $color2 ;
  372. .login-box {
  373. .login-logo {
  374. text-align: center ;
  375. font-family: 'worksans_bold';
  376. img {
  377. width: 150px ;
  378. }
  379. }
  380. .login-box-body {
  381. &,
  382. input#loginform-email,
  383. input#loginform-password,
  384. .btn-primary {
  385. font-size: 14px;
  386. }
  387. .btn-primary {
  388. background-color: $color1 ;
  389. border-color: $color1 ;
  390. padding: 5px 10px ;
  391. margin-bottom: 15px;
  392. &:active {
  393. background-color: lighten($color1, 5) ;
  394. border-color: $color1 ;
  395. }
  396. }
  397. a {
  398. color: $color1 ;
  399. &:hover {
  400. color: lighten($color1, 5) ;
  401. }
  402. }
  403. .checkbox label input {
  404. position: relative;
  405. top: 0px;
  406. }
  407. }
  408. }
  409. }