event-editor-dialog: Better style sections

This gives them rounded corners and separators.
This commit is contained in:
Adrien Plazas
2021-10-15 16:31:00 +02:00
parent 660d3300b2
commit 977673ad02
5 changed files with 25 additions and 6 deletions
@@ -2,6 +2,10 @@
<interface>
<template class="GcalNotesSection" parent="GtkBin">
<property name="can_focus">False</property>
<style>
<class name="notes-section" />
</style>
<child>
<object class="GtkBox">
@@ -4,10 +4,6 @@
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<style>
<class name="frame" />
</style>
<child>
<object class="GtkListBox" id="alarms_listbox">
<property name="visible">True</property>
@@ -15,6 +11,10 @@
<property name="selection_mode">none</property>
<signal name="row-activated" handler="on_alarms_listbox_row_activated_cb" object="GcalRemindersSection" swapped="no" />
<style>
<class name="content" />
</style>
<child>
<object class="GtkListBoxRow" id="new_alarm_row">
<property name="visible">True</property>
@@ -10,7 +10,7 @@
<property name="selection-mode">none</property>
<style>
<class name="frame" />
<class name="content" />
</style>
<!-- All Day -->
+1 -1
View File
@@ -9,7 +9,7 @@
<property name="selection-mode">none</property>
<style>
<class name="frame" />
<class name="content" />
</style>
<!-- Summary -->
+15
View File
@@ -498,3 +498,18 @@ monthpopover > box {
padding: 12px;
background: @theme_bg_color;
}
.notes-section .frame {
border-radius: 8px;
-gtk-outline-radius: 7px;
border-color: alpha(@borders, 0.7);
}
.notes-section .frame > textview.view {
border-radius: 8px;
padding: 8px;
}
.notes-section .frame > textview.view > text {
background: none;
}