style.less 1.3 KB

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