Giter Club home page Giter Club logo

Comments (5)

mustakshif avatar mustakshif commented on May 30, 2024

谢谢你对主题的认可😊

工作空间按钮的这个设计是借鉴了Safari浏览器相似功能按钮的UI,加框也能与周围元素区分,如下方的「文档树」,加框后就有了是否可点击交互的区别。

底色是有的,鼠标hover后会变成主题色:
image

字重上我设定的是中粗,但没想到在Windows上看起来这么粗😂,应该是Windows上微软雅黑字体字重区分不够多的缘故。这个后续可能会优化。

如果确实不喜欢边框及粗体,可以使用以下自定义CSS代码:

/*字重调整为普通*/
#toolbar #barWorkspace {
    font-weight: normal;
}

/*边框透明*/
#toolbar #barWorkspace::before{
    outline-color: transparent;
}

from asri.

xy0124 avatar xy0124 commented on May 30, 2024

多谢大佬细心的解答。
Windows平台的一些细节确实做得不够那么好。

from asri.

xy0124 avatar xy0124 commented on May 30, 2024

image
加上之后视觉上看起来舒服多了~哈哈哈哈

from asri.

mustakshif avatar mustakshif commented on May 30, 2024

好嘞 喜欢就好哈哈~

预告一下,下个版本改动了工作空间按钮的样式,更新后如果仍需要调整边框和字重得换成以下代码:

#toolbar #barWorkspace {
    font-weight: normal;
    outline-color: transparent;
}

from asri.

xy0124 avatar xy0124 commented on May 30, 2024

OK

from asri.

Related Issues (20)

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.