page-header.less 1.7 KB

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