mirror of
https://github.com/zhigang1992/probot.github.io.git
synced 2026-01-12 17:33:05 +08:00
126 lines
1.9 KiB
SCSS
126 lines
1.9 KiB
SCSS
/**
|
|
* AddToCalendar Blue Style
|
|
* http://addtocalendar.com
|
|
*/
|
|
|
|
/* Base */
|
|
|
|
.addeventatc span {
|
|
display: none;
|
|
}
|
|
|
|
.addtocalendar {
|
|
position: relative;
|
|
display: inline-block;
|
|
background: transparent!important;
|
|
}
|
|
|
|
.atcb-link {
|
|
outline: none!important;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.atcb-link:focus~ul,
|
|
.atcb-link:active~ul,
|
|
.atcb-list:hover{
|
|
visibility:visible;
|
|
}
|
|
|
|
.atcb-list {
|
|
visibility: hidden;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
width: 170px;
|
|
z-index: 900;
|
|
@extend .border;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.atcb-list,
|
|
.atcb-item
|
|
{
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
background: #fff;
|
|
}
|
|
|
|
.atcb-item {
|
|
float: none;
|
|
text-align: left;
|
|
}
|
|
|
|
.atcb-item-link
|
|
{
|
|
text-decoration: none;
|
|
outline: none;
|
|
display: block;
|
|
}
|
|
|
|
.atcb-item.hover,
|
|
.atcb-item:hover {
|
|
position: relative;
|
|
z-index: 900;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
outline: none;
|
|
}
|
|
|
|
.atc-style-blue
|
|
{
|
|
border: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.atc-style-blue .addeventatc_icon
|
|
{
|
|
display: none;
|
|
}
|
|
|
|
.atc-style-blue .atcb-list,
|
|
.atc-style-blue .atcb-item
|
|
{
|
|
background: #fff;
|
|
color: #000;
|
|
}
|
|
|
|
.atc-style-blue .atcb-item,
|
|
.atc-style-blue .atcb-item-link
|
|
{
|
|
line-height: 1.3em;
|
|
vertical-align: middle;
|
|
zoom: 1;
|
|
}
|
|
|
|
.atc-style-blue .atcb-item-link,
|
|
.atc-style-blue .atcb-item-link:hover,
|
|
.atc-style-blue .atcb-item-link:active,
|
|
.atc-style-blue .atcb-item-link:focus
|
|
{
|
|
color: #000;
|
|
font-family: $body-font;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
outline: none;
|
|
padding: 5px 15px;
|
|
}
|
|
|
|
.atc-style-blue .atcb-item-link:hover,
|
|
.atc-style-blue .atcb-item-link:active,
|
|
.atc-style-blue .atcb-item-link:focus
|
|
{
|
|
color: #fff;
|
|
}
|
|
|
|
.atc-style-blue .atcb-item.hover,
|
|
.atc-style-blue .atcb-item:hover {
|
|
background: $text-blue;
|
|
}
|
|
|
|
// Override the addtocalendar.com button font
|
|
.addeventatc {
|
|
font-family: $body-font !important;
|
|
}
|