Code Monkey home page Code Monkey logo

beets-css's People

Contributors

jonasbirkelof avatar

Forkers

luckypackets

beets-css's Issues

Callout background resizes

If you have a callout header with more than one row of text, the icon can shrink causing a couple of problems.

  1. Since the icon is set as a background-image it cam be repeated. To fix this, add background-repeat: no-repeat to the .callout-header::before for both fa-icons and bs-icons in mixins/_bcss-callout.scss.

  2. The use of rems to set the width makes it possible to shrink. Instead of using width, use min-width for the .callout-header::before in _bcss-callout.scss.

Ghost buttons active bg-color are not transparent

When a ghost button (.btn-ghost-*) has the active state, tha background color is using the tint-color() mixin to give it a lighter golor than the theme color. This works on light/white backgrounds but on darker backgrounds it is just to bright.

The active background color should be transparent just like the hover background color.

I will make a PR with this change, but the quick fick for the source files is to change:

@mixin button-ghost-variant(
   $bg-color-active: tint-color($theme-color, 85%),
) {

to...

@mixin button-ghost-variant(
   $bg-color-active: #{$theme-color}2a,
) {

...in the file mixins\_bcss-buttons.scss.

Use Bootstrap Icons for Callouts

To standardize and simplify Callouts, we can use the Bootstrap Icons to generate a standard set of icons for the different callout types. Depending on the type (.callout .callout-info) an appropriate icon should be selected by adding the class .callout-icon. If the user wants to add a custom icon or no icon at all, the .callout-icon class could be left out.

Inspiration:
https://squidfunk.github.io/mkdocs-material/reference/admonitions/
https://help.obsidian.md/How+to/Use+callouts#Types

Bootstrap Icons:
https://icons.getbootstrap.com/

Error in alerts docs

The example code for dissmissible alerts contains errors with the close button. The class should be "btn-close" and the button tag should be empty (no ร—).

Change the name of the compiled css file

Since the naming convention has changed a litte for the entire Beets project, the compiled css file should be named beets-css.css instead of beets.scss. The change will work better with other components like the beets-layout.css.

Submenu arrow has wrong color

When the dark theme for the sidebar is used and when there are submenues, the arrow indicating the submenu is too dark. It should be lighter so that it is visible. Look at previous version of Beets to get the right color.

Fix card header and footer bg-colors when styled

Then a card is styled with contextual colors (primary, etc) the header and footer is still white. They should be a slightly darker color than the body. Probobly has something to do with the alpha channel in the rgba().

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.