page-header.less 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. //
  2. // Page Header
  3. // --------------------------------------------------
  4. // Common styles
  5. .page-header {
  6. margin: 0px;
  7. margin-bottom: @line-height-computed;
  8. .btn-aligned {
  9. float: right;
  10. margin-top: @line-height-computed + 3px;
  11. margin-left: 8px;
  12. }
  13. }
  14. // Small displays
  15. @media screen and (max-width: @screen-sm-max) {
  16. .container {
  17. h1 {
  18. font-size: @font-size-large * 1.25;
  19. }
  20. .btn-aligned {
  21. float: right;
  22. margin-top: @line-height-computed - 7px;
  23. }
  24. .btn-icon {
  25. .material-icon {
  26. width: 24px;
  27. height: 24px;
  28. font-size: 24px;
  29. line-height: 24px;
  30. }
  31. }
  32. }
  33. }
  34. // Stats
  35. .header-stats .list-inline li {
  36. margin-right: 8px;
  37. .status-icon {
  38. width: 18px;
  39. height: 18px;
  40. margin-right: 4px;
  41. position: relative;
  42. bottom: 1px;
  43. font-size: 18px;
  44. line-height: 18px;
  45. }
  46. }
  47. @media screen and (max-width: @screen-sm-max) {
  48. .header-stats .list-inline {
  49. margin-top: @line-height-computed / 2;
  50. margin-bottom: 0px;
  51. font-size: @font-size-small;
  52. }
  53. }
  54. // Tabs
  55. .page-header .page-tabs .nav {
  56. &>li {
  57. margin: 0px;
  58. &>a {
  59. border-radius: 0px;
  60. }
  61. }
  62. }
  63. @media screen and (max-width: @screen-sm-max) {
  64. .page-header .page-tabs {
  65. margin-top: ((@line-height-computed / 2) - 1);
  66. margin-bottom: ((@line-height-computed / 2) - 1) * -1;
  67. }
  68. .page-header .page-tabs .container {
  69. padding: 0px;
  70. width: 100%;
  71. .nav-pills {
  72. li {
  73. display: block;
  74. float: inherit;
  75. width: auto;
  76. }
  77. }
  78. }
  79. }
  80. @media screen and (min-width: @screen-md-min) {
  81. .page-header.tabbed {
  82. padding-bottom: 0px;
  83. }
  84. }