placeholder for empty note content

This commit is contained in:
azivner 2018-12-30 19:02:42 +01:00
parent 0a35abf68f
commit 7127822e8f
6 changed files with 16 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -17,6 +17,7 @@ html, body {
#global-buttons { #global-buttons {
display: flex; display: flex;
flex-shrink: 0;
justify-content: space-around; justify-content: space-around;
padding: 10px 0 10px 0; padding: 10px 0 10px 0;
margin: 0 10px 0 16px; margin: 0 10px 0 16px;

View File

@ -677,4 +677,14 @@ div[data-notify="container"] {
max-width: 450px; max-width: 450px;
margin: auto; margin: auto;
padding-top: 50px; padding-top: 50px;
}
.ck-editor__is-empty.ck-content.ck-editor__editable::before {
content: 'You can start writing note here ...';
position: absolute;
display: block;
margin: var(--ck-spacing-large) 0;
color: #aaa;
} }

View File

@ -2,11 +2,12 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Login</title> <title>Login</title>
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<div class="col-md-5 offset-md-3"> <div class="col-md-5 offset-md-3" style="padding-top: 25px;">
<h1>Trilium login</h1> <h1>Trilium login</h1>
<% if (failedAuth) { %> <% if (failedAuth) { %>

View File

@ -2,6 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Trilium Notes</title> <title>Trilium Notes</title>
</head> </head>
<body class="mobile"> <body class="mobile">