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.

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