style.less 1013 B

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