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

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