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.

_adminlte.scss 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565
  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. }
  410. .form-buttons {
  411. margin-top: 25px;
  412. text-align: right;
  413. }
  414. }
  415. .main-footer {
  416. a {
  417. color: $color1 ;
  418. }
  419. }
  420. .gridview-pagesize {
  421. float: right;
  422. margin-bottom: 8px;
  423. }
  424. #yii-debug-toolbar {
  425. bottom: 64px;
  426. }
  427. }
  428. body.login-page {
  429. background: none ;
  430. background-color: $color2 ;
  431. .login-box {
  432. .login-logo {
  433. text-align: center ;
  434. font-family: 'worksans_bold';
  435. img {
  436. width: 150px ;
  437. }
  438. }
  439. .login-box-body {
  440. &,
  441. input#loginform-email,
  442. input#loginform-password,
  443. .btn-primary {
  444. font-size: 14px;
  445. }
  446. .btn-primary {
  447. background-color: $color1 ;
  448. border-color: $color1 ;
  449. padding: 5px 10px ;
  450. margin-bottom: 15px;
  451. &:active {
  452. background-color: lighten($color1, 5) ;
  453. border-color: $color1 ;
  454. }
  455. }
  456. a {
  457. color: $color1 ;
  458. &:hover {
  459. color: lighten($color1, 5) ;
  460. }
  461. }
  462. .checkbox label input {
  463. position: relative;
  464. top: 0px;
  465. }
  466. }
  467. }
  468. }