Skip to content

Instantly share code, notes, and snippets.

View Lego2012's full-sized avatar

Leo Merkel Lego2012

View GitHub Profile
// Show WP admin bar in Bricks editor.
add_action("init", function () {
    // if this is not the outer frame, abort
    if (!bricks_is_builder_main()) {
        return;
    }

    add_filter("show_admin_bar", "__return_true");
});
root {
// Before Element
--before-blur: 50px;
--before-display: flex;
--before-width: 40rem;
--before-height: 40rem;
--before-inset: 0 auto auto 0;
--before-bg: var(--action);
--before-opacity: .12;
--before-rotate: -5deg;
/*
*
* Credits:
* Based on the original PNG/Sketch gradients by Vladimir Kudinov
* https://www.behance.net/gallery/30067997/Hue-Free-Promo-Backdrops-and-Gradients
*
* CSS Prototype using CSS3 background-blend modes by More than Themes
* http://www.morethanthemes.com
*
* Version - 1.0.0
// https://wagepirate.com/blog/back-to-top-button-bricks/
/**
There needs to be an empty div before the header. See in Misc folder ‘Empty div before header‘
**/
.bricks-is-frontend .backtotop {
opacity: 0;
visibility: hidden;
}
body {
overflow-y: scroll; /* Show vertical scrollbar */
}
// Custom Scrollbar
body::-webkit-scrollbar {
width: 1em;
height: 1em;
}
body::-webkit-scrollbar-track {
background: var(--action-light);
// border-radius: 100vw;
// margin-block: 0.5em;
/* AT: Make the indicator for custom settings better visible before hover */
.brxce-panel-shortcut__container li.has-settings:before {
// border-left: 5px solid var(--builder-color-accent) !important;
border-left: 5px solid var(--white) !important;
}
// Import ACSS
@import "plugins/automaticcss-plugin/assets/scss/dashboard/color-vars.scss";
@import "plugins/automaticcss-plugin/assets/scss/dashboard/button-vars.scss";
@import "plugins/automaticcss-plugin/assets/scss/dashboard/contextual-vars.scss";
@import "plugins/automaticcss-plugin/assets/scss/dashboard/additional-styles.scss";
@import "plugins/automaticcss-plugin/assets/scss/dashboard/text-vars.scss";
@import "plugins/automaticcss-plugin/assets/scss/helpers/mixins.scss";
@import "plugins/automaticcss-plugin/assets/scss/helpers/functions.scss";

Siehe auch Drafts

  • Kamera am Boden, langlaufen, vorbeilaufen etc.
  • GoPro 11, die mich filmt nicht im Cockpit, sondern leicht links aussen
  • Kurze Drohnenflüge
  • Historisches erzählen
  • Live-Ton während der Fahrt und danach im Schnitt Off-Kommentare
  • Mikro für den Motorsound hinten montieren (evtl. mit Klettband am Topcase)
  • Osmo Action nach hinten auf dem Topcase montieren, am Rahmen etc.
  • GoPro 12 als Helmkamera
/* Old way */
ul li a,
ol li a {
color: yellow;
}
/* Modern way */
:is(ul, ol) a {
color: black;
}