client/css: fix lists in comments css inheritance
Markdown lists in comments inherited some unwanted CSS rules. The fix is to make the culprit rules apply to more specific elements.
This commit is contained in:
parent
40fa118cca
commit
cf24d63fa4
16 changed files with 107 additions and 107 deletions
|
@ -4,17 +4,15 @@ form
|
|||
display: block
|
||||
width: 20em
|
||||
|
||||
ul
|
||||
.input
|
||||
list-style-type: none
|
||||
margin: 0 0 1em 0
|
||||
margin: 0 0 2em 0
|
||||
padding: 0
|
||||
li
|
||||
margin-top: 1.2em
|
||||
label
|
||||
display: block
|
||||
padding: 0.3em 0
|
||||
.input
|
||||
margin-bottom: 2em
|
||||
.input li:first-child label:not(.radio):not(.checkbox):not(.file-dropper),
|
||||
.input li:first-child
|
||||
padding-top: 0
|
||||
|
|
|
@ -106,7 +106,7 @@
|
|||
text-align: left
|
||||
|
||||
label
|
||||
display: none
|
||||
display: none !important
|
||||
form
|
||||
width: auto
|
||||
margin-bottom: 0.75em
|
||||
|
|
|
@ -39,6 +39,10 @@ $cancel-button-color = tomato
|
|||
margin-top: 1em
|
||||
|
||||
.uploadables-container
|
||||
list-style-type: none
|
||||
margin: 0
|
||||
padding: 0
|
||||
|
||||
li
|
||||
margin: 0 0 1.2em 0
|
||||
|
||||
|
|
|
@ -87,7 +87,8 @@ div.tag-input
|
|||
|
||||
ul.compact-tags
|
||||
width: 100%
|
||||
margin-top: 0.5em
|
||||
margin: 0.5em 0 0 0
|
||||
padding: 0
|
||||
li
|
||||
margin: 0
|
||||
width: 100%
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
.tag-list-header
|
||||
label
|
||||
display: none
|
||||
display: none !important
|
||||
text-align: left
|
||||
form
|
||||
width: auto
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
.user-list-header
|
||||
label
|
||||
display: none
|
||||
display: none !important
|
||||
text-align: left
|
||||
form
|
||||
width: auto
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
<div class='content-wrapper' id='login'>
|
||||
<h1>Log in</h1>
|
||||
<form>
|
||||
<div class='input'>
|
||||
<ul>
|
||||
<ul class='input'>
|
||||
<li>
|
||||
<%= ctx.makeTextInput({
|
||||
text: 'User name',
|
||||
|
@ -26,8 +25,9 @@
|
|||
}) %>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class='messages'></div>
|
||||
|
||||
<div class='buttons'>
|
||||
<input type='submit' value='Log in'/>
|
||||
<% if (ctx.canSendMails) { %>
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
<div class='content-wrapper' id='password-reset'>
|
||||
<h1>Password reset</h1>
|
||||
<form autocomplete='off'>
|
||||
<div class='input'>
|
||||
<ul>
|
||||
<ul class='input'>
|
||||
<li>
|
||||
<%= ctx.makeTextInput({
|
||||
text: 'User name or e-mail address',
|
||||
|
@ -11,10 +10,11 @@
|
|||
}) %>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<p><small>Proceeding will send an e-mail that contains a password reset
|
||||
link. Clicking it is going to generate a new password for your account.
|
||||
It is recommended to change that password to something else.</small></p>
|
||||
|
||||
<div class='messages'></div>
|
||||
<div class='buttons'>
|
||||
<input type='submit' value='Proceed'/>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class='post-merge'>
|
||||
<form>
|
||||
<ul>
|
||||
<ul class='input'>
|
||||
<li class='post-mirror'>
|
||||
<div class='left-post-container'></div>
|
||||
<div class='right-post-container'></div>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<form>
|
||||
<p>This tag has <a href='/posts/query=<%- encodeURIComponent(ctx.tag.names[0]) %>'><%- ctx.tag.postCount %> usage(s)</a>.</p>
|
||||
|
||||
<ul>
|
||||
<ul class='input'>
|
||||
<li>
|
||||
<%= ctx.makeCheckbox({
|
||||
name: 'confirm-deletion',
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class='content-wrapper tag-edit'>
|
||||
<form>
|
||||
<ul>
|
||||
<ul class='input'>
|
||||
<li class='names'>
|
||||
<% if (ctx.canEditNames) { %>
|
||||
<%= ctx.makeTextInput({
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class='tag-merge'>
|
||||
<form>
|
||||
<ul>
|
||||
<ul class='input'>
|
||||
<li class='target'>
|
||||
<%= ctx.makeTextInput({required: true, text: 'Target tag', pattern: ctx.tagNamePattern}) %>
|
||||
</li>
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
<div class='tag-list-header'>
|
||||
<form class='horizontal'>
|
||||
<div class='input'>
|
||||
<ul>
|
||||
<ul class='input'>
|
||||
<li>
|
||||
<%= ctx.makeTextInput({text: 'Search query', id: 'search-text', name: 'search-text', value: ctx.parameters.query}) %>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class='buttons'>
|
||||
<input type='submit' value='Search'/>
|
||||
<a class='button append' href='/help/search/tags'>Syntax help</a>
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<div id='user-delete'>
|
||||
<form>
|
||||
<div class='input'>
|
||||
<ul>
|
||||
<ul class='input'>
|
||||
<li>
|
||||
<%= ctx.makeCheckbox({
|
||||
name: 'confirm-deletion',
|
||||
|
@ -10,7 +9,7 @@
|
|||
}) %>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class='messages'></div>
|
||||
<div class='buttons'>
|
||||
<input type='submit' value='Delete account'/>
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
<input class='anticomplete' type='text' name='fakeuser'/>
|
||||
<input class='anticomplete' type='password' name='fakepass'/>
|
||||
|
||||
<div class='input'>
|
||||
<ul>
|
||||
<ul class='input'>
|
||||
<li>
|
||||
<%= ctx.makeTextInput({
|
||||
text: 'User name',
|
||||
|
@ -36,12 +35,13 @@
|
|||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class='messages'></div>
|
||||
<div class='buttons'>
|
||||
<input type='submit' value='Create an account'/>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div class='info'>
|
||||
<p>Registered users can:</p>
|
||||
<ul>
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
<div class='user-list-header'>
|
||||
<form class='horizontal'>
|
||||
<div class='input'>
|
||||
<ul>
|
||||
<ul class='input'>
|
||||
<li>
|
||||
<%= ctx.makeTextInput({text: 'Search query', id: 'search-text', name: 'search-text', value: ctx.parameters.query}) %>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class='buttons'>
|
||||
<input type='submit' value='Search'/>
|
||||
<a class='append' href='/help/search/users'>Syntax help</a>
|
||||
|
|
Loading…
Reference in a new issue