style.less 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. @import "bootstrap3/less/bootstrap.less";
  2. @import "bootstrap3/less/variables.less";
  3. @violet: #6f5499;
  4. @brand-primary: lighten(@violet,5%);
  5. .statut {
  6. margin-left: -16px;
  7. height: 40px;
  8. line-height: 40px;
  9. padding-left: 32px;
  10. &.clos {.bg-warning;}
  11. }
  12. nav.projets {
  13. width: 100%;
  14. height: 100%;
  15. background: @violet;
  16. padding: 2em 0 0 0;
  17. .heading, a {
  18. display: block;
  19. width: 100%;
  20. min-height: 2em;
  21. line-height: 2em;
  22. padding-left: 2em;
  23. color: #fff;
  24. &.selectionné, &.selected {
  25. background: @violet + #111;
  26. }
  27. }
  28. .heading {
  29. color: #ccc;
  30. }
  31. .vers-index {
  32. &:before {
  33. content: "◂ ";
  34. margin-left: -0.8em;
  35. }
  36. }
  37. }
  38. nav.dossiers {
  39. a {
  40. display: block;
  41. width: 100%;
  42. min-height: 2em;
  43. line-height: 2em;
  44. padding-left: 2em;
  45. }
  46. }
  47. .bouton {
  48. .btn-primary;
  49. .btn-lg;
  50. }
  51. .bouton.presse {
  52. margin: 0.5em auto;
  53. }
  54. .app.titre {
  55. padding: 1em 20px;
  56. }
  57. .métadonnées, .éditer, .ressources, .actions {
  58. padding: 1em 20px;
  59. }
  60. .ressources {
  61. a {
  62. &.pad, &.pdf, &.docx, &.html5, &.txt {
  63. display: inline-block;
  64. padding: 0.3em;
  65. background: lighten(@violet,20%);
  66. border-radius: 4px;
  67. margin: 0 0 0.3em 0.5em;
  68. color: #fff;
  69. font-weight: 600;
  70. }
  71. }
  72. }
  73. #index {
  74. .vers-index {
  75. display: none;
  76. }
  77. }
  78. @media (min-width: @screen-md) {
  79. body {
  80. margin-left: 350px;
  81. }
  82. nav.projets {
  83. position: absolute;
  84. left: 0;
  85. top: 0;
  86. width: 333px;
  87. overflow-y: auto;
  88. }
  89. }