Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

529 lines
12KB

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