Last active
April 17, 2021 01:11
-
-
Save jondashkyle/51c2338a0b11721de2ad24cbb1c8d182 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A reset for Kirby’s panel | |
* Work in progress | |
* | |
* Installation | |
* - Create CSS file inside your site’s assets directory | |
* - Open config.php and add the following line | |
* c::set('panel.stylesheet', 'assets/panel.css'); | |
* - Adjust to your liking | |
*/ | |
* { | |
font-size: 100%; | |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
} | |
.btn-positive, | |
.message-is-notice .message-content, | |
.label abbr, | |
.nav-icon, | |
.breadcrumb-link { | |
color: #000; | |
} | |
.btn-positive, | |
.input-is-focused, | |
.input:active, | |
.input:focus { | |
border-color: #000; | |
} | |
.message-is-notice .message-content, | |
.search-input, | |
.nav-icon, | |
.languages, .topbar, | |
.breadcrumb, | |
.grey, | |
.app { | |
background: #fff; | |
} | |
.message .message-content:after, | |
.breadcrumb-label:after, | |
.breadcrumb-link:before, | |
.breadcrumb-link:after { | |
display: none; | |
} | |
.dashboard-section { padding: 0 } | |
.topbar:after { | |
content: ''; | |
display: 'block'; | |
position: absolute; | |
bottom: -2px; | |
left: 0; | |
right: 0; | |
height: 2px; | |
background: rgba(0, 0, 0, 0.15); | |
} | |
body.ltr .breadcrumb-link { padding: 0 } | |
body.ltr .breadcrumb-label { padding: 1em } | |
.breadcrumb-link { | |
border-right: 1px dashed; | |
} | |
.breadcrumb-link, | |
body.ltr .nav-icon-right, body.rtl .nav-icon-left, | |
body.ltr .nav-icon-left, body.rtl .nav-icon-right { | |
border-color: rgba(0, 0, 0, 0.15); | |
} | |
.sidebar-content.section { | |
padding-right: 0; | |
} | |
@media screen and (min-width: 50em) { | |
.mainbar .form { | |
padding-left: 0; | |
padding-right: 0; | |
} | |
} | |
@media screen and (min-width: 50em) { | |
.mainbar .form .buttons { | |
background: #fff; | |
background: -webkit-linear-gradient(bottom,#fff,rgba(255,255,255,.9) 75%,rgba(255,255,255,0)); | |
background: -moz-linear-gradient(bottom,#fff,rgba(255,255,255,.9) 75%,rgba(255,255,255,0)); | |
background: -ms-linear-gradient(bottom,#fff,rgba(255,255,255,.9) 75%,rgba(255,255,255,0)); | |
background: linear-gradient(bottom,#fff,rgba(255,255,255,.9) 75%,rgba(255,255,255,0)); | |
} | |
} | |
.grid-item figure { | |
border: 1px solid rgba(0, 0, 0, 0.15); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Still working on adding styles as I go along, but much improved.
To install:
c::set('panel.stylesheet', 'assets/panel.css');