From 427e9f4c4621a81b346b224bee3c4c384cc4727f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 2 Aug 2018 21:13:45 +0200 Subject: [PATCH 1/2] Allow taking logged ip from header in deployments --- config/keter_testworx.yml | 1 + config/keter_uni2work.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/config/keter_testworx.yml b/config/keter_testworx.yml index 0695438b8..102573866 100644 --- a/config/keter_testworx.yml +++ b/config/keter_testworx.yml @@ -33,6 +33,7 @@ stanzas: - LOG_ALL - PWFILE - CRYPTOID_KEYFILE + - IP_FROM_HEADER # Use the following to automatically copy your bundle upon creation via `yesod # keter`. Uses `scp` internally, so you can set it to a remote destination diff --git a/config/keter_uni2work.yml b/config/keter_uni2work.yml index 5bbb73664..aefd5a30a 100644 --- a/config/keter_uni2work.yml +++ b/config/keter_uni2work.yml @@ -32,6 +32,7 @@ stanzas: - LOG_ALL - PWFILE - CRYPTOID_KEYFILE + - IP_FROM_HEADER # Use the following to automatically copy your bundle upon creation via `yesod # keter`. Uses `scp` internally, so you can set it to a remote destination From 3cadf224afdfaf300fd45bfd19d1e1d14537f48a Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Thu, 2 Aug 2018 21:34:52 +0200 Subject: [PATCH 2/2] made tooltip-styles globally available --- templates/standalone/tooltip.lucius | 96 ++++++++++++++--------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/templates/standalone/tooltip.lucius b/templates/standalone/tooltip.lucius index fdd05afd0..b123609c6 100644 --- a/templates/standalone/tooltip.lucius +++ b/templates/standalone/tooltip.lucius @@ -2,59 +2,59 @@ position: relative; display: inline-block; - .tooltip__handle { - background-color: var(--color-dark); - border-radius: 50%; - height: 1.5rem; - width: 1.5rem; - line-height: 1.5rem; - font-size: 1.2rem; - color: white; - display: inline-block; - text-align: center; - cursor: default; - margin: 0 10px; - } - - .tooltip__content { - position: absolute; - top: -10px; - transform: translateY(-100%); - left: 3px; - width: 275px; - z-index: 10; - background-color: #fafafa; - border-radius: 4px; - padding: 13px 17px; - box-shadow: 0 0 20px 4px rgba(0, 0, 0, 0.1); - - &.to-left { - left: auto; - right: 3px; - - &::after { - left: auto; - right: 10px; - } - } - - &::after { - content: ''; - width: 16px; - height: 16px; - background-color: #fafafa; - transform: rotate(45deg); - position: absolute; - left: 10px; - bottom: -8px; - } - } - .hidden { display: none; } } +.tooltip__handle { + background-color: var(--color-dark); + border-radius: 50%; + height: 1.5rem; + width: 1.5rem; + line-height: 1.5rem; + font-size: 1.2rem; + color: white; + display: inline-block; + text-align: center; + cursor: default; + margin: 0 10px; +} + +.tooltip__content { + position: absolute; + top: -10px; + transform: translateY(-100%); + left: 3px; + width: 275px; + z-index: 10; + background-color: #fafafa; + border-radius: 4px; + padding: 13px 17px; + box-shadow: 0 0 20px 4px rgba(0, 0, 0, 0.1); + + &.to-left { + left: auto; + right: 3px; + + &::after { + left: auto; + right: 10px; + } + } + + &::after { + content: ''; + width: 16px; + height: 16px; + background-color: #fafafa; + transform: rotate(45deg); + position: absolute; + left: 10px; + bottom: -8px; + } +} + @media (max-width: 768px) { .js-tooltip {