generated from dxw/rails-template
-
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.
Merge pull request #136 from dxw/fixes-2
Design fixes
- Loading branch information
Showing
38 changed files
with
387 additions
and
238 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
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
//= link_tree ../images | ||
|
||
// include our initial GOV.UK based stylesheets for now whilst | ||
// migrating to ESBuild bundled assets... | ||
//= link_directory ../stylesheets .css | ||
//= link_directory ../builds .css | ||
|
||
//= link_tree ../builds |
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,33 @@ | ||
.site-footer { | ||
@apply text-white py-8 px-6; | ||
|
||
background-color: var(--main-colour); | ||
|
||
nav { | ||
li { | ||
@apply py-2; | ||
|
||
a.active { | ||
@apply font-bold underline; | ||
} | ||
} | ||
} | ||
|
||
.terms-and-conditions { | ||
@apply mt-6; | ||
|
||
font-size: 0; /* Remove whitespace between inline-block elements */ | ||
|
||
li { | ||
@apply text-xs inline-block border-r-white border-r px-2; | ||
|
||
&:first-child { | ||
@apply pl-0; | ||
} | ||
|
||
&:last-child { | ||
@apply border-0; | ||
} | ||
} | ||
} | ||
} |
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 @@ | ||
.site-header { | ||
background-color: var(--main-colour); | ||
|
||
@apply flex flex-row flex-wrap p-4; | ||
|
||
.site-title { | ||
@apply text-white text-center; | ||
|
||
.site-name { | ||
@apply text-4xl font-bold block; | ||
} | ||
|
||
.site-strapline { | ||
@apply text-xs block; | ||
} | ||
} | ||
|
||
button { | ||
@apply text-5xl flex-auto text-white text-right; | ||
|
||
line-height: 0; | ||
|
||
&::before { | ||
content: "☰"; | ||
font-size: 4rem; | ||
bottom: 0.25rem; | ||
position: relative; | ||
} | ||
|
||
&.menu-open { | ||
&::before { | ||
content: "✕"; | ||
font-size: 3.25rem; | ||
bottom: 0; | ||
right: 8px; | ||
} | ||
} | ||
} | ||
|
||
nav { | ||
@apply text-white w-full; | ||
|
||
ul { | ||
@apply text-xl my-4; | ||
|
||
li { | ||
@apply pt-4; | ||
|
||
a.active { | ||
@apply font-bold underline; | ||
} | ||
} | ||
} | ||
} | ||
} |
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
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.