diff options
Diffstat (limited to 'theme/stylesheets/website')
-rw-r--r-- | theme/stylesheets/website/alerts.less | 31 | ||||
-rwxr-xr-x | theme/stylesheets/website/body.less | 87 | ||||
-rw-r--r-- | theme/stylesheets/website/buttons.less | 32 | ||||
-rw-r--r-- | theme/stylesheets/website/dropdown.less | 105 | ||||
-rw-r--r-- | theme/stylesheets/website/glossary.less | 22 | ||||
-rwxr-xr-x | theme/stylesheets/website/header.less | 82 | ||||
-rwxr-xr-x | theme/stylesheets/website/languages.less | 51 | ||||
-rwxr-xr-x | theme/stylesheets/website/markup.less | 12 | ||||
-rwxr-xr-x | theme/stylesheets/website/navigation.less | 50 | ||||
-rwxr-xr-x | theme/stylesheets/website/summary.less | 110 | ||||
-rw-r--r-- | theme/stylesheets/website/variables.less | 107 |
11 files changed, 0 insertions, 689 deletions
diff --git a/theme/stylesheets/website/alerts.less b/theme/stylesheets/website/alerts.less deleted file mode 100644 index 22fc863..0000000 --- a/theme/stylesheets/website/alerts.less +++ /dev/null @@ -1,31 +0,0 @@ -.alert { - padding: 15px; - margin-bottom: 20px; - color: #444; - background: #eee; - border-bottom: 5px solid #ddd; -} - -.alert-success { - background: @state-success-bg; - border-color: @state-success-border; - color: @state-success-text; -} - -.alert-info { - background: @state-info-bg; - border-color: @state-info-border; - color: @state-info-text; -} - -.alert-danger { - background: @state-danger-bg; - border-color: @state-danger-border; - color: @state-danger-text; -} - -.alert-warning { - background: @state-warning-bg; - border-color: @state-warning-border; - color: @state-warning-text; -} diff --git a/theme/stylesheets/website/body.less b/theme/stylesheets/website/body.less deleted file mode 100755 index 3ba93b7..0000000 --- a/theme/stylesheets/website/body.less +++ /dev/null @@ -1,87 +0,0 @@ -.book { - position: relative; - width: 100%; - height: 100%; - - .book-body { - position: absolute; - top: 0px; - right: 0px; - left: 0px; - bottom: 0px; - overflow-y: auto; - - color: @page-color; - background: @body-background; - .transition(left @sidebar-transition-duration ease); - - .body-inner { - position: absolute; - top: 0px; - right: 0px; - left: 0px; - bottom: 0px; - overflow-y: auto; - } - - .page-wrapper { - position: relative; - outline: none; - - .page-inner { - max-width: 800px; - margin: 0px auto; - padding: 20px 0px 40px 0px; - - section { - margin: 0px 0px; - padding: 5px 15px; - - background: @page-background; - border-radius: 2px; - line-height: @content-line-height; - font-size: @default-font-size; - } - - .btn-group { - .btn { - border-radius: 0px; - background: #eee; - border: 0px; - } - } - } - } - - @media (max-width: @mobileMaxWidth) { - .transition-transform(@sidebar-transition-duration ease); - padding-bottom: 20px; - - .body-inner { - position: static; - min-height: calc(~"100% - 50px") - } - } - } - - &.with-summary { - @media (min-width: @sidebar-breakpoint) { - .book-body { - left: @sidebar-width; - } - } - @media (max-width: @sidebar-breakpoint) { - overflow: hidden; - - .book-body { - .translate(~"calc(100% - 60px)", 0px); - } - } - } - - &.without-animation { - .book-body { - .transition(none) !important; - } - } -}
\ No newline at end of file diff --git a/theme/stylesheets/website/buttons.less b/theme/stylesheets/website/buttons.less deleted file mode 100644 index dbc4769..0000000 --- a/theme/stylesheets/website/buttons.less +++ /dev/null @@ -1,32 +0,0 @@ -.buttons { - .clearfix(); -} - -.button { - border: 0; - background-color: transparent; - background: @button-background; - color: @button-color; - width: 100%; - text-align: center; - float: left; - line-height: @line-height-base; - padding: 8px 4px; - - &:hover { - color: @button-hover-color; - } - - &:focus, &:hover { - outline: none; - } - - &.size-2 { - width: 50%; - } - - &.size-3 { - width: 33%; - } -} - diff --git a/theme/stylesheets/website/dropdown.less b/theme/stylesheets/website/dropdown.less deleted file mode 100644 index 5093d5d..0000000 --- a/theme/stylesheets/website/dropdown.less +++ /dev/null @@ -1,105 +0,0 @@ -.dropdown { - position: relative; -} - -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: @dropdown-zindex; - display: none; // none by default, but block on "open" of the menu - float: left; - min-width: 160px; - padding: 0; - margin: 2px 0 0; // override default ul - list-style: none; - font-size: @font-size-base; - background-color: @dropdown-background; - border: 1px solid @dropdown-border-color; - border-radius: @border-radius-base; - .box-shadow(0 6px 12px rgba(0,0,0,.175)); - background-clip: padding-box; - - &.open{ - display:block; - } - - &.dropdown-left { - left: auto; - right: 4%; - - .dropdown-caret { - right: 14px; - left: auto; - } - } - - .dropdown-caret{ - position: absolute; - top: -8px; - left: 14px; - width: 18px; - height: 10px; - float: left; - overflow: hidden; - - .caret-outer{ - position: absolute; - border-left: 9px solid transparent; - border-right: 9px solid transparent; - border-bottom: 9px solid rgba(0,0,0,0.1); - height: auto; - left: 0; - top: 0; - width: auto; - display: inline-block; - margin-left: -1px; - } - .caret-inner{ - position: absolute; - display: inline-block; - margin-top: -1px; - top: 0; - top: 1px; - border-left: 9px solid transparent; - border-right: 9px solid transparent; - border-bottom: 9px solid @dropdown-background; - } - } - - .buttons { - .clearfix(); - border-bottom: 1px solid @sidebar-divider-color; - - &:last-child { - border-bottom: none; - } - - .button { - border: 0; - background-color: transparent; - color: @dropdown-button-color; - width: 100%; - text-align: center; - float: left; - line-height: @line-height-base; - padding: 8px 4px; - - &:hover { - color: @dropdown-button-hover-color; - } - - &:focus, &:hover { - outline: none; - } - - &.size-2 { - width: 50%; - } - - &.size-3 { - width: 33%; - } - } - } -} diff --git a/theme/stylesheets/website/glossary.less b/theme/stylesheets/website/glossary.less deleted file mode 100644 index e360627..0000000 --- a/theme/stylesheets/website/glossary.less +++ /dev/null @@ -1,22 +0,0 @@ -.book .book-body .page-wrapper .page-inner section.glossary { - margin-bottom: 40px; - - h2 { - a, a:hover { - color: inherit; - text-decoration: none; - } - } - - .glossary-index { - list-style: none; - margin: 0px; - padding: 0px; - - li { - display: inline; - margin: 0px 8px; - white-space: nowrap; - } - } -} diff --git a/theme/stylesheets/website/header.less b/theme/stylesheets/website/header.less deleted file mode 100755 index c783548..0000000 --- a/theme/stylesheets/website/header.less +++ /dev/null @@ -1,82 +0,0 @@ -.book { - .book-header { - font-family: @font-family-sans; - - overflow: visible; - height: @header-height; - padding: 0px 8px; - z-index: 2; - - font-size: 0.85em; - color: @header-color; - background: @header-background; - - .btn { - display: block; - height: @header-height; - padding: 0px 15px; - border-bottom: none; - color: @header-button-color; - text-transform: uppercase; - line-height: @header-height; - .box-shadow(none) !important; - position:relative; - font-size: @font-size-base; - - &:hover { - position: relative; - text-decoration: none; - color: @header-button-hover-color; - background: @header-button-hover-background; - } - } - - h1 { - margin: 0px; - font-size: 20px; - font-weight: 200; - text-align: center; - line-height: @header-height; - opacity: 0; - .transition(opacity ease 0.4s); - - padding-left: 200px; - padding-right: 200px; - .transition(opacity 0.2s ease); - - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - - a, a:hover { - color: inherit; - text-decoration: none; - } - - @media (max-width: 1000px) { - display: none; - } - - i { - display: none; - } - } - - &:hover { - h1 { - opacity: 1; - } - } - } - - &.is-loading { - .book-header h1 { - i { - display: inline-block; - } - a { - display: none; - } - } - } -} diff --git a/theme/stylesheets/website/languages.less b/theme/stylesheets/website/languages.less deleted file mode 100755 index bde5a77..0000000 --- a/theme/stylesheets/website/languages.less +++ /dev/null @@ -1,51 +0,0 @@ -.book-langs-index { - width: 100%; - height: 100%; - padding: 40px 0px; - margin: 0px; - overflow: auto; - - @media (max-width: 600px) { - padding: 0px; - } - - .inner { - max-width: 600px; - width: 100%; - - margin: 0px auto; - padding: 30px; - - background: #fff; - border-radius: 3px; - - h3 { - margin: 0px; - } - - .languages { - list-style: none; - padding: 20px 30px; - margin-top: 20px; - border-top: 1px solid #eee; - - .clearfix(); - - li { - width: 50%; - float: left; - padding: 10px 5px; - font-size: 16px; - - a { - - } - - @media (max-width: 600px) { - width: 100%; - max-width: 100%; - } - } - } - } -}
\ No newline at end of file diff --git a/theme/stylesheets/website/markup.less b/theme/stylesheets/website/markup.less deleted file mode 100755 index 90f2225..0000000 --- a/theme/stylesheets/website/markup.less +++ /dev/null @@ -1,12 +0,0 @@ -.book .book-body .page-wrapper .page-inner section { - display: none; -} - -.book .book-body .page-wrapper .page-inner section.normal { - .gitbook-markdown(@md-color: @content-color, @md-line-height: @content-line-height); - - .glossary-term { - cursor: help; - text-decoration: underline; - } -} diff --git a/theme/stylesheets/website/navigation.less b/theme/stylesheets/website/navigation.less deleted file mode 100755 index 6c647c8..0000000 --- a/theme/stylesheets/website/navigation.less +++ /dev/null @@ -1,50 +0,0 @@ -.book .book-body { - .navigation { - position: absolute; - top: @header-height; - bottom: 0px; - margin: 0; - max-width: 150px; - min-width: 90px; - - display: flex; - justify-content: center; - align-content: center; - flex-direction: column; - - font-size: 40px; - color: @navigation-color; - - text-align: center; - - .transition(all 350ms ease); - - &:hover { - text-decoration: none; - color: @navigation-hover-color; - } - - &.navigation-next { - right: 0px; - } - &.navigation-prev { - left: 0px; - } - } - - @media (max-width: @mobileMaxWidth) { - .navigation { - position: static; - top: auto; - max-width: 50%; - width: 50%; - display: inline-block; - float: left; - - &.navigation-unique { - max-width: 100%; - width: 100%; - } - } - } -} diff --git a/theme/stylesheets/website/summary.less b/theme/stylesheets/website/summary.less deleted file mode 100755 index 37f2950..0000000 --- a/theme/stylesheets/website/summary.less +++ /dev/null @@ -1,110 +0,0 @@ -.book { - .book-summary { - font-family: @font-family-sans; - - position: absolute; - top: 0px; - left: -@sidebar-width; - bottom: 0px; - z-index: 1; - - width: @sidebar-width; - color: @sidebar-color; - background: @sidebar-background; - border-right: @sidebar-border-right; - - .transition(left @sidebar-transition-duration ease); - - ul.summary { - position: absolute; - top: 0px; - left: 0px; - right: 0px; - bottom: 0px; - - overflow-y: auto; - - list-style: none; - margin: 0px; - padding: 0px; - - .transition(top 0.5s ease); - - li { - list-style: none; - - &.divider { - height: 1px; - margin: 7px 0; - overflow: hidden; - background: @sidebar-divider-color; - } - - i.fa-check { - display: none; - position: absolute; - right: 9px; - top: 16px; - font-size: 9px; - color: @sidebar-icon-color; - } - - &.done { - > a { - color: @sidebar-link-completed; - font-weight: @sidebar-link-completed-weight; - - i { - display: inline; - } - } - } - - a, span { - display: block; - padding: 10px 15px; - border-bottom: none; - color: @sidebar-link-color; - background: @sidebar-link-background; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - position: relative; - } - - span { - cursor: not-allowed; - .opacity(0.3); - } - - &.active > a, a:hover { - color: @sidebar-link-hover-color; - background: @sidebar-link-hover-background; - text-decoration: none; - } - - ul { - padding-left: @sidebar-nested-padding; - } - } - } - - @media (max-width: @sidebar-breakpoint) { - width: calc(~"100% - 60px"); - bottom: 0px; - left: -100%; - } - } - - &.with-summary { - .book-summary { - left: 0px; - } - } - - &.without-animation { - .book-summary { - .transition(none) !important; - } - } -} diff --git a/theme/stylesheets/website/variables.less b/theme/stylesheets/website/variables.less deleted file mode 100644 index d543015..0000000 --- a/theme/stylesheets/website/variables.less +++ /dev/null @@ -1,107 +0,0 @@ -@staticPath: "."; - -// Font sizes -@font-size-base: 14px; -@font-size-large: ceil(@font-size-base * 1.25); // ~18px -@font-size-small: ceil(@font-size-base * 0.85); // ~12px -@line-height-base: 1.428571429; // 20/14 -@line-height-computed: floor(@font-size-base * @line-height-base); - -// Sizes -@mobileMaxWidth: 1240px; - -// Header -@header-height: 50px; -@header-color: hsl(194, 5%, 52%); -@header-background: transparent; -@header-border: rgba(0, 0, 0, 0.07); -@header-button-color: #ccc; -@header-button-hover-color: #444; -@header-button-hover-background: none; - -// Navigation -@navigation-color: @header-button-color; -@navigation-hover-color: @header-button-hover-color; - -// Body -@body-background: white; - -// Sidebar -@sidebar-transition-duration: 250ms; -@sidebar-width: 300px; -@sidebar-breakpoint: 600px; -@sidebar-color: hsl(207, 15%, 25%); -@sidebar-background: #fafafa; -@sidebar-border-right: 1px solid @header-border; - -@sidebar-nested-padding: 20px; -@sidebar-divider-color: @header-border; - -@sidebar-link-color: @sidebar-color; -@sidebar-link-background: transparent; -@sidebar-link-hover-color: hsl(207, 100%, 50%); -@sidebar-link-hover-background: transparent; - -@sidebar-icon-color: hsl(120, 60%, 50%); -@sidebar-link-completed: @sidebar-link-color; -@sidebar-link-completed-weight: normal; - -// Page -@page-color: black; -@page-background: @body-background; - -// Content -@content-line-height: 1.7; -@content-color: #333333; - -// Dropdown -@dropdown-zindex: 100; -@dropdown-divider-color: @sidebar-divider-color; -@dropdown-background: @sidebar-background; -@dropdown-button-color: darken(@header-button-color, 15%); -@dropdown-border-color: @sidebar-divider-color; -@dropdown-button-hover-color: @header-button-hover-color; - -// Buttons -@button-background: #eee; -@button-color: #666; -@button-hover-color: #444; - -// States and alerts -@state-success-text: #3c763d; -@state-success-bg: #dff0d8; -@state-success-border: darken(spin(@state-success-bg, -10), 5%); - -@state-info-text: #31708f; -@state-info-bg: #d9edf7; -@state-info-border: darken(spin(@state-info-bg, -10), 7%); - -@state-warning-text: #8a6d3b; -@state-warning-bg: #fcf8e3; -@state-warning-border: darken(spin(@state-warning-bg, -10), 5%); - -@state-danger-text: #a94442; -@state-danger-bg: #f2dede; -@state-danger-border: darken(spin(@state-danger-bg, -10), 5%); - -// Border Radius -@border-radius-base: 1px; -@border-radius-large: 3px; -@border-radius-small: 1px; - -// Fonts -@font-family-serif: Georgia, serif; -@font-family-sans: "Helvetica Neue", Helvetica, Arial, sans-serif; -@font-family-base: @font-family-sans; -@headings-font-family: inherit; - -@FontPath: '@{staticPath}/fonts'; -@fa-font-path: "@{FontPath}/fontawesome"; - -@s-font-size: 1.2rem; -@m-font-size: 1.4rem; -@l-font-size: 1.6rem; -@xl-font-size: 2.2rem; -@xxl-font-size: 4.0rem; -@default-font-size: @l-font-size; - |