_create-page.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .modal.create-page {
  2. .modal-body {
  3. //TODO remove legend
  4. legend {
  5. margin-bottom: 10px;
  6. }
  7. form,
  8. #template-form {
  9. // layout
  10. .create-page-input-container {
  11. .create-page-input-row {
  12. flex: 1;
  13. }
  14. .create-page-button-container {
  15. margin-left: 15px;
  16. .btn {
  17. min-width: 105px;
  18. }
  19. }
  20. // change layout by screen size
  21. @include media-breakpoint-down(md) {
  22. flex-direction: column;
  23. .create-page-button-container {
  24. margin-top: 10px;
  25. text-align: right;
  26. }
  27. }
  28. }
  29. .page-today-prefix {
  30. }
  31. .page-today-input1 {
  32. width: 60px;
  33. padding-right: 2px;
  34. padding-left: 2px;
  35. margin-right: 5px;
  36. margin-left: 5px;
  37. }
  38. .page-today-suffix {
  39. }
  40. .page-today-input2 {
  41. flex: 1;
  42. margin-left: 5px;
  43. }
  44. .page-name-input {
  45. flex: 1;
  46. input {
  47. min-width: 300px; // Workaround to display placeholder.
  48. // cf https://github.com/ericgio/react-bootstrap-typeahead/issues/256
  49. }
  50. }
  51. .create-page-under-tree-label code {
  52. font-family: $font-family-monospace-not-strictly;
  53. }
  54. }
  55. } // .modal-body
  56. }