From 5c1dcdb0fbce7b72da207af35f6e8936b347b4ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Ant=C3=BAnez?= Date: Sat, 11 Feb 2017 16:55:22 +0100 Subject: [PATCH 1/3] .tabs removed --- demos/components.html | 79 ++++--------------------------------------- 1 file changed, 6 insertions(+), 73 deletions(-) diff --git a/demos/components.html b/demos/components.html index 49a7368..bb5f343 100644 --- a/demos/components.html +++ b/demos/components.html @@ -319,11 +319,7 @@

Navigation

-
    -
  • ul.tabs
  • -
  • columns
  • -
-
+

nav.navbar

-
- -
+ +

Company

@@ -435,8 +430,6 @@
-
-
@@ -1803,49 +1796,8 @@
-
-

Tell a Story

-

Hi, this is WebSlides. HTML presentations made simple.
I'm a cute solution with clean markup and lovely CSS.

-
-
-
    -
  • -
    - - - -

    Indexed content

    - Sharing is caring. -
    -
  • -
  • -
    -

    - - - - Just essential features -

    - Keyboard navigation... -
    -
  • -
  • -
    - - - -

    - Prototype faster -

    - with clean code -
    -
  • -
-
-
    -
  • Purpose
  • -
  • Benefits
  • -
+

Tell a Story

+

Hi, this is WebSlides. HTML presentations made simple.
I'm a cute solution with clean markup and lovely CSS.

@@ -3134,26 +3086,7 @@ - + From 605b6f8567bf3ad76f516ce119ccebd0e19492f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Ant=C3=BAnez?= Date: Sat, 11 Feb 2017 16:56:46 +0100 Subject: [PATCH 2/3] .tabs removed --- static/css/colors.css | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/static/css/colors.css b/static/css/colors.css index 30d3caa..099cc2c 100644 --- a/static/css/colors.css +++ b/static/css/colors.css @@ -363,31 +363,6 @@ nav li.email a:hover { background: #dd4b39; } - -/*========================================= -Tabs -=========================================== */ - - -ul.tabs li { - border: 1px solid rgba(0, 20, 80, 0.1); - border-right: none; -} - -ul.tabs li:last-child { - border-right: 1px solid rgba(0, 20, 80, 0.1); -} - -ul.tabs li.current { - background: rgba(255, 255, 255, 0.09); -} - -ul.tabs li:before { - background-color: #44d; -} - - - /*=================================================== .flexblock li hover/active ===================================================== */ From 8b44dcf718b910e0db2cb137b5e3e4943f43f4bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Ant=C3=BAnez?= Date: Sat, 11 Feb 2017 16:57:42 +0100 Subject: [PATCH 3/3] .tabs removed --- static/css/base.css | 75 +-------------------------------------------- 1 file changed, 1 insertion(+), 74 deletions(-) diff --git a/static/css/base.css b/static/css/base.css index e929c82..7fc11ef 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -25,7 +25,6 @@ 3.1 Logo 4. Navigation 4.1 Navbars - 4.2 Tabs 5. SLIDES (vertically and horizontally centered) 5.1 Mini container & Alignment 5.2 Counter / Navigation Slides @@ -303,8 +302,7 @@ body { overflow-x: hidden; } -/* == Prototype faster - Vertical rhythm -To show the grid/baseline.png, press ENTER key on keyboard == */ +/* == Prototype faster - Vertical rhythm == */ body.baseline { background: url(../images/baseline.png) left top .8rem/.8rem; @@ -1314,77 +1312,6 @@ nav.navbar li a{justify-content:flex-start; } } -/*=== 4.2. Tabs === */ - -ul.tabs { - display: inline-block; - margin-bottom: 3.2rem; -} - -ul.tabs li { - position: relative; - display: table-cell; - /*ftext-transform: uppercase; - letter-spacing: .1rem;*/ - padding: .8rem 2.4rem; - cursor: pointer; -} - -.tabs li:before { - position: absolute; - content: ""; - display: table; - clear: both; - bottom: 0; - left: 50%; - width: 0; - height: 3px; - -webkit-transition: width 200ms ease, opacity 200ms ease; - transition: width 200ms ease, opacity 200ms ease; - -webkit-transform: translateX(-50%); - transform: translateX(-50%); -} - -.tabs li.current:before { - opacity: 1; - width: 100%; -} - -ul.tabs li.current { - font-weight: 600; -} -/*.tabs li:after{ - position: relative; - right: -2.8rem; - font-size:1.6rem; - font-weight:300; - content: "*"; - -} -.tabs li:last-child:after { - display: none; -} - -*/ - -.tab-content { - display: none; -} - -.tab-content.current { - display: inherit; - -webkit-animation: fadeIn ease-in 1; - animation: fadeIn ease-in 1; - -webkit-animation-duration: .3s; - animation-duration: .3s; -} - -@media (max-width: 400px) { - .tabs li { - display: block; - } -} - /*============================================ 5. SLIDES (Full Screen) Vertically and horizontally centered