Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

561 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. .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. }