style.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. }
  29. a.projet {
  30. display: none;
  31. }
  32. 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), a.projet:nth-last-child(6), a.projet:nth-last-child(7), a.projet:nth-last-child(8), a.projet:nth-last-child(9), a.projet:nth-last-child(10), a.projet:nth-last-child(11), {
  33. display: block;
  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.sidebar {
  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, .voir, .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. .page-view-project, .page-view-dossier {
  81. .modifier {
  82. font-size: 80%;
  83. }
  84. .bouton.presse {
  85. float:left;
  86. }
  87. }
  88. #index {
  89. .vers-index {
  90. display: none;
  91. }
  92. .projets {
  93. .dossier {
  94. font-weight: 600;
  95. color: lighten(@violet,25%);
  96. }
  97. .name {
  98. }
  99. }
  100. }
  101. @media (min-width: @screen-md) {
  102. body {
  103. margin-left: 350px;
  104. }
  105. nav.projets.sidebar {
  106. position: absolute;
  107. left: 0;
  108. top: 0;
  109. width: 333px;
  110. overflow-y: auto;
  111. }
  112. }