style.less 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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é {
  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. .bouton {
  32. .btn-primary;
  33. .btn-lg;
  34. }
  35. .bouton.presse {
  36. margin: 0.5em auto;
  37. }
  38. .app.titre {
  39. padding: 1em 20px;
  40. }
  41. .métadonnées, .éditer, .ressources, .actions {
  42. padding: 1em 20px;
  43. }
  44. .ressources {
  45. a {
  46. &.pad, &.pdf, &.docx, &.html5, &.txt {
  47. display: inline-block;
  48. padding: 0.3em;
  49. background: lighten(@violet,20%);
  50. border-radius: 4px;
  51. margin: 0 0 0.3em 0.5em;
  52. color: #fff;
  53. font-weight: 600;
  54. }
  55. }
  56. }
  57. #index {
  58. }
  59. @media (min-width: @screen-md) {
  60. body {
  61. margin-left: 350px;
  62. }
  63. nav.projets {
  64. position: absolute;
  65. left: 0;
  66. top: 0;
  67. width: 333px;
  68. }
  69. }