Skip to content

Commit

Permalink
improv. move dark css (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
nivcoo authored Jan 3, 2021
1 parent c3b163c commit 03d5570
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/View/Layouts/admin.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
</head>
<body class="hold-transition sidebar-mini layout-fixed <?= $admin_dark_mode ? "dark-mode" : "" ?> ">
<?php if($admin_dark_mode) { ?>
<style>
.text-dark {
color: white !important
}
</style>
<?php } ?>
<div class="wrapper">

<nav class="main-header navbar navbar-expand navbar-dark navbar-lightblue">
Expand Down
4 changes: 4 additions & 0 deletions app/webroot/css/admin.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.dark-mode .text-dark {
color: white !important
}

.checkbox {
padding: 5px 0px 5px 0px;
}
Expand Down

0 comments on commit 03d5570

Please sign in to comment.