-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b1fcd20
commit fdecf35
Showing
24 changed files
with
430 additions
and
566 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
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,42 +1,31 @@ | ||
@import './variables.scss'; | ||
@import './reset.scss'; | ||
|
||
#dnsimple-support { | ||
position: fixed; | ||
bottom: 0; | ||
right: 0; | ||
width: 480px; | ||
font-size: $rem; | ||
font-size: var(--dnsimple-support-widget-rem); | ||
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | ||
line-height: 1.6; | ||
color: #222; | ||
z-index: 999; | ||
|
||
@media ($desktop-only) { | ||
@media (var(--dnsimple-support-widget-desktop-only)) { | ||
display: none; | ||
} | ||
} | ||
|
||
|
||
#dnsimple-support { | ||
@import '../article/style.scss'; | ||
@import '../articles/style.scss'; | ||
@import '../footer/style.scss'; | ||
@import '../header/style.scss'; | ||
@import '../prompt/style.scss'; | ||
@import '../welcome/style.scss'; | ||
|
||
.relative { | ||
position: relative; | ||
box-shadow: $box-shadow; | ||
box-shadow: var(--dnsimple-support-widget-box-shadow); | ||
} | ||
|
||
.route { | ||
height: 475px; | ||
border-left: 1px solid $line-color; | ||
border-left: 1px solid var(--dnsimple-support-widget-line-color); | ||
overflow-y: auto; | ||
-webkit-overflow-scrolling: touch; | ||
padding: $padding; | ||
background: $white; | ||
padding: var(--dnsimple-support-widget-padding); | ||
background: var(--dnsimple-support-widget-white); | ||
} | ||
} |
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,15 +1,18 @@ | ||
$blue: #1A5EC6; | ||
$dark-gray: #333; | ||
$medium-gray: #7e7e7e; | ||
$light-gray: #eaeaea; | ||
$yellow: #f8c939; | ||
$orange: #ff7f2a; | ||
$green: #43a047; | ||
$white: #fff; | ||
$rem: 16px; | ||
$padding: 15px; | ||
$line-color: #ddd; | ||
$desktop-only: "max-width: 640px"; | ||
$font-monospace: Menlo,Monaco,Consolas,"Courier New",monospace; | ||
$font-size-monospace: 13px; | ||
$box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); | ||
#dnsimple-support { | ||
--dnsimple-support-widget-blue: #1A5EC6; | ||
--dnsimple-support-widget-dark-gray: #333; | ||
--dnsimple-support-widget-medium-gray: #7e7e7e; | ||
--dnsimple-support-widget-light-gray: #eaeaea; | ||
--dnsimple-support-widget-yellow: #f8c939; | ||
--dnsimple-support-widget-orange: #ff7f2a; | ||
--dnsimple-support-widget-green: #43a047; | ||
--dnsimple-support-widget-white: #fff; | ||
--dnsimple-support-widget-rem: 16px; | ||
--dnsimple-support-widget-padding: 15px; | ||
--dnsimple-support-widget-line-color: #ddd; | ||
--dnsimple-support-widget-desktop-only: "max-width: 640px"; | ||
--dnsimple-support-widget-font-monospace: Menlo,Monaco,Consolas,"Courier New",monospace; | ||
--dnsimple-support-widget-font-size-monospace: 13px; | ||
--dnsimple-support-widget-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); | ||
--dnsimple-support-widget-prompt-padding: 7px; | ||
} |
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,17 +1,21 @@ | ||
// Derived from support.dnsimple.com/content/assets/css/_resolving | ||
|
||
.resolving { | ||
padding: $padding; | ||
margin-bottom: $padding; | ||
} | ||
#dnsimple-support { | ||
.article { | ||
.resolving { | ||
padding: var(--dnsimple-support-widget-padding); | ||
margin-bottom: var(--dnsimple-support-widget-padding); | ||
} | ||
|
||
.resolving-light { | ||
background: #eee; | ||
} | ||
.resolving-light { | ||
background: #eee; | ||
} | ||
|
||
.resolving-dark { | ||
background: #000; | ||
a { | ||
color: #fff; | ||
.resolving-dark { | ||
background: #000; | ||
a { | ||
color: #fff; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.