mirror of https://github.com/daleclack/My_GtkUi
Add icons for windows
This commit is contained in:
parent
3420348c89
commit
48f6434a1c
|
@ -27,6 +27,7 @@ set(RESOURCE_LIST
|
||||||
flos.png
|
flos.png
|
||||||
menubar.xml
|
menubar.xml
|
||||||
style.css
|
style.css
|
||||||
|
style_dark.css
|
||||||
reset.css
|
reset.css
|
||||||
dock.ui
|
dock.ui
|
||||||
start.ui
|
start.ui
|
||||||
|
@ -35,6 +36,8 @@ set(RESOURCE_LIST
|
||||||
folder.svg
|
folder.svg
|
||||||
gnome-fs-regular.svg
|
gnome-fs-regular.svg
|
||||||
icons/16x16/actions/7zFM.png
|
icons/16x16/actions/7zFM.png
|
||||||
|
icons/16x16/actions/arrow_left.svg
|
||||||
|
icons/16x16/actions/arrow_right.svg
|
||||||
icons/48x48/actions/My_GtkUI.png
|
icons/48x48/actions/My_GtkUI.png
|
||||||
icons/scalable/status/file-manager.svg
|
icons/scalable/status/file-manager.svg
|
||||||
icons/scalable/status/file-manager_running.svg
|
icons/scalable/status/file-manager_running.svg
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
||||||
|
<defs id="defs3051">
|
||||||
|
<style type="text/css" id="current-color-scheme">
|
||||||
|
.ColorScheme-Text {
|
||||||
|
color:#dedede;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</defs>
|
||||||
|
<path style="fill:currentColor;fill-opacity:1;stroke:none"
|
||||||
|
d="m5 8l6.251-6 .749.719-4.298 4.125-1.237 1.156 1.237 1.156 4.298 4.125-.749.719-4.298-4.125z"
|
||||||
|
class="ColorScheme-Text"
|
||||||
|
/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 427 B |
|
@ -0,0 +1,13 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
||||||
|
<defs id="defs3051">
|
||||||
|
<style type="text/css" id="current-color-scheme">
|
||||||
|
.ColorScheme-Text {
|
||||||
|
color:#dedede;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</defs>
|
||||||
|
<path style="fill:currentColor;fill-opacity:1;stroke:none"
|
||||||
|
d="m12 8l-6.251-6-.749.719 4.298 4.125 1.237 1.156-1.237 1.156-4.298 4.125.749.719 4.298-4.125z"
|
||||||
|
class="ColorScheme-Text"
|
||||||
|
/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 428 B |
|
@ -210,7 +210,7 @@
|
||||||
<object class="GtkImage">
|
<object class="GtkImage">
|
||||||
<property name="visible">1</property>
|
<property name="visible">1</property>
|
||||||
<property name="pixel-size">16</property>
|
<property name="pixel-size">16</property>
|
||||||
<property name="icon-name">arrow-right</property>
|
<property name="icon-name">arrow_right</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
@ -476,7 +476,7 @@
|
||||||
<object class="GtkImage">
|
<object class="GtkImage">
|
||||||
<property name="visible">1</property>
|
<property name="visible">1</property>
|
||||||
<property name="pixel-size">16</property>
|
<property name="pixel-size">16</property>
|
||||||
<property name="icon-name">arrow-left</property>
|
<property name="icon-name">arrow_left</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
/*
|
||||||
|
您可以在这里输入任何 GTK 可识别的 CSS 规则。
|
||||||
|
您可以点击上面的“暂停”按钮来暂时停用这个自定义 CSS。
|
||||||
|
|
||||||
|
变更会立即应用到全局,影响整个应用程序。
|
||||||
|
*/
|
||||||
|
@import url("resource://org/gtk/daleclack/reset.css");
|
||||||
|
|
||||||
|
/*Style for menubar*/
|
||||||
|
menubar{
|
||||||
|
background-color: alpha(gray,0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
box{
|
||||||
|
background-color: alpha(gray,0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
separator{
|
||||||
|
background-color:rgb(59, 59, 59);
|
||||||
|
}
|
||||||
|
|
||||||
|
menubutton{
|
||||||
|
color:rgb(32, 32, 32);
|
||||||
|
}
|
||||||
|
|
||||||
|
button{
|
||||||
|
color:white;
|
||||||
|
}
|
|
@ -86,7 +86,7 @@ static void main_win_init(MainWin *win)
|
||||||
|
|
||||||
// Apply Style for menubar and the button
|
// Apply Style for menubar and the button
|
||||||
win->provider = GTK_STYLE_PROVIDER(gtk_css_provider_new());
|
win->provider = GTK_STYLE_PROVIDER(gtk_css_provider_new());
|
||||||
gtk_css_provider_load_from_resource(GTK_CSS_PROVIDER(win->provider), "/org/gtk/daleclack/style.css");
|
gtk_css_provider_load_from_resource(GTK_CSS_PROVIDER(win->provider), "/org/gtk/daleclack/style_dark.css");
|
||||||
gtk_style_context_add_provider(gtk_widget_get_style_context(menubar), win->provider, G_MAXINT);
|
gtk_style_context_add_provider(gtk_widget_get_style_context(menubar), win->provider, G_MAXINT);
|
||||||
gtk_style_context_add_provider(gtk_widget_get_style_context(home_button), win->provider, G_MAXINT);
|
gtk_style_context_add_provider(gtk_widget_get_style_context(home_button), win->provider, G_MAXINT);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue