Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
World
Design Tooling
Contrast
Commits
b5537f9d
Commit
b5537f9d
authored
Aug 19, 2020
by
Bilal Elmoussaoui
Browse files
remove background only on main window's titlebar
parent
33b28cc6
Changes
2
Hide whitespace changes
Inline
Side-by-side
data/resources/style.css
View file @
b5537f9d
...
...
@@ -60,11 +60,11 @@ entry selection{
color
:
shade
(
@
foreground_color
,
0.9
);
}
window
headerbar
.titlebar
{
window
.main-
window
headerbar
.titlebar
{
background
:
none
;
border
:
none
;
}
window
headerbar
.titlebar
button
.close
{
window
.main-
window
headerbar
.titlebar
button
.close
{
margin-right
:
6px
;
}
src/window.rs
View file @
b5537f9d
...
...
@@ -69,6 +69,7 @@ impl ObjectImpl for WindowPrivate {
if
PROFILE
==
"Devel"
{
self_
.get_style_context
()
.add_class
(
"devel"
);
}
self_
.get_style_context
()
.add_class
(
"main-window"
);
self_
.set_icon_name
(
Some
(
APP_ID
));
// Keyboard Shortcuts
let
builder
=
gtk
::
Builder
::
from_resource
(
"/org/gnome/design/Contrast/shortcuts.ui"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment