_create-page.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 {
  12. // layout
  13. .create-page-input-container {
  14. .create-page-input-row {
  15. flex: 1;
  16. }
  17. .create-page-button-container {
  18. margin-left: 15px;
  19. }
  20. // change layout by screen size
  21. @media (max-width: $screen-xs-max) {
  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. margin-left: 5px;
  34. margin-right: 5px;
  35. padding-left: 2px;
  36. padding-right: 2px;
  37. }
  38. .page-today-suffix {
  39. }
  40. .page-today-input2 {
  41. flex: 1;
  42. margin-left: 5px;
  43. }
  44. #page-name-inputter {
  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. }