_create-page.scss 1.4 KB

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