superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccwilli...@apache.org
Subject [incubator-superset] branch master updated: [dashboard] Update font style for markdown component (#5722)
Date Wed, 29 Aug 2018 19:01:45 GMT
This is an automated email from the ASF dual-hosted git repository.

ccwilliams pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 772ae77  [dashboard] Update font style for markdown component (#5722)
772ae77 is described below

commit 772ae77ab0ef15ded0857966eaafe93123c3a41d
Author: Grace Guo <grace.guo@airbnb.com>
AuthorDate: Wed Aug 29 12:01:41 2018 -0700

    [dashboard] Update font style for markdown component (#5722)
---
 .../assets/src/dashboard/stylesheets/components/markdown.less | 11 +++++++++++
 superset/assets/src/dashboard/stylesheets/variables.less      |  1 +
 2 files changed, 12 insertions(+)

diff --git a/superset/assets/src/dashboard/stylesheets/components/markdown.less b/superset/assets/src/dashboard/stylesheets/components/markdown.less
index 87974d9..44deeea 100644
--- a/superset/assets/src/dashboard/stylesheets/components/markdown.less
+++ b/superset/assets/src/dashboard/stylesheets/components/markdown.less
@@ -1,6 +1,17 @@
 .dashboard-markdown {
   overflow: hidden;
 
+  h4, h5 {
+    font-weight: 300;
+  }
+  h5 {
+    color: @gray-heading;
+  }
+  h6 {
+    font-weight: 400;
+    font-size: 12px;
+  }
+
   .dashboard-component-chart-holder {
     overflow-y: auto;
     overflow-x: hidden;
diff --git a/superset/assets/src/dashboard/stylesheets/variables.less b/superset/assets/src/dashboard/stylesheets/variables.less
index 8f53f99..c062c57 100644
--- a/superset/assets/src/dashboard/stylesheets/variables.less
+++ b/superset/assets/src/dashboard/stylesheets/variables.less
@@ -5,6 +5,7 @@
 @gray: #879399;
 @gray-light: #CFD8DC;
 @gray-bg: #f5f5f5;
+@gray-heading: #A3A3A3;
 @menu-hover: #F2F3F5;
 
 /* builder component pane */


Mime
View raw message