page-header.less 1.3 KB

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