summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/less/Button.less
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-plugin-theme-default/less/Button.less')
-rw-r--r--packages/gitbook-plugin-theme-default/less/Button.less22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/gitbook-plugin-theme-default/less/Button.less b/packages/gitbook-plugin-theme-default/less/Button.less
new file mode 100644
index 0000000..336d16e
--- /dev/null
+++ b/packages/gitbook-plugin-theme-default/less/Button.less
@@ -0,0 +1,22 @@
+.GitBook-Button {
+ border: 0;
+ background-color: transparent;
+ background: @button-background;
+ color: @button-color;
+ text-align: center;
+ line-height: @line-height-base;
+ outline: none;
+ padding: @button-padding;
+
+ &:hover {
+ color: @button-hover-color;
+ }
+
+ &:focus, &:hover {
+ outline: none;
+ }
+}
+
+.GitBook-ButtonGroup {
+ display: inline-block;
+}