From be088e470481576a93b20d9060ffffed92577884 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Tue, 23 Apr 2019 23:22:17 +0200 Subject: [PATCH] moving bootstrap changes to a separated css file --- .../themes/booty/css/bludit.bootstrap.css | 47 ++++++++++ bl-kernel/admin/themes/booty/css/bludit.css | 87 +++---------------- 2 files changed, 60 insertions(+), 74 deletions(-) create mode 100644 bl-kernel/admin/themes/booty/css/bludit.bootstrap.css diff --git a/bl-kernel/admin/themes/booty/css/bludit.bootstrap.css b/bl-kernel/admin/themes/booty/css/bludit.bootstrap.css new file mode 100644 index 00000000..9f8c7029 --- /dev/null +++ b/bl-kernel/admin/themes/booty/css/bludit.bootstrap.css @@ -0,0 +1,47 @@ +a { + color: #0078D4; +} + +a:hover { + color: #0078D4; +} + +.bg-success { + background-color: #8BC34A!important; +} + +.text-primary { + color: #0078D4!important; +} + +.text-danger { + color: #D40000!important; +} + +/* Buttons */ +.btn { + border-radius: 2px; +} + +.btn-primary { + background-color: #0078D4; + border-color: #0078D4; +} + +.btn-primary:hover { + background-color: #4585CF; + border-color: #4a90e2; +} + +.btn-light.focus, .btn-light:focus { + box-shadow: none; +} + +.btn.focus, .btn:focus { + box-shadow: none; +} + +/* Form */ +.form-control:focus { + box-shadow: none; +} \ No newline at end of file diff --git a/bl-kernel/admin/themes/booty/css/bludit.css b/bl-kernel/admin/themes/booty/css/bludit.css index eebeb418..cdff6085 100644 --- a/bl-kernel/admin/themes/booty/css/bludit.css +++ b/bl-kernel/admin/themes/booty/css/bludit.css @@ -9,6 +9,11 @@ body { background: #fcfcfc; } +/* Prevent events in iframes */ +/* iframe{ + pointer-events: none; +} */ + /* BOOTSTRAP Hacks */ @@ -29,27 +34,8 @@ body { } } -a { - color: #4a90e2; -} -a:hover { - color: #4a90e2; -} -.btn { - border-radius: 2px; -} - -.btn-primary { - background-color: #4F93E0; - border-color: #4a90e2; -} - -.btn-primary:hover { - background-color: #4585CF; - border-color: #4a90e2; -} .btn-light { color: #212529; @@ -69,6 +55,8 @@ a:hover { color: #000; } + + code { padding: 3px 5px 2px; margin: 0 1px; @@ -336,7 +324,7 @@ td.child { right: 0; bottom: 0; left: 0; - background-color: rgba(255,255,255,0.7); + background-color: rgba(72,72,72,0.7); z-index: 10; display: none; } @@ -349,61 +337,12 @@ img.profilePicture { } /* Switch button */ -.switch { - position: relative; - height: 26px; - width: 140px; - background: #f3f3f3; - border: 1px solid #ced4d9; - border-radius: 2px; -} - -.switch-label { - position: relative; - z-index: 2; - float: left; - width: 50%; - line-height: 25px; - font-size: 11px; - text-align: center; +.switch-button { + font-size: 0.9em; + text-transform: uppercase; cursor: pointer; - margin: 0 !important; -} -.switch-label:active { - font-weight: bold; } -.switch-label-off { - padding-left: 2px; -} - -.switch-label-on { - padding-right: 2px; -} - -.switch-input { - display: none; -} - -.switch-input:checked + .switch-label { - font-weight: bold; - color: #fff; - transition: 0.15s ease-out; - transition-property: color, text-shadow; -} -.switch-input:checked + .switch-label-on ~ .switch-selection { - left: 50%; -} - -.switch-selection { - position: absolute; - z-index: 1; - top: 2px; - left: 2px; - display: block; - width: 50%; - height: 21px; - border-radius: 2px; - background-color: #6c757d; - transition: left 0.15s ease-out; +.switch-icon-publish { + color: #1cb11c; }