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.

523 line
12KB

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