-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Thomas Gaudin <[email protected]>
- Loading branch information
Showing
47 changed files
with
414 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
header { | ||
background-color: var(--primary-700); | ||
padding: var(--padding-md); | ||
width: 100%; | ||
box-sizing: border-box; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
align-items: center; | ||
margin-bottom: var(--padding-md); | ||
} | ||
|
||
nav ul { | ||
list-style: none; | ||
} | ||
|
||
nav li { | ||
display: inline-block; | ||
} | ||
|
||
nav a { | ||
text-decoration: none; | ||
color: var(--primary-200); | ||
font-size: var(--text-md); | ||
} | ||
|
||
.logo { | ||
font-weight: var(--font-bold); | ||
margin-right: calc(2 * var(--padding-md)); | ||
} | ||
|
||
.login_button { | ||
background-color: var(--primary-600); | ||
color: var(--primary-200); | ||
border-radius: var(--rounded-lg); | ||
letter-spacing: var(--spacing-lg); | ||
font-size: var(--text-sm); | ||
text-transform: uppercase; | ||
border: none; | ||
font-weight: var(--font-bold); | ||
padding: var(--padding-xs) var(--padding-md); | ||
} | ||
|
||
.logout_button { | ||
background-color: transparent; | ||
color: var(--primary-200); | ||
border-radius: var(--rounded-lg); | ||
letter-spacing: var(--spacing-lg); | ||
font-size: var(--text-sm); | ||
text-transform: uppercase; | ||
border: none; | ||
box-shadow: inset 0px 0px 0px 2px var(--primary-200); | ||
font-weight: var(--font-bold); | ||
padding: var(--padding-xs) var(--padding-md); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.alert { | ||
border-radius: var(--rounded-lg); | ||
border: 2px solid; | ||
padding: var(--padding-sm) var(--padding-md); | ||
margin: var(--padding-md) 0; | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.alert svg { | ||
padding-right: var(--padding-sm); | ||
} | ||
|
||
.alert-success { | ||
border-color: var(--green-300); | ||
background-color: var(--green-50); | ||
color: var(--green-900); | ||
} | ||
|
||
.alert-success svg { | ||
fill: var(--green-700); | ||
} | ||
|
||
.alert-error { | ||
border-color: var(--red-300); | ||
background-color: var(--red-50); | ||
color: var(--red-900); | ||
} | ||
|
||
.alert-error svg { | ||
fill: var(--red-700); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.form { | ||
display: flex; | ||
flex-direction: column; | ||
font-size: var(--text-md); | ||
margin-top: var(--padding-md); | ||
} | ||
|
||
.form div { | ||
display: flex; | ||
flex-direction: column; | ||
margin-bottom: var(--padding-md); | ||
} | ||
|
||
.form label { | ||
font-weight: var(--font-medium); | ||
} | ||
|
||
.form input { | ||
border: 2px solid var(--primary-500); | ||
border-radius: var(--rounded-lg); | ||
font-size: var(--text-md); | ||
padding: var(--padding-xs); | ||
background-color: var(--primary-50); | ||
} | ||
|
||
.form input:focus { | ||
border-color: var(--primary-800); | ||
} | ||
|
||
.form div:last-child input[type="submit"] { | ||
background-color: var(--primary-600); | ||
color: var(--primary-50); | ||
border-radius: var(--rounded-lg); | ||
letter-spacing: var(--spacing-lg); | ||
font-size: var(--text-sm); | ||
text-transform: uppercase; | ||
border: none; | ||
font-weight: var(--font-bold); | ||
padding: var(--padding-sm) 0; | ||
cursor: pointer; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.user { | ||
display: grid; | ||
grid-template-columns: max(20ch) 1fr 1fr auto; | ||
column-gap: var(--padding-md); | ||
align-items: center; | ||
text-decoration: none; | ||
color: var(--black); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.users { | ||
list-style: none; | ||
font-size: var(--text-md); | ||
color: var(--gray-800); | ||
font-weight: var(--font-medium); | ||
display: grid; | ||
row-gap: var(--padding-md); | ||
margin-top: var(--padding-md); | ||
} | ||
|
||
.users > * + * { | ||
border-top: solid var(--primary-200) 2px; | ||
padding-top: var(--padding-md); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.error_messages { | ||
list-style: none; | ||
} | ||
|
||
.form .field_with_errors { | ||
margin: 0; | ||
} | ||
|
||
.field_with_errors label { | ||
color: var(--red-900); | ||
} | ||
|
||
.field_with_errors input { | ||
border-color: var(--red-300); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
class StaticPagesController < ApplicationController | ||
def home; end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.