-
-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2804 from AlchemyCMS/ui-fixes
Some UI fixes
- Loading branch information
Showing
6 changed files
with
110 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,74 @@ | ||
h1, .h1, | ||
h2, .h2, | ||
h3, .h3, | ||
h4, .h4, | ||
h5, .h5 { | ||
h1, | ||
.h1, | ||
h2, | ||
.h2, | ||
h3, | ||
.h3, | ||
h4, | ||
.h4, | ||
h5, | ||
.h5 { | ||
padding: 0; | ||
margin: 1em 0; | ||
} | ||
|
||
h1, .h1, | ||
h2, .h2, | ||
h3, .h3, | ||
h4, .h4 { | ||
h1, | ||
.h1, | ||
h2, | ||
.h2, | ||
h3, | ||
.h3, | ||
h4, | ||
.h4 { | ||
font-weight: bold; | ||
} | ||
|
||
h1, .h1 { | ||
h1, | ||
.h1 { | ||
font-size: 1.5rem; | ||
} | ||
|
||
h2, .h2 { | ||
h2, | ||
.h2 { | ||
font-size: 1.25rem; | ||
} | ||
|
||
h3, .h3 { | ||
h3, | ||
.h3 { | ||
font-size: 1.125rem; | ||
} | ||
|
||
h4, .h4, | ||
h5, .h5 { | ||
h4, | ||
.h4, | ||
h5, | ||
.h5 { | ||
font-size: 1rem; | ||
} | ||
|
||
h5, .h5 { | ||
h5, | ||
.h5 { | ||
font-weight: normal; | ||
} | ||
|
||
p { | ||
margin: 0 0 2*$default-margin 0; | ||
margin: 0 0 2 * $default-margin 0; | ||
white-space: normal; | ||
|
||
a { | ||
color: $anchor-color; | ||
} | ||
} | ||
|
||
kbd { | ||
font-family: Courier, monospaced; | ||
background: $medium-gray; | ||
kbd, | ||
code { | ||
border: $default-border; | ||
padding: 0.25em 0.5em; | ||
vertical-align: top; | ||
margin-right: 1ex; | ||
border-radius: $default-border-radius; | ||
font-family: Courier, monospaced; | ||
margin: 0 0.25ex; | ||
padding: 0.25em 0.5em; | ||
vertical-align: baseline; | ||
} | ||
|
||
code { | ||
background: $medium-gray; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,57 @@ | ||
<h2><%= Alchemy.t('Global shortcuts') %></h2> | ||
<ul class="shortcuts"> | ||
<li><kbd>?</kbd><%= Alchemy.t('Open help window', scope: 'help.shortcuts') %></li> | ||
<li><kbd>esc</kbd><%= Alchemy.t('Close current dialog', scope: 'help.shortcuts') %></li> | ||
<li><kbd>alt</kbd><kbd>q</kbd><%= Alchemy.t('Open logout dialog', scope: 'help.shortcuts') %></li> | ||
<li><kbd>alt</kbd><kbd>f</kbd><%= Alchemy.t('Focus search field', scope: 'help.shortcuts') %></li> | ||
<li><kbd>alt</kbd><kbd>n</kbd><%= Alchemy.t('Create a new record', scope: 'help.shortcuts') %></li> | ||
<li> | ||
<kbd>?</kbd> | ||
<%= Alchemy.t('Open help window', scope: 'help.shortcuts') %> | ||
</li> | ||
<li> | ||
<kbd>esc</kbd> | ||
<%= Alchemy.t('Close current dialog', scope: 'help.shortcuts') %> | ||
</li> | ||
<li> | ||
<kbd>alt</kbd><kbd>q</kbd> | ||
<%= Alchemy.t('Open logout dialog', scope: 'help.shortcuts') %> | ||
</li> | ||
<li> | ||
<kbd>alt</kbd><kbd>f</kbd> | ||
<%= Alchemy.t('Focus search field', scope: 'help.shortcuts') %> | ||
</li> | ||
<li> | ||
<kbd>alt</kbd><kbd>n</kbd> | ||
<%= Alchemy.t('Create a new record', scope: 'help.shortcuts') %> | ||
</li> | ||
</ul> | ||
<h2><%= Alchemy.t('Page edit shortcuts') %></h2> | ||
<ul class="shortcuts"> | ||
<li><kbd>alt</kbd><kbd>i</kbd><%= Alchemy.t('Show page infos', scope: 'help.shortcuts') %></li> | ||
<li><kbd>alt</kbd><kbd>n</kbd><%= Alchemy.t('Create new element', scope: 'help.shortcuts') %></li> | ||
<li><kbd>alt</kbd><kbd>e</kbd><%= Alchemy.t('Edit page properties', scope: 'help.shortcuts') %></li> | ||
<li><kbd>alt</kbd><kbd>r</kbd><%= Alchemy.t('Reload the preview', scope: 'help.shortcuts') %></li> | ||
<li><kbd>alt</kbd><kbd>x</kbd><%= Alchemy.t('Leave the page', scope: 'help.shortcuts') %></li> | ||
<li> | ||
<kbd>alt</kbd><kbd>i</kbd> | ||
<%= Alchemy.t('Show page infos', scope: 'help.shortcuts') %> | ||
</li> | ||
<li> | ||
<kbd>alt</kbd><kbd>n</kbd> | ||
<%= Alchemy.t('Create new element', scope: 'help.shortcuts') %> | ||
</li> | ||
<li> | ||
<kbd>alt</kbd><kbd>e</kbd> | ||
<%= Alchemy.t('Edit page properties', scope: 'help.shortcuts') %> | ||
</li> | ||
<li> | ||
<kbd>alt</kbd><kbd>r</kbd> | ||
<%= Alchemy.t('Reload the preview', scope: 'help.shortcuts') %> | ||
</li> | ||
<li> | ||
<kbd>alt</kbd><kbd>x</kbd> | ||
<%= Alchemy.t('Leave the page', scope: 'help.shortcuts') %> | ||
</li> | ||
</ul> | ||
<h2><%= Alchemy.t('Library shortcuts') %></h2> | ||
<ul class="shortcuts"> | ||
<li><kbd>alt</kbd><kbd>n</kbd><%= Alchemy.t('Open upload form', scope: 'help.shortcuts') %></li> | ||
<li><kbd>alt</kbd><kbd>a</kbd><%= Alchemy.t('Select all pictures', scope: 'help.shortcuts') %></li> | ||
<li> | ||
<kbd>alt</kbd><kbd>n</kbd> | ||
<%= Alchemy.t('Open upload form', scope: 'help.shortcuts') %> | ||
</li> | ||
<li> | ||
<kbd>alt</kbd><kbd>a</kbd> | ||
<%= Alchemy.t('Select all pictures', scope: 'help.shortcuts') %> | ||
</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters