diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-26 09:41:26 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-26 09:41:26 +0100 |
commit | d3d64f636c859f7f01a64f7774cf70bd8ccdc562 (patch) | |
tree | 4f7731f37c3a793d187b0ab1cd77680e69534c6c /theme/stylesheets/website/dropdown.less | |
parent | 4cb9cbb5ae3aa8f9211ffa3ac5e3d34232c0ca4f (diff) | |
parent | eef072693b17526347c37b66078a5059c71caa31 (diff) | |
download | gitbook-d3d64f636c859f7f01a64f7774cf70bd8ccdc562.zip gitbook-d3d64f636c859f7f01a64f7774cf70bd8ccdc562.tar.gz gitbook-d3d64f636c859f7f01a64f7774cf70bd8ccdc562.tar.bz2 |
Merge pull request #1109 from GitbookIO/3.0.0
Version 3.0.0
Diffstat (limited to 'theme/stylesheets/website/dropdown.less')
-rw-r--r-- | theme/stylesheets/website/dropdown.less | 105 |
1 files changed, 0 insertions, 105 deletions
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%; - } - } - } -} |