2014-07-06 20:35:24 +00:00
|
|
|
/*
|
|
|
|
TODO:
|
|
|
|
Look into compiling resources with glib-compile-resource etc. for
|
|
|
|
inclusion in templates
|
|
|
|
*/
|
|
|
|
|
2014-08-30 08:22:01 +00:00
|
|
|
@binding-set editor-bindings {
|
|
|
|
bind "<ctl>i" { "insert-italic" () };
|
|
|
|
bind "<ctl>b" { "insert-bold" () };
|
|
|
|
bind "<ctl>r" { "insert-hrule" () };
|
2019-03-31 02:16:18 +00:00
|
|
|
bind "<ctl>u" { "insert-listitem" () };
|
|
|
|
bind "<ctl>h" { "insert-header" () };
|
2014-08-30 08:22:01 +00:00
|
|
|
bind "<ctl>z" { "undo" () };
|
|
|
|
bind "<ctl>y" { "redo" () };
|
2019-03-31 02:16:18 +00:00
|
|
|
bind "<ctl><shift>d" { "insert-strikethrough" () };
|
2014-10-02 17:02:59 +00:00
|
|
|
/*bind "<ctl>t" { "insert-at-cursor" ('[ ] ') };*/
|
2014-08-30 08:22:01 +00:00
|
|
|
bind "<ctl><shift>z" { "redo" () };
|
|
|
|
}
|
|
|
|
|
2019-06-23 01:34:16 +00:00
|
|
|
@define-color code_bg_color mix(@theme_base_color, @theme_fg_color, 0.05);
|
2019-04-19 11:01:43 +00:00
|
|
|
|
2017-12-20 10:03:07 +00:00
|
|
|
/* Main window and text colors */
|
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-window {
|
2019-04-19 11:01:43 +00:00
|
|
|
background: @theme_base_color;
|
|
|
|
color: @theme_fg_color;
|
|
|
|
caret-color: @theme_fg_color;
|
2014-07-06 20:35:24 +00:00
|
|
|
}
|
2014-08-30 08:22:01 +00:00
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen) {
|
2019-11-23 01:08:47 +00:00
|
|
|
border-top-left-radius: 8px;
|
|
|
|
border-top-right-radius: 8px;
|
|
|
|
}
|
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen):dir(ltr) scrollbar {
|
2019-11-23 01:08:47 +00:00
|
|
|
border-top-right-radius: 8px;
|
|
|
|
}
|
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen):dir(rtl) scrollbar {
|
2019-11-23 01:08:47 +00:00
|
|
|
border-top-left-radius: 8px;
|
|
|
|
}
|
|
|
|
|
2019-03-31 02:16:18 +00:00
|
|
|
#titlebar-revealer {
|
2016-02-05 22:52:43 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2014-08-30 08:22:01 +00:00
|
|
|
.scrollbars-junction,
|
|
|
|
.scrollbar.trough {
|
2015-05-19 22:51:02 +00:00
|
|
|
background: transparent;
|
2014-08-30 08:22:01 +00:00
|
|
|
}
|
|
|
|
|
2019-03-31 02:16:18 +00:00
|
|
|
#titlebar-container {
|
2019-04-19 11:01:43 +00:00
|
|
|
background: @theme_base_color;
|
2017-12-11 15:45:54 +00:00
|
|
|
}
|
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-editor {
|
2019-04-26 02:12:54 +00:00
|
|
|
-gtk-key-bindings: editor-bindings;
|
2014-07-06 20:35:24 +00:00
|
|
|
border: none;
|
2015-05-19 22:51:02 +00:00
|
|
|
background-color: transparent;
|
2019-04-19 11:01:43 +00:00
|
|
|
text-decoration-color: @error_color;
|
2019-04-26 02:12:54 +00:00
|
|
|
font-family: 'Fira Mono', monospace;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-editor.size14 {
|
2019-04-26 02:12:54 +00:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-editor.size15 {
|
2019-04-26 02:12:54 +00:00
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-editor.size16 {
|
2019-04-26 02:12:54 +00:00
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-editor.size17 {
|
2019-04-26 02:12:54 +00:00
|
|
|
font-size: 17px;
|
|
|
|
}
|
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-editor.size18 {
|
2019-04-26 02:12:54 +00:00
|
|
|
font-size: 18px;
|
2014-07-06 20:35:24 +00:00
|
|
|
}
|
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-editor text {
|
2019-04-19 11:01:43 +00:00
|
|
|
background-color: @theme_base_color;
|
|
|
|
color: @theme_fg_color;
|
|
|
|
caret-color: @theme_fg_color;
|
2017-12-08 20:57:41 +00:00
|
|
|
}
|
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-editor text selection {
|
2019-04-19 11:01:43 +00:00
|
|
|
background-color: @theme_selected_bg_color;
|
|
|
|
color: @theme_selected_fg_color;
|
2014-09-01 21:07:18 +00:00
|
|
|
}
|
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-editor button {
|
2014-07-06 20:35:24 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2014-08-30 08:22:01 +00:00
|
|
|
/*background: #CCC;*/
|
2014-07-06 20:35:24 +00:00
|
|
|
}
|
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-editor toolbar {
|
2014-08-30 08:22:01 +00:00
|
|
|
/*background: transparent;*/
|
2014-07-06 20:35:24 +00:00
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2019-04-26 02:12:54 +00:00
|
|
|
.inline-button {
|
2019-04-19 11:01:43 +00:00
|
|
|
color: alpha(@theme_fg_color, 0.6);
|
2019-12-09 01:15:09 +00:00
|
|
|
background-color: alpha(@theme_base_color, 0.9);
|
2014-07-06 20:35:24 +00:00
|
|
|
text-shadow: inherit;
|
|
|
|
box-shadow: initial;
|
|
|
|
background-clip: initial;
|
|
|
|
background-origin: initial;
|
|
|
|
background-size: initial;
|
|
|
|
background-position: initial;
|
|
|
|
background-repeat: initial;
|
|
|
|
background-image: initial;
|
|
|
|
border-image-source: initial;
|
|
|
|
border-image-repeat: initial;
|
|
|
|
border-image-slice: initial;
|
|
|
|
border-image-width: initial;
|
|
|
|
border-style: none;
|
2019-04-19 05:24:43 +00:00
|
|
|
padding: 0px 16px;
|
2017-12-20 10:03:07 +00:00
|
|
|
transition: 100ms ease-in;
|
2014-07-06 20:35:24 +00:00
|
|
|
}
|
|
|
|
|
2019-04-26 02:12:54 +00:00
|
|
|
.inline-button:hover,
|
|
|
|
.inline-button:checked {
|
2019-04-19 11:01:43 +00:00
|
|
|
color: @theme_fg_color;
|
|
|
|
background-color: mix(@theme_base_color, @theme_bg_color, 0.5);
|
2014-07-06 20:35:24 +00:00
|
|
|
}
|
|
|
|
|
2020-03-15 00:11:37 +00:00
|
|
|
.apostrophe-window treeview {
|
2019-06-06 01:57:43 +00:00
|
|
|
padding: 4px 4px 4px 4px;
|
2014-09-01 21:07:18 +00:00
|
|
|
}
|
|
|
|
|
2019-06-06 01:57:43 +00:00
|
|
|
.lexikon {
|
2017-12-07 06:56:39 +00:00
|
|
|
font-family: serif;
|
2019-06-06 01:57:43 +00:00
|
|
|
font-size: 12px;
|
2019-04-19 11:01:43 +00:00
|
|
|
background: @theme_bg_color;
|
2019-06-06 01:57:43 +00:00
|
|
|
border: 4px solid @theme_bg_color;
|
2014-10-02 17:02:59 +00:00
|
|
|
}
|
|
|
|
|
2019-06-06 01:57:43 +00:00
|
|
|
.lexikon .header {
|
2017-12-07 06:56:39 +00:00
|
|
|
font-family: serif;
|
2019-06-06 01:57:43 +00:00
|
|
|
font-size: 14px;
|
|
|
|
padding-top: 16px;
|
|
|
|
padding-bottom: 4px;
|
2014-09-15 13:55:06 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2019-06-06 01:57:43 +00:00
|
|
|
.lexikon .header.first {
|
|
|
|
padding-top: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lexikon .number {
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 4px;
|
2014-10-02 17:02:59 +00:00
|
|
|
}
|
|
|
|
|
2019-03-31 02:16:18 +00:00
|
|
|
.quick-preview-popup {
|
2019-04-19 11:01:43 +00:00
|
|
|
background-color: @theme_bg_color;
|
2019-06-06 01:57:43 +00:00
|
|
|
padding: 8px 12px 8px 12px;
|
2014-10-02 17:02:59 +00:00
|
|
|
}
|
|
|
|
|
2019-03-31 02:16:18 +00:00
|
|
|
.quick-preview-popup grid {
|
2019-04-19 11:01:43 +00:00
|
|
|
background-color: @theme_bg_color;
|
|
|
|
color: @theme_fg_color;
|
|
|
|
border-color: @theme_bg_color;
|
2015-05-19 20:32:55 +00:00
|
|
|
}
|
2018-04-18 17:29:13 +00:00
|
|
|
|
2019-03-31 02:16:18 +00:00
|
|
|
.quick-preview-popup label {
|
2020-02-25 12:32:10 +00:00
|
|
|
color: @theme_fg_color;
|
2020-02-12 11:35:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.plain-listview {
|
|
|
|
background-color: @fg-color;
|
2020-02-25 12:32:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* theme selector */
|
|
|
|
|
|
|
|
.color-button {
|
|
|
|
padding: 12px;
|
|
|
|
border-radius: 999px;
|
|
|
|
-gtk-outline-radius: 999px;
|
|
|
|
outline-offset: 1px;
|
|
|
|
border: none;
|
|
|
|
-gtk-icon-shadow: none;
|
|
|
|
min-width: 0px;
|
|
|
|
min-height: 0px;
|
|
|
|
color: transparent;
|
|
|
|
transition: all 200ms ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-light {
|
|
|
|
background: #ffffff;
|
|
|
|
box-shadow: inset 0 0 0 1px #2e3436;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-light:checked {
|
|
|
|
color: #2e3436;
|
|
|
|
box-shadow: inset 0 0 0 2px @theme_selected_bg_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-dark {
|
|
|
|
background: #2d2d2d;
|
|
|
|
box-shadow: inset 0 0 0 1px alpha(black, .35);
|
|
|
|
}
|
|
|
|
.color-dark:checked {
|
|
|
|
color: #eeeeec;
|
|
|
|
box-shadow: inset 0 0 0 2px @theme_selected_bg_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-button:disabled {
|
|
|
|
background: #929292;
|
|
|
|
box-shadow: inset 0 0 0 1px #2e3436;
|
2019-03-26 14:18:19 +00:00
|
|
|
}
|