mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Improved admin layout
This commit is contained in:
parent
e8daff85bc
commit
98b5989b44
5 changed files with 19 additions and 44 deletions
|
|
@ -1,9 +1,5 @@
|
|||
#V-PopupsDomainAlias {
|
||||
max-width: 330px;
|
||||
|
||||
.error-desc {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
|
||||
#V-PopupsDomain {
|
||||
|
|
@ -24,10 +20,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.error-desc {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.testing-done {
|
||||
color: green !important;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,22 +1,18 @@
|
|||
|
||||
.UserBackground body {
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
#rl-left, #rl-right {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
z-index: 0;
|
||||
#rl-content {
|
||||
display:flex;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#rl-left {
|
||||
flex-grow: 0;
|
||||
flex-shrink: 0;
|
||||
overflow: auto;
|
||||
padding-top: 50px + @rlLowMargin + 10px;
|
||||
width: @rlLeftWidth;
|
||||
|
|
@ -45,14 +41,14 @@
|
|||
}
|
||||
|
||||
#rl-right {
|
||||
flex-grow: 1;
|
||||
z-index: 1;
|
||||
left: @rlLeftWidth;
|
||||
}
|
||||
|
||||
#V-AdminPane {
|
||||
height: 100%;
|
||||
|
||||
.b-toolbar {
|
||||
> .b-toolbar {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
|
|
@ -76,18 +72,15 @@
|
|||
}
|
||||
|
||||
#rl-settings-subscreen {
|
||||
background-color: #fff;
|
||||
border: 1px solid @rlMainDarkColor;
|
||||
border-radius: @rlMainBorderRadius;
|
||||
box-shadow: @rlMainShadow;
|
||||
box-sizing: border-box;
|
||||
height: calc(100% - 50px - @rlLowMargin - @rlLowMargin);
|
||||
margin: (50px + @rlLowMargin) @rlLowMargin @rlLowMargin 0;
|
||||
overflow-y: auto;
|
||||
padding: 20px;
|
||||
|
||||
box-sizing: border-box;
|
||||
height: calc(100% - 50px - @rlLowMargin - @rlLowMargin);
|
||||
|
||||
background-color: #fff;
|
||||
border: 1px solid @rlMainDarkColor;
|
||||
|
||||
box-shadow: @rlMainShadow;
|
||||
border-radius: @rlMainBorderRadius;
|
||||
}
|
||||
|
||||
/* desktop */
|
||||
|
|
@ -102,10 +95,6 @@
|
|||
#rl-left {
|
||||
width: @rlLeftWidth + 20;
|
||||
}
|
||||
|
||||
#rl-right {
|
||||
left: @rlLeftWidth + 20;
|
||||
}
|
||||
}
|
||||
|
||||
/* mobile and tablet */
|
||||
|
|
@ -114,16 +103,13 @@
|
|||
padding: 10px;
|
||||
}
|
||||
|
||||
html:not(.rl-left-panel-disabled) #rl-right {
|
||||
right: 5-@rlLeftWidth;
|
||||
#rl-right {
|
||||
min-width: calc(100% - @rlLowMargin);
|
||||
}
|
||||
|
||||
html.rl-left-panel-disabled {
|
||||
#rl-left {
|
||||
width: 0 !important;
|
||||
}
|
||||
#rl-right {
|
||||
left: 5px !important;
|
||||
width: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<br />
|
||||
<input type="text" class="span4" autofocus="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||
data-bind="textInput: name" />
|
||||
<div class="error-desc" data-bind="visible: '' !== savingError(), text: savingError"></div>
|
||||
<div class="alert-error" data-bind="visible: '' !== savingError(), text: savingError"></div>
|
||||
</div>
|
||||
<div class="span5 domain-desc" data-bind="visible: '' !== domainDesc(), html: domainDesc"></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -13,9 +13,7 @@
|
|||
size: 4
|
||||
}
|
||||
}"></div>
|
||||
<div data-bind="visible: '' !== savingError()">
|
||||
<span class="error-desc" data-bind="text: savingError"></span>
|
||||
</div>
|
||||
<div class="alert-error" data-bind="visible: '' !== savingError(), text: savingError"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
|
|
|
|||
|
|
@ -141,7 +141,6 @@ dialog header, dialog footer,
|
|||
|
||||
.tabs [id^="tab"]:checked + label {
|
||||
background: linear-gradient(#555 0%, #000 100%);
|
||||
color: #000;
|
||||
}
|
||||
|
||||
input, textarea, .select, select, .emailaddresses {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue