Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
petitminion
funkwhale
Commits
e567abd5
Commit
e567abd5
authored
Dec 23, 2021
by
Marcos Peña
Browse files
Enhances about page ui (
#1619
)
Done some css refactoring
parent
57d64890
Changes
4
Hide whitespace changes
Inline
Side-by-side
front/src/components/About.vue
View file @
e567abd5
...
...
@@ -75,7 +75,7 @@
href=
"https://funkwhale.audio/#get-started"
>
<translate
translate-context=
"Content/About/Link"
>
Find another pod
</translate>
<i
class=
"external alternate icon
margin-left
"
/>
<i
class=
"external alternate icon"
/>
</a>
</div>
</div>
...
...
@@ -83,18 +83,23 @@
v-else
class=
"signup-form content"
>
<div
class=
"ui positive message"
>
<div
class=
"header"
>
<translate
translate-context=
"Content/About/Message"
>
You're already signed in!
</translate>
<h3
class=
"header"
>
<translate
translate-context=
"*/Signup/Title"
>
Sign up
</translate>
<div
class=
"ui positive message"
>
<div
class=
"header"
>
<translate
translate-context=
"Content/About/Message"
>
You're already signed in!
</translate>
</div>
<p>
<translate
translate-contect=
"Content/About/Hello"
>
Hello
</translate>
{{ $store.state.auth.username }}
</p>
</div>
<p>
<translate
translate-contect=
"Content/About/Hello"
>
Hello
</translate>
{{ $store.state.auth.username }}
</p>
</div>
</h3>
</div>
</div>
<div
class=
"ui card"
>
...
...
@@ -107,7 +112,7 @@
{{ podName }}
</h1>
</section>
<div
class=
"content p
adding-top padding-bottom
"
>
<div
class=
"content p
od-description
"
>
<h3
id=
"description"
class=
"ui header"
...
...
@@ -200,7 +205,7 @@
class=
"ui header"
>
<translate
translate-context=
"Content/About/Header"
>
Find another pod
</translate>
<i
class=
"external alternate icon
margin-left
"
/>
<i
class=
"external alternate icon"
/>
</h3>
<p>
<translate
translate-context=
"Content/About/Paragraph"
>
Listen to public albums and playlists shared on this pod.
</translate>
...
...
@@ -218,7 +223,7 @@
class=
"ui header"
>
<translate
translate-context=
"Content/About/Header"
>
Find an app
</translate>
<i
class=
"external alternate icon
margin-left
"
/>
<i
class=
"external alternate icon"
/>
</h3>
<p>
<translate
translate-context=
"Content/About/Paragraph"
>
Use Funkwhale on other devices with our apps.
</translate>
...
...
@@ -342,21 +347,3 @@ export default {
}
}
</
script
>
<
style
scoped
>
.margin-left
{
margin-left
:
5px
;
}
.padding-top
{
padding-top
:
20px
!important
;
}
.padding-bottom
{
padding-bottom
:
20px
!important
;
}
h3
i
{
display
:
inline
!important
;
font-size
:
14px
!important
;
}
</
style
>
front/src/style/components/_card.scss
View file @
e567abd5
.ui.cards
{
align-items
:
flex-start
;
}
.ui.cards
>
.card
,
.ui.card
{
color
:
var
(
--
card-text-color
);
background
:
var
(
--
card-background
);
min-height
:
200px
;
background
:
var
(
--
card-background
);
&
:not
(
.flat
)
{
box-shadow
:
var
(
--
card-box-shadow
);
}
...
...
front/src/style/pages/_about.scss
View file @
e567abd5
...
...
@@ -181,5 +181,21 @@
}
}
}
h3
.ui.header
i
{
display
:
inline
;
font-size
:
14px
;
}
.ui.card
{
.signup-form.content
{
flex-grow
:
initial
;
}
.pod-description
{
flex-direction
:
column
;
display
:
flex
;
p
{
margin
:
auto
;
padding
:
1
.2em
;
}
}
}
}
front/src/style/pages/_library.scss
View file @
e567abd5
.page-library
{
.ui.cards
{
align-items
:
flex-start
;
.ui.card
{
min-height
:
200px
;
}
}
.ui.segment.head
{
background-size
:
cover
;
background-position
:
center
;
...
...
Write
Preview
Supports
Markdown
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