当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 15.10制作主题的问题
帖子发表于 : 2016-01-30 21:09 
头像

注册: 2008-06-23 15:19
帖子: 3051
地址: 北欧某国
系统: ���������
送出感谢: 21
接收感谢: 6
图片
图片
昨天还可以正常显示,今天就不能用了。

代码:
NautilusWindow {
   background-image: url ("../assets/background0.png");
   background-repeat: no-repeat;
   background-position:bottom right;
   background-size: 50px;
}
NautilusWindow .sidebar .frame {
   background-image: linear-gradient(to bottom, @bg_color, alpha(@bg_color,0.5)), url("../assets/44148061_p0.jpg");
   background-size: 100%;
   background-repeat: no-repeat;
   background-position:bottom right;
}
NautilusWindow .sidebar GtkTreeView {
   background-color: @transparent;
}
NautilusCanvasViewContainer,
NautilusListView GtkTreeView,
NautilusListView GtkTreeView GtkButton {
   background-color: @transparent;
}
.nautilus-canvas-item {
   border-radius: 4px;
   background-color: @selected_bg_color;
}
/* 以上部分是经过我的修改的 */


NautilusWindow * {
    -GtkPaned-handle-size: 1;
}
NautilusDesktopWindow GtkWidget {
    background-color: @transparent;
}


/* desktop mode */
.nautilus-desktop.nautilus-canvas-item {
    color: @bg_color;
    text-shadow: 1px 1px alpha (#000000, 0.8);
}

.nautilus-desktop.nautilus-canvas-item:active {
    background-image: none;
    background-color: alpha (@bg_color, 0.84);

    color: @fg_color;
}

.nautilus-desktop.nautilus-canvas-item:selected {
    background-image: none;
    background-color: alpha (@selected_bg_color, 0.84);

    color: @selected_fg_color;
}

.nautilus-desktop.nautilus-canvas-item:active,
.nautilus-desktop.nautilus-canvas-item:prelight,
.nautilus-desktop.nautilus-canvas-item:selected {
    text-shadow: none;
}
[/css]

也不知道 nautilus.css 文件改错了没有,为什么连个错误提示都没有呢?

我用 GtkInspector 修改的代码如下:
[code]
/*
You can type here any CSS rule recognized by GTK+.
You can temporarily disable this custom CSS by clicking on the “Pause” button above.

Changes are applied instantly and globally, for the whole application.
*/

NautilusWindow {
   background-image: url("/home/liu/.themes/KanColle/gtk-3.0/assets/background0.png");
   //background-image: linear-gradient(to left, #aa0000, #00aa00);
   background-repeat: no-repeat;
   background-position:bottom right;
   background-size: 50%;
}
NautilusWindow .sidebar .frame {
   background-image: linear-gradient(to bottom, @bg_color, alpha(@bg_color,0.5)), url("/home/liu/.themes/KanColle/gtk-3.0/assets/44148061_p0.jpg");
   background-size: 100%;
   background-repeat: no-repeat;
   background-position:bottom right;

}
NautilusWindow .sidebar GtkTreeView {
   background-color: @transparent;
}
NautilusCanvasViewContainer,
NautilusListView GtkTreeView,
NautilusListView GtkTreeView GtkButton {
   background-color: @transparent;
}
.nautilus-canvas-item {
   background-color: @selected_bg_color;
}

这个倒是正常的,但是我不能每次开机都要用 GtkInspector 修改呀?


_________________
http://noie.name 网站改版中。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译