mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
commit
729de27969
17 changed files with 23 additions and 30 deletions
|
@ -22,7 +22,7 @@
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
box-shadow: rgba(0, 0, 0, 0.175) 0 2px 6px;
|
box-shadow: rgba(0, 0, 0, 0.10) 0 2px 6px;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
|
|
|
@ -128,13 +128,13 @@
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
line-height: 1.3em;
|
line-height: 1.3em;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
user-select: all;
|
user-select: text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-alert a {
|
.gh-alert a {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
user-select: all;
|
user-select: text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-alert-close {
|
.gh-alert-close {
|
||||||
|
|
|
@ -216,11 +216,12 @@
|
||||||
|
|
||||||
.content-preview .post-controls {
|
.content-preview .post-controls {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 25px;
|
top: 5px;
|
||||||
right: 25px;
|
right: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-preview .post-controls .btn {
|
.content-preview .post-controls .post-edit {
|
||||||
|
padding-top: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
border: none;
|
border: none;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
|
|
@ -156,7 +156,7 @@
|
||||||
|
|
||||||
.entry-preview-content *,
|
.entry-preview-content *,
|
||||||
.content-preview-content * {
|
.content-preview-content * {
|
||||||
user-select: all;
|
user-select: text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-preview-content a,
|
.entry-preview-content a,
|
||||||
|
|
|
@ -192,7 +192,7 @@
|
||||||
.gh-nav-footer-sitelink {
|
.gh-nav-footer-sitelink {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
color: var(--midgrey);
|
color: color(var(--midgrey) lightness(-10%));
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
@ -327,13 +327,12 @@
|
||||||
.gh-help-menu {
|
.gh-help-menu {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 5px 10px;
|
|
||||||
border-left: #dfe1e3 1px solid;
|
border-left: #dfe1e3 1px solid;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-help-button {
|
.gh-help-button {
|
||||||
padding: 0 5px;
|
padding: 5px 15px;
|
||||||
color: var(--midgrey);
|
color: var(--midgrey);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
|
|
||||||
.settings-tag .tag-description {
|
.settings-tag .tag-description {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: #dfe1e3;
|
color: color(#dfe1e3 lightness(-10%));
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,6 +117,6 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 20px;
|
top: 20px;
|
||||||
right: 12px;
|
right: 12px;
|
||||||
color: #dfe1e3;
|
color: color(#dfe1e3 lightness(-10%));
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
|
|
||||||
/* Base button style */
|
/* Base button style */
|
||||||
.btn {
|
.btn {
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
padding: 9px 15px;
|
padding: 9px 15px;
|
||||||
border: #dfe1e3 1px solid;
|
border: #dfe1e3 1px solid;
|
||||||
|
@ -163,6 +160,7 @@ fieldset[disabled] .btn {
|
||||||
.btn-minor:focus {
|
.btn-minor:focus {
|
||||||
border-color: #c1c1c1;
|
border-color: #c1c1c1;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
box-shadow: none;
|
||||||
color: #808284;
|
color: #808284;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<section class="view-content">
|
<section class="view-content">
|
||||||
<header class="gh-about-header">
|
<header class="gh-about-header">
|
||||||
<img class="gh-logo" src="{{gh-path 'admin' '/img/ghost-logo.png'}}" alt="Ghost" />
|
<img class="gh-logo" src="{{gh-path 'admin' '/img/ghost-logo.png'}}" alt="Ghost" />
|
||||||
<!-- TODO: fix about notifications -->
|
{{!-- TODO: fix about notifications --}}
|
||||||
{{gh-notifications location="about-upgrade" notify="updateNotificationChange"}}
|
{{gh-notifications location="about-upgrade" notify="updateNotificationChange"}}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
|
@ -8,13 +8,8 @@
|
||||||
</section>
|
</section>
|
||||||
{{#if confirm}}
|
{{#if confirm}}
|
||||||
<footer class="modal-footer">
|
<footer class="modal-footer">
|
||||||
<button type="button" class="{{rejectButtonClass}} btn-minor js-button-reject" {{action "confirm" "reject"}}>
|
{{! Buttons must be on one line to prevent white-space errors }}
|
||||||
{{confirm.reject.text}}
|
<button type="button" class="{{rejectButtonClass}} btn-minor js-button-reject" {{action "confirm" "reject"}}>{{confirm.reject.text}}</button><button type="button" class="{{acceptButtonClass}} js-button-accept" {{action "confirm" "accept"}}>{{confirm.accept.text}}</button>
|
||||||
</button><!--
|
|
||||||
Required to strip the white-space between buttons
|
|
||||||
--><button type="button" class="{{acceptButtonClass}} js-button-accept" {{action "confirm" "accept"}}>
|
|
||||||
{{confirm.accept.text}}
|
|
||||||
</button>
|
|
||||||
</footer>
|
</footer>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<section class="gh-view content-view-container">
|
<section class="gh-view content-view-container">
|
||||||
<header class="view-header">
|
<header class="view-header">
|
||||||
{{#gh-view-title openMobileMenu="openMobileMenu"}}Content{{/gh-view-title}}
|
{{#gh-view-title openMobileMenu="openMobileMenu"}}<span>Content</span>{{/gh-view-title}}
|
||||||
<section class="view-actions">
|
<section class="view-actions">
|
||||||
{{#link-to "editor.new" class="btn btn-green" title="New Post"}}New Post{{/link-to}}
|
{{#link-to "editor.new" class="btn btn-green" title="New Post"}}New Post{{/link-to}}
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<section class="gh-view">
|
<section class="gh-view">
|
||||||
<header class="view-header">
|
<header class="view-header">
|
||||||
{{#gh-view-title openMobileMenu="openMobileMenu"}}Code Injection{{/gh-view-title}}
|
{{#gh-view-title openMobileMenu="openMobileMenu"}}<span>Code Injection</span>{{/gh-view-title}}
|
||||||
<section class="view-actions">
|
<section class="view-actions">
|
||||||
{{gh-spin-button type="button" class="btn btn-blue" action="save" buttonText="Save" submitting=submitting}}
|
{{gh-spin-button type="button" class="btn btn-blue" action="save" buttonText="Save" submitting=submitting}}
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<section class="gh-view">
|
<section class="gh-view">
|
||||||
<header class="view-header">
|
<header class="view-header">
|
||||||
{{#gh-view-title openMobileMenu="openMobileMenu"}}General{{/gh-view-title}}
|
{{#gh-view-title openMobileMenu="openMobileMenu"}}<span>General</span>{{/gh-view-title}}
|
||||||
<section class="view-actions">
|
<section class="view-actions">
|
||||||
{{gh-spin-button type="button" class="btn btn-blue" action="save" buttonText="Save" submitting=submitting}}
|
{{gh-spin-button type="button" class="btn btn-blue" action="save" buttonText="Save" submitting=submitting}}
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<section class="gh-view">
|
<section class="gh-view">
|
||||||
<header class="view-header">
|
<header class="view-header">
|
||||||
{{#gh-view-title openMobileMenu="openMobileMenu"}}Labs{{/gh-view-title}}
|
{{#gh-view-title openMobileMenu="openMobileMenu"}}<span>Labs</span>{{/gh-view-title}}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section class="view-content settings-debug">
|
<section class="view-content settings-debug">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{{#gh-navigation moveItem="moveItem"}}
|
{{#gh-navigation moveItem="moveItem"}}
|
||||||
<header class="view-header">
|
<header class="view-header">
|
||||||
{{#gh-view-title openMobileMenu="openMobileMenu"}}Navigation{{/gh-view-title}}
|
{{#gh-view-title openMobileMenu="openMobileMenu"}}<span>Navigation</span>{{/gh-view-title}}
|
||||||
<section class="view-actions">
|
<section class="view-actions">
|
||||||
{{gh-spin-button type="button" class="btn btn-blue" action="save" buttonText="Save" submitting=submitting}}
|
{{gh-spin-button type="button" class="btn btn-blue" action="save" buttonText="Save" submitting=submitting}}
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<section class="gh-view">
|
<section class="gh-view">
|
||||||
<header class="view-header">
|
<header class="view-header">
|
||||||
{{#gh-view-title openMobileMenu="openMobileMenu"}}Tags{{/gh-view-title}}
|
{{#gh-view-title openMobileMenu="openMobileMenu"}}<span>Tags</span>{{/gh-view-title}}
|
||||||
<section class="view-actions">
|
<section class="view-actions">
|
||||||
<button type="button" class="btn btn-green" {{action "newTag"}}>New Tag</button>
|
<button type="button" class="btn btn-green" {{action "newTag"}}>New Tag</button>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<section class="gh-view">
|
<section class="gh-view">
|
||||||
<header class="view-header">
|
<header class="view-header">
|
||||||
{{#gh-view-title openMobileMenu="openMobileMenu"}}Team{{/gh-view-title}}
|
{{#gh-view-title openMobileMenu="openMobileMenu"}}<span>Team</span>{{/gh-view-title}}
|
||||||
{{!-- Do not show Invite user button to authors --}}
|
{{!-- Do not show Invite user button to authors --}}
|
||||||
{{#unless session.user.isAuthor}}
|
{{#unless session.user.isAuthor}}
|
||||||
<section class="view-actions">
|
<section class="view-actions">
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<header class="view-header">
|
<header class="view-header">
|
||||||
{{#gh-view-title openMobileMenu="openMobileMenu"}}
|
{{#gh-view-title openMobileMenu="openMobileMenu"}}
|
||||||
{{link-to "Team" "team"}}
|
{{link-to "Team" "team"}}
|
||||||
<i class="icon-arrow-right"></i> {{user.name}}
|
<i class="icon-arrow-right"></i> <span>{{user.name}}</span>
|
||||||
{{/gh-view-title}}
|
{{/gh-view-title}}
|
||||||
<section class="view-actions">
|
<section class="view-actions">
|
||||||
{{#if userActionsAreVisible}}
|
{{#if userActionsAreVisible}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue