diff --git a/public/app/features/org/partials/datasources.html b/public/app/features/org/partials/datasources.html index a2e62673e70..b1b37a572a9 100644 --- a/public/app/features/org/partials/datasources.html +++ b/public/app/features/org/partials/datasources.html @@ -5,47 +5,53 @@ -
-
+
+

Data sources

No datasources defined
- - - - - - - - - - - - - - - +
NameUrl
-   - {{ds.name}} - - {{ds.url}} - - - default - - - - - Edit - - - - - -
+ + + + + + + + + + + + + + + + + +
NameUrl
+ +   + {{ds.name}} + + + {{ds.url}} + + + default + + + + + Edit + + + + + +
diff --git a/public/less/filter-table.less b/public/less/filter-table.less new file mode 100644 index 00000000000..7b9f7a47b10 --- /dev/null +++ b/public/less/filter-table.less @@ -0,0 +1,48 @@ +// ========================================================================== +// FILTER TABLE +// ========================================================================== + + + +// Table +// -------------------------------------------------------------------------- + +.filter-table * { + box-sizing: border-box; +} + +.filter-table { + width: 100%; + table-layout: fixed; + border-collapse: collapse; +} + +.filter-table tr { + background: @grafanaPanelBackground; + border-bottom: 2px solid @bodyBackground; +} + +.filter-table th { + padding: 10px 15px 10px 0; + text-align: left; + + &:first-child { + padding-left: 15px; + } +} + +.filter-table td { + padding: 15px 15px 15px 0; + + &:first-child { + padding-left: 15px; + } +} + +.filter-table .ellipsis { + display: block; + width: 100%; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} diff --git a/public/less/grafana.less b/public/less/grafana.less index aa58f749b82..3ee21297dd0 100644 --- a/public/less/grafana.less +++ b/public/less/grafana.less @@ -20,6 +20,7 @@ @import "timepicker.less"; @import "alerting.less"; @import "filter-list.less"; +@import "filter-table.less"; .row-control-inner { padding:0px;