1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-08 06:55:26 +02:00

Changed css properties order

This commit is contained in:
DorofeevMark 2019-01-18 18:38:50 +03:00
parent 9cb14c6520
commit ad6582f0ca
5 changed files with 15 additions and 15 deletions

View file

@ -1,13 +1,13 @@
.docs-header {
font-size: 15.8px;
border-bottom: 1px solid var(--color-line-gray);
line-height: 50px;
display: flex;
padding: 0 var(--layout-padding-horisontal);
border-bottom: 1px solid var(--color-line-gray);
font-size: 15.8px;
line-height: 50px;
a {
text-decoration: none;
display: inline-block;
text-decoration: none;
}
&__logo {

View file

@ -66,8 +66,8 @@
*/
.block-code {
padding: 20px !important;
font-size: 13px;
border-radius: 3px;
font-size: 13px;
border: 1px solid var(--color-line-gray);
font-family: Menlo,Monaco,Consolas,Courier New,monospace;
line-height: 1.7em;

View file

@ -1,12 +1,12 @@
.writing-header {
display: flex;
padding: 15px 0;
margin-top: calc(-1 * var(--layout-padding-vertical));
position: sticky;
top: 0;
padding: 15px 0;
margin-top: calc(-1 * var(--layout-padding-vertical));
background: #fff;
z-index: 2;
box-shadow: 0 3px 10px #fff;
z-index: 2;
&__save {
@apply --button;
@ -20,11 +20,11 @@
}
.uri-input {
box-sizing: border-box;
width: 100%;
padding: 10px 12px;
border-radius: 3px;
border: 1px solid rgba(201, 201, 204, 0.48);
box-shadow: inset 0 1px 2px 0 rgba(35, 44, 72, 0.06);
border-radius: 3px;
padding: 10px 12px;
outline: none;
width: 100%;
box-sizing: border-box;
}

View file

@ -15,10 +15,10 @@
--button {
display: inline-block;
padding: 9px 15px;
border-radius: 3px;
background: var(--color-link-active);
color: #fff;
border-radius: 3px;
padding: 9px 15px;
font-size: 14px;
line-height: 1em;
text-decoration: none;

View file

@ -239,7 +239,7 @@ describe('Pages REST: ', () => {
expect(secondPageResult.uri).to.equal(transformToUri(body.blocks[0].data.text) + '-1');
expect(secondPageResult.body).to.deep.equal(body);
const newFirstPageUri = 'New uri';
const newFirstPageUri = 'New-uri';
res = await agent
.post(`/api/page/${_id}`)