mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-29 00:50:33 +00:00
Adapt to latest md changes
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
padding-bottom: $baseline-grid;
|
||||
padding: 0 $baseline-grid*2 $baseline-grid $baseline-grid*2;
|
||||
text-align: center;
|
||||
md-progress-linear > .md-container {
|
||||
md-progress-linear > ._md-container {
|
||||
height: 2px;
|
||||
}
|
||||
}
|
||||
@@ -67,7 +67,7 @@ md-sidenav {
|
||||
md-checkbox {
|
||||
&.sg-folder {
|
||||
// Show checkbox as a "closed" folder when unchecked and "opened" folder when checked
|
||||
.md-container:after {
|
||||
._md-container:after {
|
||||
color: rgba(0,0,0,0.54);
|
||||
font-family: 'Material Icons';
|
||||
font-size: 24px;
|
||||
@@ -77,14 +77,14 @@ md-sidenav {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
.md-icon {
|
||||
._md-icon {
|
||||
border-width: 0;
|
||||
}
|
||||
&.md-checked {
|
||||
.md-container:after {
|
||||
._md-container:after {
|
||||
content: "\e2c8";
|
||||
}
|
||||
.md-icon {
|
||||
._md-icon {
|
||||
background-color: initial;
|
||||
&:after {
|
||||
border-style: none;
|
||||
@@ -94,7 +94,6 @@ md-sidenav {
|
||||
}
|
||||
}
|
||||
.sg-item-name {
|
||||
line-height: 6 * $baseline-grid; // $list-item-height, 48px
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
@@ -56,11 +56,11 @@ $listView-width: grid-step(6) !global;
|
||||
// right side of the list item. Since we define the avatar as the secondary button, we must move it to the left
|
||||
// side of the list item and add some padding to the main button (.md-no-style).
|
||||
.md-with-secondary {
|
||||
.md-no-style {
|
||||
._md-no-style {
|
||||
min-height: $baseline-grid * 7; // 56px
|
||||
padding-left: 40 + $baseline-grid * 3;
|
||||
padding-left: 40 + $baseline-grid * 2 !important; // 56px
|
||||
}
|
||||
.md-secondary-container {
|
||||
._md-secondary-container {
|
||||
left: $baseline-grid * 2;
|
||||
right: initial;
|
||||
padding: 0;
|
||||
@@ -92,6 +92,9 @@ $listView-width: grid-step(6) !global;
|
||||
min-height: 0;
|
||||
}
|
||||
}
|
||||
md-card {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
// On small screens, the view slides from the right and takes all screen place.
|
||||
// Expected Display Steps:
|
||||
|
||||
Reference in New Issue
Block a user