Commit e54d5d40 authored by Islam Bahnasy's avatar Islam Bahnasy

data: Rename application.css to org.gnome.Music.css

parent 69870684
Pipeline #27896 failed with stages
in 7 minutes and 14 seconds
@binding-set unbind-ctrl-space {
unbind "<ctrl>space";
}
/* Use widget for libgd classes, since they aren't updated
to gtk+-3.20 css naming yet. */
flowbox, treeview, widget {
-gtk-key-bindings: unbind-ctrl-space;
}
.discsongsflowbox > flowboxchild {
padding: 0px;
}
/* AlbumCover */
.albumcover-artist-label {
font-size: smaller;
}
/* AlbumWidget */
.title-artist {
font-size: larger;
font-weight: bold;
}
/* ArtistAlbumsWidget */
box#ArtistAlbumsWidget .artist-label {
font-weight: bold;
}
/* NoMusic */
.no-music-found-label {
font-size: xx-large;
font-weight: bold;
}
/* PlayerToolbar */
.player-title-label {
font-weight: bold;
font-size: smaller;
}
.player-artist-label {
font-size: smaller;
}
/* PlaylistControls */
.playlist-name-label {
font-weight: bold;
font-size: x-large;
}
/* ArtistAlbumWidget */
.album-cover {
padding-left:24px;
}
.album-title {
padding-left:24px;
font-weight: bold;
}
.songs-list {
box-shadow: inset 0 -1px shade(@borders, 1.30);
background-color: @theme_bg_color;
}
.songs-list:selected {
color: shade(@theme_fg_color, 0.0);
border-color: mix(@theme_fg_color, @theme_bg_color, 0.5);
}
/* We use background-image as a workaround on the StarImage widget to
enable transitions between the non-starred and starred icons. */
.star {
background-image: -gtk-icontheme('non-starred-symbolic');
color: shade(@theme_bg_color, 0.8);
transition: 100ms linear;
}
.star:hover {
color: shade(@theme_bg_color, 0.5);
}
.star:selected {
background-image: -gtk-icontheme('starred-symbolic');
color: @theme_selected_bg_color;
transition: 100ms linear;
}
.content-view { background-color: @theme_bg; }
.grey-image {
color: alpha(@theme_fg_color, 0.3);
}
/* Used in AlbumWidget and ArtistAlbumsWidget */
.playing-song-label {
font-weight: bold;
}
/* visual hint for development */
.devel headerbar {
background: transparent -gtk-icontheme("system-run-symbolic") 80% 0/128px 128px no-repeat,
linear-gradient(to left,
mix(@theme_fg_color, @theme_bg_color, 0.5) 0%,
@theme_bg_color 25%);
color: alpha(@theme_fg_color, 0.2);
}
.devel headerbar label {
color: @theme_fg_color;
}
.devel headerbar.selection-mode {
background: transparent -gtk-icontheme("system-run-symbolic") 80% 0/128px 128px no-repeat,
linear-gradient(to left,
@theme_selected_bg_color 0%,
@theme_selected_bg_color 25%);
color: alpha(@theme_fg_color, 0.2);
}
.devel headerbar.selection-mode label {
color: @theme_selected_fg_color;
}
/* headerbar - smooth selection-mode transition */
headerbar {
transition: 250ms ease-in-out;
}
/* TwoLineTip */
.tooltip-title {
font-weight: bold;
}
......@@ -4,7 +4,7 @@
<file preprocess="xml-stripblanks">AboutDialog.ui</file>
<file alias="gtk/menus.ui" preprocess="xml-stripblanks">ui/app-menu.ui</file>
<file alias="gtk/help-overlay.ui" preprocess="xml-stripblanks">ui/help-overlay.ui</file>
<file>application.css</file>
<file>org.gnome.Music.css</file>
<file>icons/initial-state.png</file>
<file preprocess="xml-stripblanks">ui/AlbumCover.ui</file>
<file preprocess="xml-stripblanks">ui/AlbumWidget.ui</file>
......
......@@ -61,7 +61,7 @@ class Application(Gtk.Application):
def _init_style(self):
css_provider_file = Gio.File.new_for_uri(
'resource:///org/gnome/Music/application.css')
'resource:///org/gnome/Music/org.gnome.Music.css')
css_provider = Gtk.CssProvider()
css_provider.load_from_file(css_provider_file)
screen = Gdk.Screen.get_default()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment