You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by vo...@apache.org on 2022/10/04 00:15:54 UTC

[druid-website-src] branch add_css_also created (now 49e08ea4)

This is an automated email from the ASF dual-hosted git repository.

vogievetsky pushed a change to branch add_css_also
in repository https://gitbox.apache.org/repos/asf/druid-website-src.git


      at 49e08ea4 add_css_also

This branch includes the following new commits:

     new 49e08ea4 add_css_also

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[druid-website-src] 01/01: add_css_also

Posted by vo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vogievetsky pushed a commit to branch add_css_also
in repository https://gitbox.apache.org/repos/asf/druid-website-src.git

commit 49e08ea4d9185763f1686a7ecd135e78c0dab0d9
Author: Vadim Ogievetsky <va...@ogievetsky.com>
AuthorDate: Mon Oct 3 17:15:43 2022 -0700

    add_css_also
---
 css-extra/code-block-buttons.css | 60 +++++++++++++++++++++++++---------------
 css-extra/main.css               |  2 +-
 css-extra/prism.css              |  2 +-
 3 files changed, 40 insertions(+), 24 deletions(-)

diff --git a/css-extra/code-block-buttons.css b/css-extra/code-block-buttons.css
index d83896cc..2aaea023 100644
--- a/css-extra/code-block-buttons.css
+++ b/css-extra/code-block-buttons.css
@@ -1,39 +1,55 @@
-/* "Copy" code block button */
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 pre {
   position: relative;
 }
 
-pre .btnIcon {
+pre .copyCodeButton {
+  background: none;
+  border: none;
+  color: #9caeff;
+  cursor: pointer;
   position: absolute;
+  right: 0px;
   top: 4px;
-  z-index: 2;
-  cursor: pointer;
-  border: 1px solid transparent;
-  padding: 0;
-  color: #fff;
-  background-color: transparent;
-  height: 30px;
-  transition: all .25s ease-out;
+  z-index: 1;
 }
 
-pre .btnIcon:hover {
-  text-decoration: none;
+pre .copyCodeButton:focus {
+  outline: none;
 }
 
-.btnIcon__body {
-  align-items: center;
-  display: flex;
+pre .copyCodeButton::-moz-focus-inner {
+  border: none;
 }
 
-.btnIcon svg {
-  fill: currentColor;
-  margin-right: .4em;
+pre .copyCodeButton:hover {
+  text-decoration: none;
 }
 
-.btnIcon__label {
-  font-size: 11px;
+pre .copyCodeButton svg {
+  fill: currentColor;
+  margin-right: 2px;
 }
 
-.btnClipboard {
-  right: 10px;
+.copyCodeButtonText {
+  align-items: center;
+  display: flex;
+  font-size: 12px;
 }
diff --git a/css-extra/main.css b/css-extra/main.css
index ad659c39..16ae1da6 100644
--- a/css-extra/main.css
+++ b/css-extra/main.css
@@ -1 +1 @@
-a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}b [...]
\ No newline at end of file
+a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}b [...]
\ No newline at end of file
diff --git a/css-extra/prism.css b/css-extra/prism.css
index d783edb5..2a84ffb1 100644
--- a/css-extra/prism.css
+++ b/css-extra/prism.css
@@ -1,5 +1,5 @@
 /**
- * Copyright (c) 2017-present, Facebook, Inc.
+ * Copyright (c) Facebook, Inc. and its affiliates.
  *
  * This source code is licensed under the MIT license found in the
  * LICENSE file in the root directory of this source tree.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org