Change header info in dashboard less
This commit is contained in:
parent
c645362896
commit
adf1b6d5f5
|
@ -21,8 +21,7 @@
|
||||||
@dashboard-page-content-sticky-border-width: @global-border-width;
|
@dashboard-page-content-sticky-border-width: @global-border-width;
|
||||||
@dashboard-page-content-sticky-border: @global-border;
|
@dashboard-page-content-sticky-border: @global-border;
|
||||||
|
|
||||||
@dashboard-page-content-header-info-height: 80px;
|
@dashboard-page-content-header-info-height: @global-header-height - 20px;
|
||||||
@dashboard-page-content-header-info-scale-ratio: 0.7;
|
|
||||||
@dashboard-page-content-header-info-img-max-height: @dashboard-page-content-header-info-height;
|
@dashboard-page-content-header-info-img-max-height: @dashboard-page-content-header-info-height;
|
||||||
@dashboard-page-content-header-info-img-max-width: 180px;
|
@dashboard-page-content-header-info-img-max-width: 180px;
|
||||||
|
|
||||||
|
@ -125,10 +124,8 @@
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|
||||||
.info {
|
.info {
|
||||||
transform: scale(@dashboard-page-content-header-info-scale-ratio);
|
|
||||||
margin-bottom: calc((@dashboard-page-content-header-info-scale-ratio - 1.0) * @dashboard-page-content-header-info-height);
|
|
||||||
transform-origin: 0 0;
|
|
||||||
height: @dashboard-page-content-header-info-height;
|
height: @dashboard-page-content-header-info-height;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-height: @dashboard-page-content-header-info-img-max-height;
|
max-height: @dashboard-page-content-header-info-img-max-height;
|
||||||
|
|
Loading…
Reference in New Issue