mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 09:26:14 -04:00
Various UI improvement (#4017)
This commit is contained in:
parent
f45d85f615
commit
7aa7e02e27
19 changed files with 66 additions and 101 deletions
|
@ -25,9 +25,10 @@ html.inner-editor {
|
|||
|
||||
/* ACE-PAD Container (i.e. where the text is displayed) */
|
||||
#innerdocbody {
|
||||
padding: 10px;
|
||||
padding: 15px;
|
||||
overflow: hidden;
|
||||
background-color: white;
|
||||
line-height: 1.6;
|
||||
|
||||
/* Be careful editing following rules. Longs words should not overflow, ep_align justify should work,
|
||||
Test on chrome, firefox and safari... Copy / Paste a word inside a sentence should not add line-breaks
|
||||
|
@ -49,9 +50,9 @@ html.inner-editor {
|
|||
color: inherit;
|
||||
}
|
||||
|
||||
#innerdocbody span {
|
||||
line-height: 125%;
|
||||
padding: 6px 0 !important;
|
||||
#innerdocbody.authorColors span {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
option {
|
||||
|
@ -62,8 +63,15 @@ option {
|
|||
#innerdocbody h2,
|
||||
#innerdocbody h3,
|
||||
#innerdocbody h4 {
|
||||
line-height: 1.2;
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
#innerdocbody h1 span,
|
||||
#innerdocbody h2 span,
|
||||
#innerdocbody h3 span,
|
||||
#innerdocbody h4 span {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
/* --------------------- */
|
||||
/* -- BROWSER SUPPORT -- */
|
||||
|
@ -87,9 +95,12 @@ body.mozilla, body.safari {
|
|||
}
|
||||
#sidediv .line-number {
|
||||
font-size: 9px;
|
||||
padding: 0 10px;
|
||||
padding: 0 14px 0 10px;
|
||||
font-family: monospace;
|
||||
}
|
||||
.plugin-ep_author_neat #sidedivinner.authorColors .line-number {
|
||||
padding-right: 10px;
|
||||
}
|
||||
#sidedivinner {
|
||||
text-align: right;
|
||||
opacity: .9;
|
||||
|
|
|
@ -14,14 +14,14 @@
|
|||
@import url("pad/form.css");
|
||||
|
||||
html {
|
||||
font-size: 14px;
|
||||
font-size: 15px;
|
||||
line-height: 20px;
|
||||
color: #3e3e3e;
|
||||
}
|
||||
|
||||
html,
|
||||
#sidedivinner > div:before {
|
||||
font-family: Cantarell, Roboto, "Open Sans", "Helvetica Neue", Arial, sans-serif;
|
||||
font-family: Roboto;
|
||||
}
|
||||
|
||||
.clear {
|
||||
|
|
|
@ -58,4 +58,22 @@
|
|||
src: url("../../../static/font/Roboto-Bold.ttf") format("truetype");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Alegreya';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Alegreya Medium'), local('Alegreya-Medium'),
|
||||
url('../../../static/font/Aleygreya-Medium.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../../../static/font/Aleygreya-Medium.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Alegreya';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local('Alegreya ExtraBold'), local('Alegreya-ExtraBold'),
|
||||
url('../../../static/font/Aleygreya-ExtraBold.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../../../static/font/Aleygreya-ExtraBold.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
|
@ -23,7 +23,7 @@ select, .nice-select {
|
|||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
white-space: nowrap;
|
||||
width: 120px;
|
||||
min-width: 100px;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.popup .nice-select {
|
||||
|
@ -32,11 +32,6 @@ select, .nice-select {
|
|||
.nice-select:hover {
|
||||
border-color: #dbdbdb;
|
||||
}
|
||||
.nice-select .current {
|
||||
width: 90px;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
}
|
||||
.nice-select:after {
|
||||
border-bottom: 2px solid #999;
|
||||
border-right: 2px solid #999;
|
||||
|
|
|
@ -21,7 +21,10 @@
|
|||
}
|
||||
|
||||
/* RIGHT TOOLBAR (export, settings, back to pad) */
|
||||
|
||||
.editbarright {
|
||||
flex-shrink: 0; /* prevent the back to pad button to shrink */
|
||||
margin-top: -10px;
|
||||
}
|
||||
.editbarright ul li a {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue