year-view: initial UI for no events days
This commit is contained in:
@@ -118,10 +118,28 @@
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.italic-label {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
GtkListBox.sidebar {
|
||||
background-color: @theme_bg_color;
|
||||
}
|
||||
|
||||
GtkBox.sidebar {
|
||||
background-color: @theme_bg_color;
|
||||
border-color: @borders;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
GtkBox.sidebar:dir(ltr) {
|
||||
border-left-width: 1px;
|
||||
}
|
||||
|
||||
GtkBox.sidebar:dir(rtl) {
|
||||
border-right-width: 1px;
|
||||
}
|
||||
|
||||
GcalYearView GtkScrolledWindow {
|
||||
border-top-width: 0;
|
||||
border-bottom-width: 0;
|
||||
|
||||
+55
-4
@@ -24,17 +24,68 @@
|
||||
<property name="width_request">200</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkScrolledWindow" id="navigator_sidebar">
|
||||
<object class="GtkStack" id="navigator_stack">
|
||||
<property name="visible">True</property>
|
||||
<property name="shadow_type">out</property>
|
||||
<property name="vexpand">True</property>
|
||||
<child>
|
||||
<object class="GtkListBox" id="events_sidebar">
|
||||
<object class="GtkScrolledWindow" id="navigator_sidebar">
|
||||
<property name="visible">True</property>
|
||||
<property name="shadow_type">out</property>
|
||||
<property name="vexpand">True</property>
|
||||
<child>
|
||||
<object class="GtkListBox" id="events_sidebar">
|
||||
<property name="visible">True</property>
|
||||
<style>
|
||||
<class name="sidebar" />
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="position">0</property>
|
||||
<property name="name">events-list</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<style>
|
||||
<class name="sidebar" />
|
||||
</style>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="visible">True</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="margin">6</property>
|
||||
<property name="label" translatable="True">Today</property>
|
||||
<style>
|
||||
<class name="sidebar-header" />
|
||||
</style>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="visible">True</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="margin_start">6</property>
|
||||
<property name="label" translatable="True">No events</property>
|
||||
<style>
|
||||
<class name="dim-label" />
|
||||
<class name="italic-label"/>
|
||||
</style>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="position">1</property>
|
||||
<property name="name">no-events</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
|
||||
Reference in New Issue
Block a user