From 53dd4206a0e224ba69ed337877ec1329b4218fb7 Mon Sep 17 00:00:00 2001 From: Sam El-Husseini Date: Thu, 26 Jan 2017 14:45:39 -0800 Subject: [PATCH] Cleaning up styles --- theme/style.less | 42 ++++-------------------------------------- 1 file changed, 4 insertions(+), 38 deletions(-) diff --git a/theme/style.less b/theme/style.less index dbbfde75..9db73709 100644 --- a/theme/style.less +++ b/theme/style.less @@ -51,36 +51,18 @@ Blockly *******************************/ -.blocklyTreeRow { - border-radius:5px; -} - -/* Specifying top and bottom rounded toolbox borders. */ -.blocklyTreeRow.blocklyTreeRowTop { - border-top-left-radius: 10px; - border-top-right-radius: 10px; -} - -.blocklyTreeRow.blocklyTreeRowBottom { - border-bottom-left-radius: 10px; - border-bottom-right-radius: 10px; -} - -.blocklyTreeRow:hover { - background: @invertedBackground !important; +div.blocklyTreeRow { + border-radius:8px; } /* This removes any padding at the top of the toolbox */ -.blocklyTreeRoot { +div.blocklyTreeRoot { padding: 0px !important; } /* Blockly Text */ -.blocklyTreeLabel { +div.blocklyTreeLabel { font-family: @pageFont !important; -} - -.blocklyTreeLabel { font-size:1rem !important; } @@ -89,25 +71,9 @@ } .blocklyToolboxDiv { - /*left:30px !important;*/ padding:7px; } -/* Blockly Toolbox Buttons */ -.blocklyToolboxButtons .blocklyAddPackageButton { - &:extend(.ui.button all); - &:extend(.circular all); - background-color: rgba(0, 0, 0, 0.3); - color: white; -} - -.blocklyToolboxButtons .blocklyUndoButton { - &:extend(.ui.button all); - &:extend(.circular all); - background-color: rgba(0, 0, 0, 0.3); - color: white; -} - .organization { top: 1.6em; }