123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233 |
- //
- // Panels
- // --------------------------------------------------
- // Shared styles
- //
- //==
- .panel {
- box-shadow: none;
- &.panel-shadow {
- box-shadow: 0px 0px 0px 3px @panel-shadow;
- }
- }
- // Bodies
- //
- //==
- .panel-body {
- &.thin {
- padding-top: @line-height-computed / 6;
- padding-bottom: 0px;
- }
- &.large {
- padding-top: 0px;
- padding-bottom: 0px;
- font-size: @font-size-large;
- }
- }
- // Footers
- //
- //==
- .panel-footer {
- overflow: auto;
- &>ul {
- overflow: auto;
- margin: 0px;
- padding: 0px;
- &>li {
- float: left;
- }
- &.pull-left {
- &>li {
- margin-right: @line-height-computed;
- }
- }
- &.pull-right {
- &>li {
- margin-left: @line-height-computed;
- }
- }
- &.stats {
- &>li {
- img {
- border-radius: @border-radius-small;
- height: 20px;
- }
- a {
- color: @state-hover;
- font-weight: bold;
- }
- a:hover {
- color: @state-hover;
- text-decoration: underline;
- }
- a:active {
- color: @state-clicked;
- text-decoration: underline;
- }
- }
- }
- &.actions {
- margin: -6px 0px;
- &>li {
- &>form {
- margin: 0px;
- padding: 0px;
- }
- &>form>.btn, &>.btn {
- border-color: transparent;
- background: transparent;
- .box-shadow(none);
- position: static;
- margin: 0px;
- padding: 5px 7px;
- color: @state-default;
- &:hover {
- background-color: darken(@panel-footer-bg, 5%);
- transition-timing-function: ease;
- color: @state-hover;
- }
- &:active {
- background-color: darken(@panel-footer-bg, 5%);
- outline: none;
- color: @state-clicked;
- }
- .fa {
- position: relative;
- bottom: 1px;
- }
- &.btn-primary {
- background: transparent;
- color: @state-info-text;
- &:hover {
- background: fadeOut(@state-info-bg, 90%);
- color: @state-info-text;
- }
- &:active {
- background: @state-info-bg;
- color: @state-info-text-contrast;
- }
- }
- &.btn-success {
- background: transparent;
- color: @state-success-text;
- &:hover {
- background: fadeOut(@state-success-bg, 90%);
- color: @state-success-text;
- }
- &:active {
- background: @state-success-bg;
- color: @state-success-text-contrast;
- }
- }
- &.btn-warning {
- background: transparent;
- color: @state-warning-text;
- &:hover {
- background: fadeOut(@state-warning-bg, 90%);
- color: @state-warning-text;
- }
- &:active {
- background: @state-warning-bg;
- color: @state-warning-text-contrast;
- }
- }
- &.btn-danger {
- background: transparent;
- color: @state-danger-text;
- &:hover {
- background: fadeOut(@state-danger-bg, 90%);
- color: @state-danger-text;
- }
- &:active {
- background: @state-danger-bg;
- color: @state-danger-text-contrast;
- }
- }
- }
- }
- &.pull-left {
- &>li {
- margin-right: @line-height-computed / 2;
- }
- }
- &.pull-right {
- &>li {
- margin-left: @line-height-computed / 2;
- }
- }
- }
- }
- }
- // Opacity
- .panel {
- .opaque {
- .opacity(0.5);
- transition-property: opacity;
- transition-timing-function: ease;
- transition-duration: 0.3s;
- }
- &:hover, &:focus {
- .opaque {
- .opacity(1);
- transition-property: opacity;
- transition-timing-function: ease;
- transition-duration: 0.7s;
- }
- }
- }
|