Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-welcome
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-welcome
Commits
2abafa14
Commit
2abafa14
authored
Dec 10, 2021
by
Bilal Elmoussaoui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'wip/cdavis/fix-styles' into 'master'
Remove redundant and empty style classes See merge request GNOME/gnome-tour!59
parents
3df8b87e
63e4d0b0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
20 deletions
+2
-20
style.css
data/resources/style.css
+0
-17
image.rs
src/widgets/pages/image.rs
+1
-2
welcome.rs
src/widgets/pages/welcome.rs
+1
-1
No files found.
data/resources/style.css
View file @
2abafa14
.large-title
{
font-weight
:
300
;
font-size
:
24pt
;
letter-spacing
:
0.2rem
;
}
.page-title
{
font-weight
:
600
;
font-size
:
20pt
;
}
.page-body
{
font-weight
:
400
;
font-size
:
12pt
;
}
.video
{
opacity
:
0
;
}
...
...
@@ -62,7 +49,3 @@ window .titlebar button {
background-position
:
center
30%
;
animation
:
left-and-right
2s
ease-in-out
infinite
alternate
;
}
.last-page
{
}
.last-page
.page-title
,
.last-page
.page-body
{
}
src/widgets/pages/image.rs
View file @
2abafa14
...
...
@@ -48,7 +48,7 @@ impl ImagePageWidget {
.valign
(
gtk
::
Align
::
Center
)
.margin_top
(
36
)
.build
();
head_label
.add_css_class
(
"
page-title
"
);
head_label
.add_css_class
(
"
title-1
"
);
container
.append
(
&
head_label
);
let
body_label
=
gtk
::
Label
::
builder
()
...
...
@@ -59,7 +59,6 @@ impl ImagePageWidget {
.valign
(
gtk
::
Align
::
Center
)
.margin_top
(
12
)
.build
();
body_label
.add_css_class
(
"page-body"
);
container
.append
(
&
body_label
);
self
.widget
.append
(
&
clamp
);
...
...
src/widgets/pages/welcome.rs
View file @
2abafa14
...
...
@@ -158,7 +158,7 @@ impl WelcomePageWidget {
let
title
=
gtk
::
Label
::
new
(
Some
(
&
gettext
(
"Start the Tour"
)));
title
.set_margin_top
(
36
);
title
.add_css_class
(
"
page-title
"
);
title
.add_css_class
(
"
title-1
"
);
container
.append
(
&
title
);
let
name
=
glib
::
os_info
(
"NAME"
)
.unwrap_or_else
(||
"GNOME"
.into
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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