123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- //
- // Page Header
- // --------------------------------------------------
- // Generic spacing and stuff
- //
- //##
- .page-header {
- border-bottom-width: 1px;
- margin: 0px;
- margin-top: @line-height-computed * -1;
- margin-bottom: @line-height-computed;
- padding: @line-height-computed 0px;
- &.append-tabs {
- border-bottom: 0px;
- padding-bottom: @line-height-computed / 2;
- }
- &>.container {
- h1 {
- margin: 0px;
- padding: 0px;
- overflow: visible;
- font-size: @font-size-large * 1.5;
- img {
- border-radius: @border-radius-base;
- margin-top: -7px;
- margin-bottom: -1px;
- width: 32px;
- }
- .main, .sub {
- float: left;
- font-weight: normal;
- }
- .main {
- a {
- color: @text-color;
- }
- a:active {
- color: @state-clicked;
- text-decoration: underline;
- }
- }
- .sub {
- margin-left: @line-height-computed / 2;
- color: lighten(@text-color, 25%);
- }
- }
- }
- }
- // Breadcrumb
- //
- //##
- .page-header {
- &>.container {
- .breadcrumb {
- margin-top: @line-height-computed * -0.8;
- margin-bottom: 0px;
- color: @breadcrumb-color;
- font-size: @font-size-small;
- &>li {
- + li:before {
- /* Tinysh hack to remove BS3's style */
- display: none;
- }
- a:link, a:visited {
- color: @state-default;
- }
- a:hover {
- color: @state-hover;
- }
- a:active, a:focus {
- color: @state-clicked;
- }
- span {
- margin: 0px 4px 0px 6px;
- }
- }
- }
- }
- }
- // Actions
- //
- //##
- .page-header {
- &>.container {
- .page-actions {
- float: right;
- margin: -3px 0px;
- &>form {
- margin: 0px;
- padding: 0px;
- }
- .pull-left {
- margin-left: @line-height-computed / 2;
- }
- &.path-fix {
- margin: -2px 0px;
- margin-bottom: -3px;
- }
- &.middle-fix {
- margin-top: (@line-height-computed * @headings-line-height) * -1 - (@line-height-computed * 1.5) + @padding-base-vertical - 1;
- }
- .dropdown-menu {
- left: auto;
- right: 0px;
- &:after {
- left: auto;
- right: 12px;
- }
- }
- }
- }
- }
- /* Small displays */
- @media (max-width: @screen-sm-min) {
- .page-header {
- &>.container {
- .page-actions {
- clear: both;
- float: none;
- margin-top: @line-height-computed;
- .pull-left {
- margin-left: 0px;
- margin-right: @line-height-computed / 2;
- }
- }
- }
- }
- }
- // Details
- //
- //##
- .page-header {
- &>.container {
- .page-details {
- display: block;
- clear: both;
- margin-bottom: 0;
- position: relative;
- top: @line-height-computed * 0.6;
- color: @text-muted;
- &>li {
- &>img {
- border-radius: @border-radius-small;
- position: relative;
- bottom: 1px;
- }
- &>button {
- background: none;
- border: none;
- }
- &>a:link, &>a:visited, &>button {
- color: @text-muted;
- }
- &>a:hover, &>button:hover {
- color: @state-hover;
- text-decoration: none;
- }
- &>a:active, &>button:active {
- color: @state-clicked;
- text-decoration: none;
- }
- }
- }
- }
- }
- /* Small displays */
- @media (max-width: @screen-sm-min) {
- .page-header {
- &>.container {
- .page-details {
- margin-top: @line-height-computed;
- }
- }
- }
- }
- // Pills and Tabs
- //
- //##
- .page-pills {
- border-bottom: 1px solid @page-header-border-color;
- margin: @line-height-computed * -1 0px @line-height-computed;
- padding: (@line-height-computed / 2) 0px;
- .nav-pills {
- margin: 0px;
- }
- }
- .page-tabs {
- border-bottom: 3px solid @page-header-border-color;
- margin: @line-height-computed * -1 0px @line-height-computed;
- padding: 0px;
- &.solo-right {
- .nav-tabs {
- margin-top: @line-height-computed * -1.5;
- float: right;
- }
- }
- .nav-tabs {
- margin: 0px;
- margin-bottom: -3px;
- }
- }
|