From 5de86ad8101ad522ac3f775628ef2ad65f5fdb88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20G=C3=B3mez=20Jurado?= Date: Wed, 7 Jun 2017 18:20:31 +0200 Subject: [PATCH] Remove fixed banner --- dist/less/ttn/components.less | 1 - dist/less/ttn/ttn/banner.less | 45 ---------------------------------- dist/scss/ttn/_components.scss | 1 - dist/scss/ttn/ttn/_banner.scss | 45 ---------------------------------- dist/styl/ttn/components.styl | 1 - dist/styl/ttn/ttn/banner.styl | 35 -------------------------- docs/dist/css/docs.css | 34 ------------------------- src/less/ttn/components.less | 1 - src/less/ttn/ttn/banner.less | 45 ---------------------------------- 9 files changed, 208 deletions(-) delete mode 100644 dist/less/ttn/ttn/banner.less delete mode 100644 dist/scss/ttn/ttn/_banner.scss delete mode 100644 dist/styl/ttn/ttn/banner.styl delete mode 100644 src/less/ttn/ttn/banner.less diff --git a/dist/less/ttn/components.less b/dist/less/ttn/components.less index bc445a0..5031847 100644 --- a/dist/less/ttn/components.less +++ b/dist/less/ttn/components.less @@ -1,4 +1,3 @@ @import 'ttn/type'; @import 'ttn/navbar'; @import 'ttn/button'; -@import 'ttn/banner'; diff --git a/dist/less/ttn/ttn/banner.less b/dist/less/ttn/ttn/banner.less deleted file mode 100644 index 1c6f6c0..0000000 --- a/dist/less/ttn/ttn/banner.less +++ /dev/null @@ -1,45 +0,0 @@ -.fixed-banner { - position: fixed; - width: 100%; - height: 70px; - display: flex; - align-items: center; - justify-content: center; - background-size: cover; - z-index: 1000; - top: 65px; - - & > a.link { - color: white; - cursor: pointer; - font-weight: bold; - font-size: 1.6em; - letter-spacing: 1px; - } - - & > a.button { - color: white; - display: flex; - justify-content: center; - align-items: center; - border: 2px solid white; - border-radius: 12px; - padding: 2px 12px; - font-size: 1.2em; - margin-left: 33px; - } - - a:hover { - text-decoration: underline; - } - - @media screen and (max-width: 900px) { - & > a.link { - font-size: 1.1em; - } - - & > a.button { - display: none; - } - } -} diff --git a/dist/scss/ttn/_components.scss b/dist/scss/ttn/_components.scss index bc445a0..5031847 100644 --- a/dist/scss/ttn/_components.scss +++ b/dist/scss/ttn/_components.scss @@ -1,4 +1,3 @@ @import 'ttn/type'; @import 'ttn/navbar'; @import 'ttn/button'; -@import 'ttn/banner'; diff --git a/dist/scss/ttn/ttn/_banner.scss b/dist/scss/ttn/ttn/_banner.scss deleted file mode 100644 index 1c6f6c0..0000000 --- a/dist/scss/ttn/ttn/_banner.scss +++ /dev/null @@ -1,45 +0,0 @@ -.fixed-banner { - position: fixed; - width: 100%; - height: 70px; - display: flex; - align-items: center; - justify-content: center; - background-size: cover; - z-index: 1000; - top: 65px; - - & > a.link { - color: white; - cursor: pointer; - font-weight: bold; - font-size: 1.6em; - letter-spacing: 1px; - } - - & > a.button { - color: white; - display: flex; - justify-content: center; - align-items: center; - border: 2px solid white; - border-radius: 12px; - padding: 2px 12px; - font-size: 1.2em; - margin-left: 33px; - } - - a:hover { - text-decoration: underline; - } - - @media screen and (max-width: 900px) { - & > a.link { - font-size: 1.1em; - } - - & > a.button { - display: none; - } - } -} diff --git a/dist/styl/ttn/components.styl b/dist/styl/ttn/components.styl index 47d8273..21657ef 100644 --- a/dist/styl/ttn/components.styl +++ b/dist/styl/ttn/components.styl @@ -3,4 +3,3 @@ lesscss-percentage(n) @import 'ttn/type' @import 'ttn/navbar' @import 'ttn/button' -@import 'ttn/banner' diff --git a/dist/styl/ttn/ttn/banner.styl b/dist/styl/ttn/ttn/banner.styl deleted file mode 100644 index dcca1db..0000000 --- a/dist/styl/ttn/ttn/banner.styl +++ /dev/null @@ -1,35 +0,0 @@ -lesscss-percentage(n) - (n * 100)% -.fixed-banner - position fixed - width 100% - height 70px - display flex - align-items center - justify-content center - background-size cover - z-index 1000 - top 65px - & > a.link - color white - cursor pointer - font-weight bold - font-size 1.6em - letter-spacing 1px - & > a.button - color white - display flex - justify-content center - align-items center - border 2px solid white - border-radius 12px - padding 2px 12px - font-size 1.2em - margin-left 33px - a:hover - text-decoration underline - @media screen and (max-width: 900px) - & > a.link - font-size 1.1em - & > a.button - display none diff --git a/docs/dist/css/docs.css b/docs/dist/css/docs.css index 11f1e1e..7e36e8a 100644 --- a/docs/dist/css/docs.css +++ b/docs/dist/css/docs.css @@ -6089,40 +6089,6 @@ body { outline: 0 !important; color: grey; } -.fixed-banner { - position: fixed; - width: 100%; - height: 70px; - display: flex; - align-items: center; - justify-content: center; - background-size: cover; - z-index: 1000; - top: 65px; } - .fixed-banner > a.link { - color: white; - cursor: pointer; - font-weight: bold; - font-size: 1.6em; - letter-spacing: 1px; } - .fixed-banner > a.button { - color: white; - display: flex; - justify-content: center; - align-items: center; - border: 2px solid white; - border-radius: 12px; - padding: 2px 12px; - font-size: 1.2em; - margin-left: 33px; } - .fixed-banner a:hover { - text-decoration: underline; } - @media screen and (max-width: 900px) { - .fixed-banner > a.link { - font-size: 1.1em; } - .fixed-banner > a.button { - display: none; } } - .docs-color-swatch { float: left; width: 3em; diff --git a/src/less/ttn/components.less b/src/less/ttn/components.less index bc445a0..5031847 100644 --- a/src/less/ttn/components.less +++ b/src/less/ttn/components.less @@ -1,4 +1,3 @@ @import 'ttn/type'; @import 'ttn/navbar'; @import 'ttn/button'; -@import 'ttn/banner'; diff --git a/src/less/ttn/ttn/banner.less b/src/less/ttn/ttn/banner.less deleted file mode 100644 index 1c6f6c0..0000000 --- a/src/less/ttn/ttn/banner.less +++ /dev/null @@ -1,45 +0,0 @@ -.fixed-banner { - position: fixed; - width: 100%; - height: 70px; - display: flex; - align-items: center; - justify-content: center; - background-size: cover; - z-index: 1000; - top: 65px; - - & > a.link { - color: white; - cursor: pointer; - font-weight: bold; - font-size: 1.6em; - letter-spacing: 1px; - } - - & > a.button { - color: white; - display: flex; - justify-content: center; - align-items: center; - border: 2px solid white; - border-radius: 12px; - padding: 2px 12px; - font-size: 1.2em; - margin-left: 33px; - } - - a:hover { - text-decoration: underline; - } - - @media screen and (max-width: 900px) { - & > a.link { - font-size: 1.1em; - } - - & > a.button { - display: none; - } - } -}