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.

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