page-header.less 1.6 KB

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