mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Cleanup CSS
This commit is contained in:
parent
6ba4e70d5e
commit
89d334b2bd
7 changed files with 21 additions and 22 deletions
|
|
@ -23,7 +23,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group" data-bind="css: {'error': passwordError}">
|
<div class="control-group" data-bind="css: {'error': passwordError}">
|
||||||
<label data-i18n="GLOBAL/PASSWORD"></label>
|
<label data-i18n="GLOBAL/PASSWORD"></label>
|
||||||
<input type="password" class="inputPassword input-xlarge" autocomplete="new-password" autocorrect="off" autocapitalize="off" spellcheck="false"
|
<input type="password" class="input-xlarge" autocomplete="new-password" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||||
data-bind="value: password, onEnter: addAccountCommand" />
|
data-bind="value: password, onEnter: addAccountCommand" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
|
|
@ -8,23 +8,22 @@
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label data-i18n="GLOBAL/FROM"></label>
|
<label data-i18n="GLOBAL/FROM"></label>
|
||||||
<input type="text" class="uiInput inputFrom"
|
<input type="text" autofocus="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||||
autofocus="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
||||||
data-bind="value: from, onEnter: searchCommand, onEsc: cancelCommand" />
|
data-bind="value: from, onEnter: searchCommand, onEsc: cancelCommand" />
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label data-i18n="GLOBAL/TO"></label>
|
<label data-i18n="GLOBAL/TO"></label>
|
||||||
<input type="text" class="uiInput inputFrom" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||||
data-bind="value: to, onEnter: searchCommand, onEsc: cancelCommand" />
|
data-bind="value: to, onEnter: searchCommand, onEsc: cancelCommand" />
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label data-i18n="GLOBAL/SUBJECT"></label>
|
<label data-i18n="GLOBAL/SUBJECT"></label>
|
||||||
<input type="text" class="uiInput inputFrom" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||||
data-bind="value: subject, onEnter: searchCommand, onEsc: cancelCommand" />
|
data-bind="value: subject, onEnter: searchCommand, onEsc: cancelCommand" />
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label data-i18n="SEARCH/LABEL_ADV_TEXT"></label>
|
<label data-i18n="SEARCH/LABEL_ADV_TEXT"></label>
|
||||||
<input type="text" class="uiInput inputFrom" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||||
data-bind="value: text, onEnter: searchCommand, onEsc: cancelCommand" />
|
data-bind="value: text, onEnter: searchCommand, onEsc: cancelCommand" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label data-i18n="GLOBAL/NAME"></label>
|
<label data-i18n="GLOBAL/NAME"></label>
|
||||||
<input type="text" class="uiInput inputName"
|
<input type="text"
|
||||||
autofocus="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
autofocus="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||||
data-bind="textInput: folderName, onEnter: createFolderCommand" />
|
data-bind="textInput: folderName, onEnter: createFolderCommand" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label data-i18n="GLOBAL/NAME"></label>
|
<label data-i18n="GLOBAL/NAME"></label>
|
||||||
<input type="text" class="inputName input-xlarge"
|
<input type="text" class="input-xlarge"
|
||||||
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||||
data-bind="value: name, onEnter: addOrEditIdentityCommand" />
|
data-bind="value: name, onEnter: addOrEditIdentityCommand" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -2,34 +2,34 @@
|
||||||
<a href="#" class="close" data-bind="command: cancelCommand">×</a>
|
<a href="#" class="close" data-bind="command: cancelCommand">×</a>
|
||||||
<h3 data-i18n="POPUPS_GENERATE_OPEN_PGP_KEYS/TITLE_GENERATE_OPEN_PGP_KEYS"></h3>
|
<h3 data-i18n="POPUPS_GENERATE_OPEN_PGP_KEYS/TITLE_GENERATE_OPEN_PGP_KEYS"></h3>
|
||||||
</header>
|
</header>
|
||||||
<div class="modal-body form-horizontal">
|
<form class="modal-body form-horizontal" autocomplete="off">
|
||||||
<div class="alert" data-bind="visible: '' !== submitError()">
|
<div class="alert" data-bind="visible: '' !== submitError()">
|
||||||
<a href="#" class="close" data-bind="click: function () { submitError('') }">×</a>
|
<a href="#" class="close" data-bind="click: function () { submitError('') }">×</a>
|
||||||
<span data-bind="text: submitError"></span>
|
<span data-bind="text: submitError"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group" data-bind="css: {'error': emailError}">
|
<div class="control-group" data-bind="css: {'error': emailError}">
|
||||||
<label data-i18n="GLOBAL/EMAIL"></label>
|
<label data-i18n="GLOBAL/EMAIL"></label>
|
||||||
<input type="email" class="input-large"
|
<input type="email" class="input-xlarge"
|
||||||
autofocus="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
autofocus="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||||
data-bind="value: email" />
|
data-bind="value: email" />
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label data-i18n="GLOBAL/NAME"></label>
|
<label data-i18n="GLOBAL/NAME"></label>
|
||||||
<input type="text" class="inputName input-large"
|
<input type="text" class="input-xlarge"
|
||||||
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||||
data-bind="value: name" />
|
data-bind="value: name" />
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label data-i18n="GLOBAL/PASSWORD"></label>
|
<label data-i18n="GLOBAL/PASSWORD"></label>
|
||||||
<input type="password" class="inputPassword input-large"
|
<input type="password" class="input-xlarge"
|
||||||
autocomplete="current-password" autocorrect="off" autocapitalize="off" spellcheck="false"
|
autocomplete="new-password" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||||
data-bind="value: password" />
|
data-bind="value: password" />
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label data-i18n="POPUPS_GENERATE_OPEN_PGP_KEYS/LABEL_KEY_BIT_LENGTH"></label>
|
<label data-i18n="POPUPS_GENERATE_OPEN_PGP_KEYS/LABEL_KEY_BIT_LENGTH"></label>
|
||||||
<select data-bind="value: keyBitLength, options: [2048, 4096]"></select>
|
<select data-bind="value: keyBitLength, options: [2048, 4096]"></select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</form>
|
||||||
<footer>
|
<footer>
|
||||||
<a class="btn buttonHenerateOpenPgpKey" data-bind="command: generateOpenPgpKeyCommand">
|
<a class="btn buttonHenerateOpenPgpKey" data-bind="command: generateOpenPgpKeyCommand">
|
||||||
<i class="fontastic" data-bind="css: {'icon-spinner': submitRequest()}">🔑</i>
|
<i class="fontastic" data-bind="css: {'icon-spinner': submitRequest()}">🔑</i>
|
||||||
|
|
|
||||||
1
vendors/bootstrap/less/forms.less
vendored
1
vendors/bootstrap/less/forms.less
vendored
|
|
@ -103,7 +103,6 @@ input[type="checkbox"]:focus {
|
||||||
// -----------
|
// -----------
|
||||||
|
|
||||||
// General classes for quick sizes
|
// General classes for quick sizes
|
||||||
.input-large { width: 210px; }
|
|
||||||
.input-xlarge { width: 270px; }
|
.input-xlarge { width: 270px; }
|
||||||
.input-xxlarge { width: 530px; }
|
.input-xxlarge { width: 530px; }
|
||||||
|
|
||||||
|
|
|
||||||
15
vendors/bootstrap/less/type.less
vendored
15
vendors/bootstrap/less/type.less
vendored
|
|
@ -35,16 +35,17 @@ cite {
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
line-height: 40px;
|
||||||
margin: (@baseLineHeight / 2) 0;
|
margin: (@baseLineHeight / 2) 0;
|
||||||
line-height: 1;
|
|
||||||
text-rendering: optimizelegibility; // Fix the character spacing for headings
|
text-rendering: optimizelegibility; // Fix the character spacing for headings
|
||||||
}
|
}
|
||||||
h1 { font-size: 36px; line-height: 40px; }
|
h1 { font-size: 36px; }
|
||||||
h2 { font-size: 30px; line-height: 40px; }
|
h2 { font-size: 30px; }
|
||||||
h3 { font-size: 24px; line-height: 40px; }
|
h3 { font-size: 24px; }
|
||||||
h4 { font-size: 18px; line-height: 20px; }
|
h4 { font-size: 18px; }
|
||||||
h5 { font-size: 14px; line-height: 20px; }
|
h5 { font-size: 14px; }
|
||||||
h6 { font-size: 12px; line-height: 20px; }
|
h6 { font-size: 12px; }
|
||||||
|
h4, h5, h6 { line-height: 20px; }
|
||||||
|
|
||||||
|
|
||||||
// Lists
|
// Lists
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue