[mobile] Fix common styles

This commit is contained in:
JuliaSvinareva 2020-11-20 17:39:53 +03:00
parent 055a254c42
commit fab3f9f1b4
5 changed files with 49 additions and 6 deletions

View file

@ -1,8 +1,48 @@
@white: #ffffff;
@black: #000000;
.device-ios {
--f7-navbar-link-color: @themeColor;
--f7-navbar-text-color: @black;
--f7-navbar-title-line-height: 44px;
--f7-navbar-link-line-height: 44px;
--f7-navbar-title-font-size: 17px;
--f7-list-bg-color: @white;
--f7-navbar-bg-color: #f7f7f8;
// Main Toolbar
#editor-navbar.navbar .right a + a,
#editor-navbar.navbar .left a + a {
margin-left: 0;
}
.navbar {
background-color: var(--f7-navbar-bg-color);
.title {
font-weight: 600;
}
}
.popover__titled {
.list {
ul {
background-color: var(--f7-list-bg-color);
li:first-child, li:last-child {
border-radius: 0;
a {
border-radius: 0;
}
}
}
&:first-child, &:last-child {
ul {
border-radius: 0;
}
}
}
.popover-inner {
//border-radius: var(--f7-popover-border-radius);

View file

@ -1,3 +1,8 @@
.popup, .popover, .sheet-modal {
.list:first-child {
margin-top: 0;
}
}
.row {
padding: 0 10px;

View file

@ -1,8 +1,5 @@
.device-ios {
// Main Toolbar
#editor-navbar.navbar .right a + a,
#editor-navbar.navbar .left a + a {
margin-left: 0;
}
}

View file

@ -1,6 +1,5 @@
// Colors
@themeColor: #446995; // (64,102,215)
@themeColorLight: #a2bdde;
@navBarIconColor: #fff;

View file

@ -1,3 +1,5 @@
@themeColor: #446995;
@import '../../../../common/mobile/resources/less/_mixins.less';
@import '../../../../common/mobile/resources/less/collaboration.less';
@import '../../../../common/mobile/resources/less/common.less';