Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Ho Tuan Duong <hduong@gitlab.com>2020-04-23 04:51:32 +0300
committerEvan Read <eread@gitlab.com>2020-04-23 04:51:32 +0300
commitb6f88710ac78a83f7a4dffcf12efd1d6a10cd39e (patch)
tree5171bd9700fe08792190a8d5bae8a5a5ca0c3800 /content/assets/stylesheets/help.scss
parentb97f07ea3ac68b9dd194e6075bebde69cdcd7ba9 (diff)
Update colors and spacing
After UX feedback
Diffstat (limited to 'content/assets/stylesheets/help.scss')
-rw-r--r--content/assets/stylesheets/help.scss112
1 files changed, 112 insertions, 0 deletions
diff --git a/content/assets/stylesheets/help.scss b/content/assets/stylesheets/help.scss
new file mode 100644
index 00000000..6eee1ea4
--- /dev/null
+++ b/content/assets/stylesheets/help.scss
@@ -0,0 +1,112 @@
+---
+version: 1
+---
+
+@import "variables";
+
+.help-and-feedback-section {
+ background-color: $help-indigo-50;
+ border-radius: 4px;
+ padding: 1rem;
+ margin-top: 2rem;
+ color: $help-gray-900;
+ font-size: 14px;
+ line-height: 20px;
+
+ .right-col {
+ @media all and (min-width: 768px) {
+ border-left: 1px solid $help-gray-100;
+ }
+ }
+
+ .help-subsection {
+ @media all and (max-width: 767px) {
+ margin-top: 1rem;
+ }
+ }
+
+ // scss-lint:disable QualifyingElement
+ h4,
+ h5 {
+ border-bottom: 0;
+ margin-bottom: 0;
+ padding-bottom: 0;
+ }
+
+ h4[id]::before {
+ display: none;
+ }
+
+ p {
+ margin-bottom: 0;
+ }
+ // scss-lint:enable QualifyingElement
+
+ .help-icon,
+ .toggle-icon {
+ fill: $help-indigo-500;
+ vertical-align: text-top;
+ }
+
+ // scss-lint:disable ImportantRule
+ .help-icon {
+ margin-left: 0 !important;
+ }
+ // scss-lint:enable ImportantRule
+
+ .toggle-icon {
+ float: right;
+ transition: .35s ease-in-out;
+ }
+
+ .help-and-feedback-toggle {
+ color: $gds-gray-950;
+
+ &:hover {
+ color: $gds-gray-950;
+ text-decoration: none;
+ }
+
+ &.collapsed .toggle-icon {
+ transform: rotate(180deg);
+ }
+ }
+
+ .help-and-feedback-title {
+ font-size: 16px;
+ font-weight: 700;
+ }
+
+ .help-and-feedback-heading {
+ color: $gds-gray-950;
+ font-size: 14px;
+ font-weight: 700;
+ margin-bottom: .25rem;
+ }
+
+ .help-and-feedback-link {
+ text-decoration: underline;
+ }
+
+ .support-btn {
+ background-color: $gds-white;
+ border-color: $help-gray-200;
+ color: $help-gray-900;
+ font-size: 14px;
+
+ &:hover {
+ color: $help-gray-900;
+ }
+ }
+}
+
+.disqus-comments-gitlab {
+ iframe {
+ padding-left: 15px;
+ padding-right: 15px;
+ background-color: $color-white;
+ border-radius: 5px;
+ box-shadow: 2px 2px 7px $search-border;
+ margin-top: 25px;
+ }
+}