forked from FriendsOfFlarum/drafts
-
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.
Show new element on the first row (title)
- Loading branch information
Julio Antúnez Tarín
committed
Oct 18, 2019
1 parent
569b7f0
commit 8dfbc90
Showing
7 changed files
with
66 additions
and
2 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,21 @@ | ||
// ============================================================================ | ||
// Extension | ||
// ============================================================================ | ||
|
||
@media @phone { | ||
.item-save-draft { | ||
display: inline-block !important; | ||
padding: (@gg-spacer-fine - (@gg-spacer-fine / @gg-spacer-fine)) 0 0 (@gg-spacer-small - (@gg-spacer-fine / @gg-spacer-fine)) !important; | ||
margin-right: 0 !important; | ||
border: none; | ||
margin-top: @gg-spacer-tiny; | ||
float: left; | ||
background: @gg-color-light-green; | ||
|
||
.icon { | ||
&::before { | ||
color: @gg-color-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,9 @@ | ||
// ============================================================================ | ||
// Flarum override variables | ||
// ============================================================================ | ||
|
||
// Breakpoints | ||
@screen-phone-max: (@screen-tablet - 1); | ||
@screen-tablet: @gg-breakpoint-medium; | ||
|
||
@phone: ~"(max-width: @{screen-phone-max})"; |
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,30 @@ | ||
// ============================================================================ | ||
// giffgaff design tokens | ||
// ============================================================================ | ||
|
||
// Colours | ||
@gg-color-black: #000000; | ||
@gg-color-white: #ffffff; | ||
@gg-color-light-pink: #eb5f8e; | ||
@gg-color-light-green: #72b72a; | ||
@gg-color-light-blue: #35adce; | ||
@gg-color-yellow: #fcc31e; | ||
@gg-color-dark-pink: #ae0d21; | ||
@gg-color-dark-green: #007349; | ||
@gg-color-dark-blue: #00528a; | ||
@gg-color-orange: #ea5b25; | ||
@gg-color-dove-grey: #666666; | ||
@gg-color-alto: #d0d0d0; | ||
@gg-color-wild-sand: #f5f5f5; | ||
@gg-color-gallery: #ececec; | ||
|
||
// Breakpoints | ||
@gg-breakpoint-medium: 768px; | ||
|
||
// Spacers | ||
@gg-spacer-fine: 4px; | ||
@gg-spacer-tiny: 8px; | ||
@gg-spacer-small: 16px; | ||
@gg-spacer-medium: 24px; | ||
@gg-spacer-large: 56px; | ||
@gg-spacer-huge: 72px; |
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,3 @@ | ||
@import "_variables-gg"; | ||
@import "_variables-flarum"; | ||
@import "_extension"; |