mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
New styles almost ready
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
@import "components/panel_graph";
|
||||
@import "components/submenu";
|
||||
@import "components/panel_dashlist";
|
||||
@import "components/panel_pluginlist";
|
||||
@import "components/panel_singlestat";
|
||||
@import "components/panel_table";
|
||||
@import "components/panel_text";
|
||||
|
||||
@@ -116,6 +116,10 @@
|
||||
padding: 0 1.5rem 1.5rem 0rem;
|
||||
}
|
||||
|
||||
.card-item-wrapper--clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.card-item-figure {
|
||||
margin: 0 $spacer $spacer 0;
|
||||
height: 6rem;
|
||||
@@ -157,6 +161,10 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.card-item-wrapper--clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.card-item {
|
||||
border-bottom: .2rem solid $page-bg;
|
||||
border-radius: 0;
|
||||
@@ -186,4 +194,3 @@
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
54
public/sass/components/_panel_pluginlist.scss
Normal file
54
public/sass/components/_panel_pluginlist.scss
Normal file
@@ -0,0 +1,54 @@
|
||||
.pluginlist-section-header {
|
||||
margin: ($spacer * 2) 0 $spacer 0;
|
||||
color: $text-color-weak;
|
||||
}
|
||||
|
||||
.pluginlist-section-header--first {
|
||||
margin-top: $spacer /2;
|
||||
}
|
||||
|
||||
.pluginlist-link {
|
||||
display: block;
|
||||
margin: 5px;
|
||||
padding: 7px;
|
||||
background-color: $tight-form-bg;
|
||||
|
||||
&:hover {
|
||||
background-color: $tight-form-func-bg;
|
||||
}
|
||||
}
|
||||
|
||||
.pluginlist-icon {
|
||||
vertical-align: sub;
|
||||
font-size: $font-size-h1;
|
||||
margin-right: $spacer / 2;
|
||||
}
|
||||
|
||||
.pluginlist-image {
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
.pluginlist-title {
|
||||
margin-right: $spacer / 3;
|
||||
}
|
||||
|
||||
.pluginlist-version {
|
||||
font-size: $font-size-sm;
|
||||
color: $text-color-weak;
|
||||
}
|
||||
|
||||
.pluginlist-message {
|
||||
float: right;
|
||||
font-size: $font-size-sm;
|
||||
}
|
||||
|
||||
.pluginlist-message--enable{
|
||||
color: $brand-success;
|
||||
}
|
||||
|
||||
.pluginlist-message--no-update {
|
||||
color: $text-color-weak;
|
||||
}
|
||||
|
||||
.pluginlist-message--update {
|
||||
}
|
||||
Reference in New Issue
Block a user