zoukankan      html  css  js  c++  java
  • ubuntu修改顶栏颜色


    title: ubuntu修改顶栏颜色
    toc: false
    date: 2018-09-29 19:14:01
    categories:

    • methods

    tags:

    • Ubuntu

    编辑shell主题的css文件,比如我的shell主题是Vimix-Beryl

    sudo gedit /usr/share/themes/Vimix-Beryl/gnome-shell/gnome-shell.css
    

    打开之后搜索top bar,会看到这样一段:

    /* TOP BAR */
    #panel {
      background-color: rgba(0, 0, 0, 0.6);
      /* transition from solid to transparent */
      transition-duration: 250ms;
      font-weight: bold;
      height: 32px;
    }
    

    按照自己的喜好修改background-color即可_

    补充:修改完可能并不能直接看到效果,可以在tweaks里先切换成别的主题再换成修改了的主题。

    再补充:因为我是把透明度调到了大概0.2左右,导致使用hide top bar扩展时使用鼠标触发top bar后几乎看不清,可以往下找一下#panel.solid,把background-color改成这样:

    #panel.solid {
      background-color: rgba(0, 0, 0, 0.5);;
      /* transition from transparent to solid */
      transition-duration: 250ms;
      background-gradient-direction: none;
      text-shadow: none;
    }
    
  • 相关阅读:
    LIB和 DLL区别
    C++ STL总结
    浅谈static和extern关系
    死锁及处理
    函数模板与模板函数
    Linux无法启动httpd_正在启动httpd
    httpd不允许远程连接问题
    虚拟机UUIDexist_更改UUID
    MySQL远程连接丢失问题
    Apache服务端允许跨域
  • 原文地址:https://www.cnblogs.com/zmj97/p/10180661.html
Copyright © 2011-2022 走看看