page-header.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. // Breadcrumbs
  39. .page-breadcrumbs .breadcrumb {
  40. background: none;
  41. padding-left: 0px;
  42. padding-right: 0px;
  43. margin-bottom: @line-height-computed * -1;
  44. }
  45. // Stats
  46. .header-stats .list-inline li {
  47. margin-right: 8px;
  48. .status-icon {
  49. width: 18px;
  50. height: 18px;
  51. margin-right: 4px;
  52. position: relative;
  53. bottom: 1px;
  54. font-size: 18px;
  55. line-height: 18px;
  56. }
  57. }
  58. @media screen and (max-width: @screen-sm-max) {
  59. .header-stats .list-inline {
  60. margin-top: @line-height-computed / 2;
  61. margin-bottom: 0px;
  62. font-size: @font-size-small;
  63. }
  64. }
  65. // Tabs
  66. .page-header .page-tabs .nav {
  67. &>li {
  68. margin: 0px;
  69. &>a {
  70. border-radius: 0px;
  71. }
  72. }
  73. }
  74. @media screen and (max-width: @screen-sm-max) {
  75. .page-header .page-tabs {
  76. margin-top: ((@line-height-computed / 2) - 1);
  77. margin-bottom: ((@line-height-computed / 2) - 1) * -1;
  78. }
  79. .page-header .page-tabs .container {
  80. padding: 0px;
  81. width: 100%;
  82. .nav-pills {
  83. li {
  84. display: block;
  85. float: inherit;
  86. width: auto;
  87. }
  88. }
  89. }
  90. }
  91. @media screen and (min-width: @screen-md-min) {
  92. .page-header.tabbed {
  93. padding-bottom: 0px;
  94. }
  95. }