mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
Remove and adjust jumbotron usage
This commit is contained in:
parent
5ce9972a3e
commit
68dd6da1f2
7 changed files with 23 additions and 54 deletions
|
@ -108,7 +108,6 @@ $unicodeRangeValues in Lexend.$unicodeMap {
|
||||||
"components/icons",
|
"components/icons",
|
||||||
"components/inbox-actions",
|
"components/inbox-actions",
|
||||||
"components/inbox-entry",
|
"components/inbox-entry",
|
||||||
"components/jumbotron",
|
|
||||||
"components/locales",
|
"components/locales",
|
||||||
"components/mobile-nav",
|
"components/mobile-nav",
|
||||||
"components/notifications",
|
"components/notifications",
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
.jumbotron {
|
|
||||||
$this: &;
|
|
||||||
display: flex;
|
|
||||||
background-color: var(--primary);
|
|
||||||
color: RGB(var(--primary-text));
|
|
||||||
text-align: center;
|
|
||||||
border-radius: 0;
|
|
||||||
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
h5,
|
|
||||||
h6 {
|
|
||||||
color: RGB(var(--primary-text));
|
|
||||||
}
|
|
||||||
|
|
||||||
a:not(.btn) {
|
|
||||||
color: RGB(var(--primary-text));
|
|
||||||
opacity: 0.6;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&__content {
|
|
||||||
width: 100%;
|
|
||||||
align-self: center;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -10,4 +10,12 @@
|
||||||
|
|
||||||
.text-muted {
|
.text-muted {
|
||||||
color: RGB(var(--muted-text)) !important;
|
color: RGB(var(--muted-text)) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-bg-primary {
|
||||||
|
color: RGB(var(--primary-text)) !important;
|
||||||
|
|
||||||
|
a:not(.btn) {
|
||||||
|
color: inherit !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
.jumbotron
|
|
||||||
.jumbotron__content
|
|
||||||
%h1= APP_CONFIG["site_name"]
|
|
||||||
%p= t(".subtitle")
|
|
||||||
.container
|
.container
|
||||||
|
.card.bg-primary.text-bg-primary.my-3
|
||||||
|
.card-body
|
||||||
|
%h1= APP_CONFIG["site_name"]
|
||||||
|
%p= t(".subtitle")
|
||||||
.row
|
.row
|
||||||
.col-sm-8
|
.col-sm-8
|
||||||
.card.card--fullheight
|
.card.card--fullheight
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- provide(:title, APP_CONFIG["site_name"])
|
- provide(:title, APP_CONFIG["site_name"])
|
||||||
.jumbotron
|
.container
|
||||||
.jumbotron__content
|
.card.bg-primary.my-3.text-bg-primary.text-center
|
||||||
.container
|
.card-body.py-4
|
||||||
= render "layouts/messages"
|
= render "layouts/messages"
|
||||||
%h1= APP_CONFIG["site_name"]
|
%h1= APP_CONFIG["site_name"]
|
||||||
%p= t(".subtitle")
|
%p= t(".subtitle")
|
||||||
|
@ -11,7 +11,6 @@
|
||||||
%small
|
%small
|
||||||
= t(".already_member")
|
= t(".already_member")
|
||||||
= link_to t("voc.login"), new_user_session_path
|
= link_to t("voc.login"), new_user_session_path
|
||||||
.container
|
|
||||||
.row.my-5.my-sm-10
|
.row.my-5.my-sm-10
|
||||||
.col-sm-6.order-12.order-sm-1.text-center.text-sm-right
|
.col-sm-6.order-12.order-sm-1.text-center.text-sm-right
|
||||||
%h2.mb-4= t(".questions.header")
|
%h2.mb-4= t(".questions.header")
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
- provide(:title, generate_title(t(".title")))
|
- provide(:title, generate_title(t(".title")))
|
||||||
|
|
||||||
.jumbotron
|
|
||||||
.jumbotron__content
|
|
||||||
%h1= t(".heading")
|
|
||||||
%p= t(".subheading", app_title: APP_CONFIG["site_name"])
|
|
||||||
.container
|
.container
|
||||||
|
.card.bg-primary.text-bg-primary.my-3
|
||||||
|
.card-body
|
||||||
|
%h1= t(".heading")
|
||||||
|
%p= t(".subheading", app_title: APP_CONFIG["site_name"])
|
||||||
.row
|
.row
|
||||||
.col-md-7.col-sm-6
|
.col-md-7.col-sm-6
|
||||||
%h2= t(".content.heading")
|
%h2= t(".content.heading")
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
.jumbotron.jumbotron--particles
|
|
||||||
.jumbotron__particles#particles
|
|
||||||
.jumbotron__content
|
|
||||||
%h1= t(".heading")
|
|
||||||
.container
|
.container
|
||||||
|
.card.bg-primary.text-bg-primary.my-3
|
||||||
|
.card-body
|
||||||
|
%h1= t(".heading")
|
||||||
- unless params[:action] == "consent"
|
- unless params[:action] == "consent"
|
||||||
.card
|
.card
|
||||||
.list-group.list-group-horizontal-sm.text-center
|
.list-group.list-group-horizontal-sm.text-center
|
||||||
|
|
Loading…
Reference in a new issue