layout.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /*
  2. * Copyright 2021-2024 Avaiga Private Limited
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
  5. * the License. You may obtain a copy of the License at
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
  10. * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
  11. * specific language governing permissions and limitations under the License.
  12. */
  13. /**************************************************************
  14. TAIPY LAYOUT
  15. ***************************************************************/
  16. /*************************************************
  17. OVERRIDES / NORMALIZATION
  18. **************************************************/
  19. .taipy-layout {
  20. max-width: 100%;
  21. }
  22. .taipy-layout>.taipy-part {
  23. min-width: 0;
  24. }
  25. .taipy-layout>.md-para {
  26. min-width: 0;
  27. }
  28. .taipy-layout.align-columns-stretch>.taipy-part>.md-para,
  29. .taipy-layout>.taipy-part.align-item-stretch>.md-para {
  30. height: 100%;
  31. }
  32. /*************************************************
  33. MODIFIER CLASSES
  34. **************************************************/
  35. /***** Assignable to the layout block *****/
  36. /* align-columns-top: vertically align every column's content to the top of the line */
  37. .taipy-layout.align-columns-top {
  38. align-items: start;
  39. }
  40. /* align-columns-center: vertically align every column's content to the center of the line */
  41. .taipy-layout.align-columns-center {
  42. align-items: center;
  43. }
  44. /* align-columns-bottom: vertically align every column's content to the bottom of the line */
  45. .taipy-layout.align-columns-bottom {
  46. align-items: end;
  47. }
  48. /* align-columns-stretch: stretch every column's content to fill the whole height of the line */
  49. .taipy-layout.align-columns-stretch {
  50. align-items: stretch;
  51. }
  52. /***** Assignable to the layout children parts *****/
  53. /* align-item-top: vertically align this column's content to the top of the line */
  54. .taipy-part.align-item-top {
  55. align-self: start;
  56. }
  57. /* align-item-center: vertically align this column's content to the center of the line */
  58. .taipy-part.align-item-center {
  59. align-self: center;
  60. }
  61. /* align-item-bottom: vertically align this column's content to the bottom of the line */
  62. .taipy-part.align-item-bottom {
  63. align-self: end;
  64. }
  65. /* align-item-stretch: stretch this column's content to fill the whole height of the line */
  66. .taipy-part.align-item-stretch {
  67. align-self: stretch;
  68. }