_create-page.scss 1.4 KB

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