Add basic 'dodo' theme

definitely not complete, but a decent feature preview
This commit is contained in:
Lance Edgar 2019-03-09 23:18:35 -06:00
parent 20b97a88c0
commit 9a85bd0edb
4 changed files with 338 additions and 0 deletions

View file

@ -0,0 +1,84 @@
/* copied from https://github.com/dansup/bulma-templates/blob/master/css/admin.css */
html, body {
font-family: 'Open Sans', serif;
font-size: 16px;
line-height: 1.5;
height: 100%;
background: #ECF0F3;
}
nav.navbar {
border-top: 4px solid #276cda;
margin-bottom: 1rem;
}
.navbar-item.brand-text {
font-weight: 300;
}
.navbar-item, .navbar-link {
font-size: 14px;
font-weight: 700;
}
.columns {
width: 100%;
height: 100%;
margin-left: 0;
}
.menu-label {
color: #8F99A3;
letter-spacing: 1.3;
font-weight: 700;
}
.menu-list a {
color: #0F1D38;
font-size: 14px;
font-weight: 700;
}
.menu-list a:hover {
background-color: transparent;
color: #276cda;
}
.menu-list a.is-active {
background-color: transparent;
color: #276cda;
font-weight: 700;
}
.card {
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.18);
margin-bottom: 2rem;
}
.card-header-title {
color: #8F99A3;
font-weight: 400;
}
.info-tiles {
margin: 1rem 0;
}
.info-tiles .subtitle {
font-weight: 300;
color: #8F99A3;
}
.hero.welcome.is-info {
background: #36D1DC;
background: -webkit-linear-gradient(to right, #5B86E5, #36D1DC);
background: linear-gradient(to right, #5B86E5, #36D1DC);
}
.hero.welcome .title, .hero.welcome .subtitle {
color: hsl(192, 17%, 99%);
}
.card .content {
font-size: 14px;
}
.card-footer-item {
font-size: 14px;
font-weight: 700;
color: #8F99A3;
}
.card-footer-item:hover {
}
.card-table .table {
margin-bottom: 0;
}
.events-card .card-table {
max-height: 250px;
overflow-y: scroll;
}

View file

@ -0,0 +1,11 @@
/******************************
* tweaks for root user
******************************/
.navbar .navbar-menu .navbar-link.root-user,
.navbar .navbar-menu .navbar-item.root-user,
.navbar.is-white .navbar-item.has-dropdown.is-active .navbar-link.root-user,
.navbar.is-white .navbar-item.has-dropdown:hover .navbar-link.root-user {
background-color: red;
}

View file

@ -0,0 +1,12 @@
// copied from https://github.com/dansup/bulma-templates/blob/master/js/bulma.js
// The following code is based off a toggle menu by @Bradcomp
// source: https://gist.github.com/Bradcomp/a9ef2ef322a8e8017443b626208999c1
(function() {
var burger = document.querySelector('.burger');
var menu = document.querySelector('#'+burger.dataset.target);
burger.addEventListener('click', function() {
burger.classList.toggle('is-active');
menu.classList.toggle('is-active');
});
})();