2017-02-27 15:05:31 +03:00
|
|
|
/* Contextual toolbar
|
2017-02-27 07:44:15 +03:00
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2017-02-27 15:05:31 +03:00
|
|
|
.gh-toolbar {
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
text-align: center;
|
2017-04-10 12:10:53 +03:00
|
|
|
user-select: none;
|
|
|
|
cursor: pointer;
|
2017-02-27 15:05:31 +03:00
|
|
|
color: color(var(--lightgrey) l(-10%));
|
|
|
|
background: linear-gradient(
|
|
|
|
color(var(--darkgrey) l(-3%)),
|
|
|
|
color(var(--darkgrey) l(-8%))
|
|
|
|
);
|
|
|
|
border-radius: 5px;
|
|
|
|
box-shadow: 0 0 0 1px color(var(--darkgrey) l(-10%)), 0 8px 16px rgba(26,39,49,0.16), rgba(255,255,255,0.09) 0 1px 0 0 inset;
|
2017-04-10 12:10:53 +03:00
|
|
|
z-index:110; /* places it above the title */
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
2017-02-27 15:05:31 +03:00
|
|
|
.gh-toolbar:after {
|
|
|
|
display: block;
|
|
|
|
content: "";
|
2017-02-27 07:44:15 +03:00
|
|
|
position: absolute;
|
2017-02-27 15:05:31 +03:00
|
|
|
bottom: -8px;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -10px;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-left: transparent 10px solid;
|
|
|
|
border-right: transparent 10px solid;
|
|
|
|
border-top: color(var(--darkgrey) l(-10%)) 8px solid;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
2017-04-10 12:10:53 +03:00
|
|
|
.gh-toolbar.tick-above:after {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.gh-toolbar.tick-full-left:after {
|
|
|
|
left: 25%;
|
|
|
|
}
|
|
|
|
.gh-toolbar.tick-half-left:after {
|
|
|
|
left: 40%;
|
|
|
|
}
|
|
|
|
.gh-toolbar.tick-full-right:after {
|
|
|
|
left: 75%;
|
|
|
|
}
|
|
|
|
.gh-toolbar.tick-half-right:after {
|
|
|
|
left: 60%;
|
|
|
|
}
|
2017-02-27 07:44:15 +03:00
|
|
|
|
2017-03-20 15:44:09 +03:00
|
|
|
.gh-toolbar.is-link {
|
|
|
|
width: 263px;
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
.gh-toolbar.is-link input {
|
|
|
|
width: 100%;
|
|
|
|
background-color: transparent;
|
|
|
|
outline: none;
|
|
|
|
border: none;
|
|
|
|
padding:5px;
|
|
|
|
}
|
2017-04-11 12:57:52 +03:00
|
|
|
.gh-toolbar.is-touch {
|
|
|
|
position: fixed !important;
|
|
|
|
top: 70px;
|
|
|
|
right: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-toolbar.is-touch:after {
|
|
|
|
border: none;
|
|
|
|
}
|
2017-03-20 15:44:09 +03:00
|
|
|
|
2017-02-27 15:05:31 +03:00
|
|
|
.gh-toolbar-btn {
|
2017-03-08 16:08:20 +03:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2017-02-27 15:05:31 +03:00
|
|
|
height: 40px;
|
|
|
|
width: 32px;
|
|
|
|
font-size: 1.6rem;
|
|
|
|
line-height: 40px;
|
|
|
|
transition: text-shadow 0.3s ease;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
2017-02-27 15:05:31 +03:00
|
|
|
.gh-toolbar-btn:first-child {
|
|
|
|
width: 43px;
|
|
|
|
padding-left: 8px;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
2017-02-27 15:05:31 +03:00
|
|
|
.gh-toolbar-btn:last-child {
|
|
|
|
width: 43px;
|
|
|
|
padding-right: 8px;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
2017-03-08 16:08:20 +03:00
|
|
|
.gh-toolbar-btn svg {
|
|
|
|
height: 1.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-toolbar-btn svg g {
|
|
|
|
stroke-width: 2px;
|
|
|
|
stroke: color(var(--lightgrey) l(-10%));
|
|
|
|
}
|
|
|
|
|
2017-02-27 15:05:31 +03:00
|
|
|
.gh-toolbar-btn:hover {
|
|
|
|
color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
text-shadow: #000 0 1px 6px;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
2017-03-08 16:08:20 +03:00
|
|
|
.gh-toolbar-btn:hover svg g {
|
|
|
|
stroke: #fff;
|
|
|
|
}
|
|
|
|
|
2017-02-27 15:05:31 +03:00
|
|
|
.gh-toolbar-btn-bold {
|
|
|
|
font-weight: 700;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
2017-02-27 15:05:31 +03:00
|
|
|
.gh-toolbar-btn-italic {
|
|
|
|
width: 31px;
|
|
|
|
font-size: 1.7rem;
|
|
|
|
text-indent: -1px;
|
|
|
|
font-style: italic;
|
|
|
|
font-family: Georgia, Times, serif;
|
|
|
|
font-weight: 500;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
2017-02-27 15:05:31 +03:00
|
|
|
.gh-toolbar-btn-strike {
|
|
|
|
text-decoration: line-through;
|
|
|
|
font-weight: 400;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
2017-02-27 15:05:31 +03:00
|
|
|
.gh-toolbar-btn-h1 {
|
|
|
|
font-variant: small-caps;
|
|
|
|
font-weight: 700;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
2017-02-27 15:05:31 +03:00
|
|
|
.gh-toolbar-btn-h2 {
|
|
|
|
font-weight: 700;
|
|
|
|
font-size: 0.9em;
|
|
|
|
font-variant: small-caps;
|
|
|
|
line-height: 42px;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
2017-02-27 15:05:31 +03:00
|
|
|
.gh-toolbar-btn-quote {
|
|
|
|
font-size: 4rem;
|
|
|
|
line-height: 62px;
|
|
|
|
font-family: Georgia, Times, serif;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
2017-02-27 07:44:15 +03:00
|
|
|
|
2017-02-27 15:05:31 +03:00
|
|
|
.gh-toolbar-divider {
|
|
|
|
height: 40px;
|
|
|
|
width: 1px;
|
|
|
|
margin: 0 9px 0 8px;
|
|
|
|
background: color(var(--darkgrey) l(-10%));
|
|
|
|
box-shadow: rgba(255,255,255,0.04) 1px 0 0 0;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|