2018-02-11 22:00:56 +08:00
|
|
|
@import "variable";
|
|
|
|
* {
|
|
|
|
border-width: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-family: "Source Sans Pro", sans-serif;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
text-decoration: none;
|
2018-02-25 22:39:46 +08:00
|
|
|
hyphens: auto;
|
2018-02-11 22:00:56 +08:00
|
|
|
}
|
|
|
|
|
2018-02-12 22:06:53 +08:00
|
|
|
.spacer {
|
|
|
|
flex: 1 0;
|
|
|
|
}
|
|
|
|
|
2018-02-22 17:48:36 +08:00
|
|
|
#login-page {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
align-items: center;
|
|
|
|
height: 100vh;
|
|
|
|
background-color: @appBg;
|
|
|
|
justify-content: center;
|
|
|
|
>.error-message {
|
|
|
|
width: 100%;
|
|
|
|
margin: 16px 16px 0;
|
|
|
|
max-width: 400px;
|
|
|
|
background-color: @contentBg;
|
|
|
|
border: 1px solid @border;
|
|
|
|
padding: 16px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
#login-box {
|
|
|
|
width: 100%;
|
|
|
|
margin: 16px;
|
|
|
|
max-width: 400px;
|
|
|
|
background-color: @contentBg;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
border: 1px solid @border;
|
|
|
|
#logo-area {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
padding: 16px;
|
|
|
|
border-bottom: 1px solid @border;
|
|
|
|
#logo {
|
|
|
|
font-size: 3em;
|
|
|
|
font-weight: 100;
|
|
|
|
color: @main;
|
|
|
|
span {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#tagline {
|
|
|
|
font-weight: 100;
|
|
|
|
color: @main;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#input-area {
|
|
|
|
padding: 8px;
|
|
|
|
border-bottom: 1px solid @border;
|
|
|
|
.input-field {
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
padding: 8px;
|
|
|
|
p {
|
|
|
|
color: @fontLightColor;
|
|
|
|
font-size: 0.9em;
|
|
|
|
margin-right: 16px;
|
|
|
|
min-width: 65px;
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
color: @fontColor;
|
|
|
|
padding: 8px;
|
|
|
|
border: 1px solid @border;
|
|
|
|
flex: 1 0;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
cursor: pointer;
|
|
|
|
color: @fontLightColor;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 0.9em;
|
|
|
|
flex: 1 0;
|
|
|
|
i {
|
|
|
|
margin-right: 8px;
|
|
|
|
color: @fontLightColor;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
color: @main;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#button-area {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
padding: 16px;
|
|
|
|
a {
|
|
|
|
color: @linkColor;
|
|
|
|
text-transform: uppercase;
|
|
|
|
background-color: @headerInputBg;
|
|
|
|
flex: 1 0;
|
|
|
|
text-align: center;
|
|
|
|
&.button {
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
color: @accent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-17 22:49:16 +08:00
|
|
|
#main-page {
|
2018-02-11 22:00:56 +08:00
|
|
|
background-color: @appBg;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
height: auto;
|
|
|
|
min-height: 100vh;
|
|
|
|
#header {
|
2018-02-14 12:41:43 +08:00
|
|
|
background-color: @contentBg;
|
2018-02-11 22:00:56 +08:00
|
|
|
box-shadow: 0 0 3px @headerShadow;
|
|
|
|
left: 0;
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
z-index: 99;
|
|
|
|
display: flex;
|
2018-02-25 22:39:46 +08:00
|
|
|
flex-flow: row wrap;
|
2018-02-17 16:51:43 +08:00
|
|
|
#n-selected {
|
|
|
|
line-height: @headerHeight;
|
|
|
|
font-size: 1.3em;
|
|
|
|
color: @fontLightColor;
|
|
|
|
flex: 1 0;
|
|
|
|
border-right: 1px solid @border;
|
|
|
|
padding: 0 32px;
|
|
|
|
}
|
2018-02-11 22:00:56 +08:00
|
|
|
#logo {
|
|
|
|
border-left: 1px solid @border;
|
|
|
|
cursor: default;
|
|
|
|
flex-shrink: 0;
|
|
|
|
.header-link;
|
|
|
|
line-height: @headerHeight;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
font-size: 1.5em;
|
|
|
|
font-weight: 100;
|
|
|
|
color: @main;
|
|
|
|
span {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: @appBg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#search-box {
|
|
|
|
align-items: center;
|
|
|
|
border-right: 1px solid @border;
|
|
|
|
display: flex;
|
|
|
|
flex: 1 0;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
padding: 16px;
|
|
|
|
width: 100%;
|
2018-02-12 22:06:53 +08:00
|
|
|
.button,
|
2018-02-11 22:00:56 +08:00
|
|
|
input {
|
|
|
|
background-color: @headerInputBg;
|
|
|
|
border: 1px solid @border;
|
|
|
|
color: @fontColor;
|
|
|
|
font-size: 0.9em;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
2018-02-12 22:06:53 +08:00
|
|
|
.button {
|
2018-02-11 22:00:56 +08:00
|
|
|
cursor: pointer;
|
|
|
|
color: @linkColor;
|
|
|
|
&:hover {
|
|
|
|
color: @accent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
border-right: 0;
|
|
|
|
flex: 1 0;
|
|
|
|
padding: 8px 16px;
|
2018-02-25 22:39:46 +08:00
|
|
|
min-width: 0;
|
|
|
|
width: 100%;
|
2018-02-11 22:00:56 +08:00
|
|
|
}
|
|
|
|
}
|
2018-02-14 19:50:53 +08:00
|
|
|
#header-menu {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
a {
|
|
|
|
line-height: @headerHeight;
|
|
|
|
padding: 0 16px;
|
|
|
|
color: @linkColor;
|
|
|
|
font-size: 0.9em;
|
|
|
|
cursor: pointer;
|
2018-02-17 16:51:43 +08:00
|
|
|
&:not(:last-child) {
|
|
|
|
border-right: 1px solid @border;
|
|
|
|
}
|
2018-02-25 22:39:46 +08:00
|
|
|
span {
|
|
|
|
margin-left: 4px;
|
2018-02-17 16:51:43 +08:00
|
|
|
}
|
2018-02-14 19:50:53 +08:00
|
|
|
&:hover {
|
|
|
|
color: @main;
|
|
|
|
background-color: @appBg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-11 22:00:56 +08:00
|
|
|
}
|
|
|
|
#main {
|
|
|
|
margin-top: @headerHeight;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
2018-02-22 17:48:36 +08:00
|
|
|
#input-bookmark {
|
|
|
|
align-self: center;
|
|
|
|
max-width: 600px;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
2018-02-25 22:39:46 +08:00
|
|
|
margin: 32px 16px 20px;
|
2018-02-22 17:48:36 +08:00
|
|
|
background-color: @headerInputBg;
|
|
|
|
outline: 1px solid @border;
|
|
|
|
>p {
|
|
|
|
color: @fontColor;
|
|
|
|
font-weight: 600;
|
|
|
|
text-transform: uppercase;
|
|
|
|
padding: 16px;
|
|
|
|
&.error-message {
|
|
|
|
color: @main;
|
|
|
|
font-size: 0.9em;
|
|
|
|
border-bottom: 1px solid @border;
|
|
|
|
font-weight: 500;
|
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
input[type=text],
|
|
|
|
textarea {
|
|
|
|
outline: 1px solid @border;
|
|
|
|
color: @fontColor;
|
|
|
|
font-size: 0.9em;
|
|
|
|
padding: 12px 16px;
|
|
|
|
}
|
|
|
|
textarea {
|
|
|
|
resize: vertical;
|
|
|
|
min-height: 4em;
|
|
|
|
max-height: 10em;
|
|
|
|
}
|
|
|
|
.button-area {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
padding: 8px;
|
|
|
|
a {
|
|
|
|
color: @linkColor;
|
|
|
|
text-transform: uppercase;
|
|
|
|
padding: 8px;
|
|
|
|
background-color: @headerInputBg;
|
|
|
|
font-size: 0.9em;
|
|
|
|
&.button {
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
color: @accent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-23 15:30:58 +08:00
|
|
|
#search-parameter {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
padding: 0 8px;
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
margin: 8px;
|
|
|
|
padding: 8px;
|
|
|
|
font-size: 0.9em;
|
|
|
|
background-color: @fontLightColor;
|
|
|
|
color: white;
|
|
|
|
border-radius: 16px;
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
background-color: @main;
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-11 22:00:56 +08:00
|
|
|
#grid {
|
|
|
|
display: flex;
|
2018-02-25 22:39:46 +08:00
|
|
|
flex-flow: row nowrap;
|
2018-02-11 22:00:56 +08:00
|
|
|
padding: 4px;
|
|
|
|
>.column {
|
|
|
|
flex: 1 0;
|
|
|
|
padding: 12px;
|
2018-02-25 22:39:46 +08:00
|
|
|
max-width: 100%;
|
2018-02-11 22:00:56 +08:00
|
|
|
>*:not(:last-child) {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-14 19:50:53 +08:00
|
|
|
#message-bar {
|
2018-02-11 22:00:56 +08:00
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
align-items: center;
|
|
|
|
padding: 32px;
|
2018-02-14 19:50:53 +08:00
|
|
|
justify-content: center;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: -60px;
|
|
|
|
height: 120px;
|
2018-02-11 22:00:56 +08:00
|
|
|
i {
|
|
|
|
color: @fontLightColor;
|
|
|
|
font-size: 3em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-25 22:39:46 +08:00
|
|
|
@media screen and (max-width: 800px) {
|
|
|
|
#header {
|
|
|
|
position: static;
|
|
|
|
#header-menu>a>span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#main {
|
|
|
|
margin-top: 0;
|
|
|
|
.bookmark-menu>a>span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-26 08:14:58 +08:00
|
|
|
@media screen and (max-width: 740px) {
|
2018-02-25 22:39:46 +08:00
|
|
|
#main #input-bookmark {
|
|
|
|
width: auto;
|
|
|
|
align-self: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
|
|
#header #logo {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-02-11 22:00:56 +08:00
|
|
|
}
|
|
|
|
|
2018-02-17 22:49:16 +08:00
|
|
|
#cache-page {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
align-items: center;
|
2018-02-23 15:30:58 +08:00
|
|
|
height: auto;
|
|
|
|
min-height: 100vh;
|
2018-02-17 22:49:16 +08:00
|
|
|
a {
|
|
|
|
color: @main;
|
|
|
|
&:visited {
|
|
|
|
color: @main;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>* {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 864px;
|
|
|
|
}
|
|
|
|
#menu {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
max-width: 864px;
|
|
|
|
border-bottom: 1px solid @border;
|
|
|
|
a {
|
|
|
|
flex: 1 0;
|
|
|
|
font-size: 0.9em;
|
|
|
|
text-align: center;
|
|
|
|
color: @linkColor;
|
|
|
|
padding: 16px;
|
|
|
|
i {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
cursor: pointer;
|
|
|
|
&:not(:last-child) {
|
|
|
|
border-right: 1px solid @border;
|
|
|
|
}
|
|
|
|
&:visited {
|
|
|
|
color: @linkColor
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
color: @main;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#metadata {
|
|
|
|
padding: 32px;
|
|
|
|
border-bottom: 1px solid @border;
|
|
|
|
a {
|
|
|
|
font-size: 0.9em;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
font-size: 2em;
|
|
|
|
margin: 8px 0;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
font-size: 0.9em;
|
|
|
|
color: @fontColor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#content {
|
|
|
|
padding: 16px 32px 32px;
|
|
|
|
* {
|
|
|
|
margin-top: 16px;
|
|
|
|
line-height: 180%;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
pre,
|
|
|
|
code {
|
|
|
|
font-family: 'Ubuntu Mono', 'Courier New', Courier, monospace;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.dark-mode {
|
|
|
|
background-color: #222;
|
|
|
|
color: white;
|
|
|
|
#menu a {
|
|
|
|
color: white;
|
|
|
|
&:visited {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
color: @main;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#metadata p {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-22 17:48:36 +08:00
|
|
|
#dialog-overlay {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 101;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 32px;
|
|
|
|
#dialog {
|
|
|
|
display: flex;
|
|
|
|
background-color: @contentBg;
|
|
|
|
align-self: center;
|
|
|
|
flex-flow: column;
|
|
|
|
border: 1px solid @border;
|
|
|
|
max-width: 500px;
|
|
|
|
#dialog-title {
|
|
|
|
color: @fontColor;
|
|
|
|
font-weight: 600;
|
|
|
|
text-transform: uppercase;
|
|
|
|
padding: 16px;
|
|
|
|
font-size: 1em;
|
|
|
|
border-bottom: 1px solid @border;
|
|
|
|
}
|
|
|
|
#dialog-content {
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
#dialog-button {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
padding: 8px;
|
|
|
|
border-top: 1px solid @border;
|
|
|
|
a {
|
|
|
|
color: @linkColor;
|
|
|
|
text-transform: uppercase;
|
|
|
|
padding: 8px;
|
|
|
|
background-color: @headerInputBg;
|
|
|
|
&.button {
|
|
|
|
cursor: pointer;
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-right: 16px;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
color: @accent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-14 19:50:53 +08:00
|
|
|
.error-message {
|
|
|
|
color: @main !important;
|
|
|
|
font-size: 0.9em;
|
2018-02-22 17:48:36 +08:00
|
|
|
&::before {
|
|
|
|
content: "\f071";
|
|
|
|
font-weight: 900;
|
|
|
|
margin-right: 8px;
|
|
|
|
font-family: "Font Awesome 5 Free"
|
|
|
|
}
|
2018-02-14 19:50:53 +08:00
|
|
|
}
|
|
|
|
|
2018-02-11 22:00:56 +08:00
|
|
|
.bookmark {
|
2018-02-14 12:41:43 +08:00
|
|
|
background-color: @contentBg;
|
2018-02-11 22:00:56 +08:00
|
|
|
border: 1px solid @border;
|
|
|
|
position: relative;
|
|
|
|
.checkbox {
|
|
|
|
z-index: 9;
|
|
|
|
right: 0;
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
outline: 1px solid @border;
|
2018-02-12 22:06:53 +08:00
|
|
|
color: @linkColor;
|
2018-02-14 12:41:43 +08:00
|
|
|
background-color: @contentBg;
|
2018-02-12 22:06:53 +08:00
|
|
|
width: 32px;
|
|
|
|
line-height: 32px;
|
|
|
|
text-align: center;
|
|
|
|
display: block;
|
2018-02-17 16:51:43 +08:00
|
|
|
cursor: pointer;
|
2018-02-12 22:06:53 +08:00
|
|
|
font-size: 0.9em;
|
2018-02-11 22:00:56 +08:00
|
|
|
&:hover {
|
|
|
|
color: @accent !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.bookmark-metadata {
|
|
|
|
padding: 16px;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
2018-02-13 17:14:08 +08:00
|
|
|
border-bottom: 1px solid @border;
|
2018-02-11 22:00:56 +08:00
|
|
|
.bookmark-time {
|
|
|
|
color: @fontLightColor;
|
|
|
|
font-size: 0.9em;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
.bookmark-title {
|
|
|
|
color: @fontColor;
|
|
|
|
font-size: 1.3em;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
.bookmark-url {
|
|
|
|
.bookmark-time;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-top: 8px;
|
2018-02-12 22:06:53 +08:00
|
|
|
max-height: 2.6em;
|
|
|
|
line-height: 1.3em;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
&.has-image {
|
|
|
|
min-height: 250px;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: cover;
|
|
|
|
justify-content: flex-end;
|
|
|
|
position: relative;
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 0;
|
|
|
|
}
|
|
|
|
.bookmark-time,
|
|
|
|
.bookmark-url {
|
|
|
|
z-index: 2;
|
|
|
|
color: white;
|
|
|
|
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
.bookmark-title {
|
|
|
|
z-index: 2;
|
|
|
|
color: white;
|
|
|
|
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
2018-02-11 22:00:56 +08:00
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
.bookmark-title {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.bookmark-excerpt {
|
2018-02-13 17:14:08 +08:00
|
|
|
padding: 16px 16px 0;
|
2018-02-11 22:00:56 +08:00
|
|
|
color: @fontColor;
|
|
|
|
}
|
|
|
|
.bookmark-tags {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
2018-02-13 17:14:08 +08:00
|
|
|
padding: 12px 12px 0;
|
|
|
|
margin-bottom: -4px;
|
2018-02-11 22:00:56 +08:00
|
|
|
a {
|
2018-02-17 16:51:43 +08:00
|
|
|
cursor: pointer;
|
2018-02-11 22:00:56 +08:00
|
|
|
font-size: 0.9em;
|
|
|
|
padding: 4px;
|
|
|
|
color: @main !important;
|
|
|
|
&::before {
|
|
|
|
content: "#"
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-12 22:06:53 +08:00
|
|
|
.bookmark-menu {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
border-top: 1px solid @border;
|
|
|
|
visibility: hidden;
|
2018-02-13 17:14:08 +08:00
|
|
|
margin-top: 16px;
|
2018-02-25 17:04:12 +08:00
|
|
|
&:nth-child(3) {
|
|
|
|
border-top: 0;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2018-02-12 22:06:53 +08:00
|
|
|
a {
|
2018-02-17 16:51:43 +08:00
|
|
|
cursor: pointer;
|
2018-02-12 22:06:53 +08:00
|
|
|
display: block;
|
|
|
|
flex: 1 0;
|
|
|
|
color: @linkColor !important;
|
|
|
|
padding: 8px;
|
|
|
|
font-size: 0.9em;
|
|
|
|
text-align: center;
|
2018-02-25 22:39:46 +08:00
|
|
|
span {
|
|
|
|
margin-left: 4px;
|
2018-02-17 16:51:43 +08:00
|
|
|
}
|
2018-02-12 22:06:53 +08:00
|
|
|
&:not(:last-child) {
|
|
|
|
border-right: 1px solid @border;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
color: @accent !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-11 22:00:56 +08:00
|
|
|
&:hover {
|
|
|
|
.checkbox {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2018-02-12 22:06:53 +08:00
|
|
|
.bookmark-menu {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
2018-02-11 22:00:56 +08:00
|
|
|
}
|
|
|
|
&.checked {
|
2018-02-17 16:51:43 +08:00
|
|
|
border: 1px solid @borderDark;
|
2018-02-11 22:00:56 +08:00
|
|
|
outline: 6px solid @borderDark;
|
|
|
|
.checkbox {
|
|
|
|
opacity: 1;
|
|
|
|
outline: 0;
|
|
|
|
background-color: @borderDark;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
2018-03-07 08:34:55 +08:00
|
|
|
@supports not (hyphens: auto) {
|
|
|
|
.bookmark-title,
|
|
|
|
.bookmark-url,
|
|
|
|
.bookmark-excerpt {
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
}
|
2018-02-11 22:00:56 +08:00
|
|
|
}
|