style.less 1.7 KB

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