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.

556 lines
13KB

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