_create-page.scss 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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, #template-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. .btn {
  20. min-width: 105px;
  21. }
  22. }
  23. // change layout by screen size
  24. @media (max-width: $screen-xs-max) {
  25. flex-direction: column;
  26. .create-page-button-container {
  27. margin-top: 10px;
  28. text-align: right;
  29. }
  30. }
  31. }
  32. .page-today-prefix {
  33. }
  34. .page-today-input1 {
  35. width: 60px;
  36. margin-left: 5px;
  37. margin-right: 5px;
  38. padding-left: 2px;
  39. padding-right: 2px;
  40. }
  41. .page-today-suffix {
  42. }
  43. .page-today-input2 {
  44. flex: 1;
  45. margin-left: 5px;
  46. }
  47. #page-name-input {
  48. flex: 1;
  49. input {
  50. min-width: 300px; // Workaround to display placeholder.
  51. // cf https://github.com/ericgio/react-bootstrap-typeahead/issues/256
  52. }
  53. }
  54. .create-page-under-tree-label code {
  55. font-family: $font-family-monospace-not-strictly;
  56. }
  57. }
  58. } // .modal-body
  59. }