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.

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