theme: drop .views CSS class

The default class for content viewers in Gtk+ is .view and
ideally provided by the theme. Not only that, but it provides
the exact same functionality of ours, but in a way that is
overridable for theme designers.

Fix this issue by removing the class from out CSS.

https://bugzilla.gnome.org/show_bug.cgi?id=765664
This commit is contained in:
Georges Basile Stavracas Neto
2016-05-08 14:45:57 -03:00
parent 5e05f99876
commit b03edc6cd4
2 changed files with 1 additions and 10 deletions
-6
View File
@@ -1,11 +1,5 @@
@define-color event_shadow_color alpha(black, 0.2); @define-color event_shadow_color alpha(black, 0.2);
.views {
/* background color of every view */
background-color: @theme_base_color;
background-image: none;
}
.nav-button { .nav-button {
background-color: transparent; background-color: transparent;
background-image: none; background-image: none;
+1 -4
View File
@@ -50,7 +50,7 @@
<property name="transition_type">crossfade</property> <property name="transition_type">crossfade</property>
<signal name="notify::visible-child" handler="view_changed" object="GcalWindow" swapped="no"/> <signal name="notify::visible-child" handler="view_changed" object="GcalWindow" swapped="no"/>
<style> <style>
<class name="views"/> <class name="view"/>
</style> </style>
<child> <child>
<object class="GcalMonthView" id="month_view"> <object class="GcalMonthView" id="month_view">
@@ -276,9 +276,6 @@
</child> </child>
</object> </object>
</child> </child>
<style>
<class name="views"/>
</style>
</template> </template>
<object class="GcalSearchView" id="search_view"> <object class="GcalSearchView" id="search_view">
<property name="visible" bind-source="search_bar" bind-property="search-mode-enabled" bind-flags="default | sync-create" /> <property name="visible" bind-source="search_bar" bind-property="search-mode-enabled" bind-flags="default | sync-create" />