From 36d87a47ec046a962e7dc1e2085331b24e557cb6 Mon Sep 17 00:00:00 2001 From: Mariusz Jurowicz Date: Tue, 22 May 2018 14:09:40 +0200 Subject: [PATCH] #7326 add button with icon css class support --- js/notebook/src/shared/style/beakerx.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/js/notebook/src/shared/style/beakerx.scss b/js/notebook/src/shared/style/beakerx.scss index 8b0fe28c1e..16e463836d 100644 --- a/js/notebook/src/shared/style/beakerx.scss +++ b/js/notebook/src/shared/style/beakerx.scss @@ -20,6 +20,20 @@ $focusColor: #66bb6a; font-family: "Lato", Helvetica, sans-serif; } +.BeakerX-button { + &[class*="icon"] { + font: normal normal normal 14px/1 FontAwesome; + } + + &:before { + display: inline-block; + } + + &.icon-close:before { + content: "\f00d" !important; + } +} + .bko-focused { border: 1px solid $focusColor !important;