123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226 |
- //
- // Page Header
- // --------------------------------------------------
- // Common styles
- .page-header-bg {
- margin-bottom: @line-height-computed;
- }
- .page-header {
- margin: 0px;
- padding: @line-height-computed * 2 0px;
- h1 {
- margin: 0px;
- word-wrap: break-word;
- }
- .btn-aligned {
- float: right;
- margin-left: 8px;
- &.pull-left {
- margin-left: 0px;
- margin-right: 8px;
- }
- }
- @media screen and (min-width: @screen-md-min) {
- .container>.row {
- h1 {
- margin-top: -3px;
- }
- .row {
- margin-top: @padding-small-vertical;
- }
- }
- }
- }
- // Small displays
- @media screen and (max-width: @screen-sm-max) {
- .container {
- h1 {
- font-size: @font-size-large * 1.25;
- }
- .btn-icon {
- .material-icon {
- width: 24px;
- height: 24px;
- margin: -3px 0px;
- font-size: 24px;
- line-height: 24px;
- }
- }
- }
- }
- // Breadcrumbs
- .page-breadcrumbs {
- margin-bottom: @line-height-computed;
- }
- .page-breadcrumbs .breadcrumb {
- background: none;
- margin: 0px;
- margin-top: @line-height-computed * -1;
- padding: 0px;
- overflow: auto;
- }
- .page-breadcrumbs .breadcrumb li {
- &, &:before {
- display: block;
- float: left;
- }
- &:before {
- margin-left: 4px;
- }
- }
- // Small go back button
- .go-back-sm {
- margin-top: @line-height-computed * -1;
- margin-bottom: @line-height-computed;
- .material-icon {
- height: @font-size-large;
- width: @font-size-large;
- font-size: @font-size-large;
- line-height: @font-size-large;
- position: relative;
- top: -1px;
- }
- }
- .page-breadcrumbs .go-back-sm {
- margin-bottom: 0px;
- }
- // Stats
- .header-stats {
- margin-top: @line-height-computed;
- margin-bottom: @line-height-computed * -1;
- }
- .header-stats .list-inline {
- margin-bottom: 0px;
- }
- .header-stats .list-inline li {
- margin-bottom: 0px;
- margin-right: 8px;
- overflow: auto;
- vertical-align: top; // fix #834
- .status-icon {
- width: 18px;
- height: 18px;
- margin-right: 4px;
- position: relative;
- bottom: 1px;
- font-size: 18px;
- line-height: 18px;
- }
- &>.material-icon, &>.icon-legend {
- float: left;
- }
- &>.material-icon {
- margin-right: 4px;
- position: relative;
- top: 3px;
- }
- }
- @media screen and (max-width: @screen-sm-max) {
- .header-stats .list-inline {
- font-size: @font-size-small;
- li>.material-icon {
- top: 2px;
- }
- }
- }
- // Tabs
- .page-header .page-tabs {
- margin-top: @line-height-computed;
- margin-bottom: @line-height-computed * -2;
- }
-
- .page-header .page-tabs .nav {
- &>li {
- margin: 0px;
- &>a {
- border-radius: 0px;
- }
- }
- }
- .page-tabs {
- ul {
- display: block;
- overflow-x: auto;
- white-space: nowrap;
- li, a {
- display: inline-block;
- float: none;
-
- white-space: nowrap;
- .material-icon {
- margin-right: @padding-base-horizontal / 2;
- }
- }
- }
- @media screen and (max-width: @screen-xs-max) {
- .container {
- padding-left: 0px;
- padding-right: 0px;
- }
- li a {
- padding-left: @line-height-computed * 1.33;
- padding-right: @line-height-computed * 1.33;
- }
- }
- }
- // Insert blank space between tabs and details on smallest displays
- @media screen and (max-width: @screen-xs-max) {
- .header-stats + .page-tabs {
- margin-top: @line-height-computed * 1.5;
- }
- }
- // Title edit form
- .title-edit-form {
- margin-bottom: @line-height-computed / 2 + 2px;
- }
|