1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-14 02:34:22 +02:00

add app.css and fix align of menu button

This commit is contained in:
hoellen 2019-07-08 16:53:25 +02:00
parent 81a8acf9ec
commit 90f678de52
3 changed files with 28 additions and 3 deletions

22
core/admin/assets/app.css Normal file
View File

@ -0,0 +1,22 @@
.select2-search--inline .select2-search__field:focus {
border: none;
}
.sidebar h4 {
padding-left: 5px;
padding-right: 5px;
overflow: hidden;
text-overflow: ellipsis;
}
.sidebar-collapse .sidebar h4 {
display: none !important;
}
.logo a {
color: #fff;
}
.sidebar-toggle {
padding: unset !important;
}

View File

@ -1,8 +1,10 @@
import 'select2';
require('./app.css');
import 'select2';
jQuery("document").ready(function() {
jQuery(".mailselect").select2({
tags: true,
tokenSeparators: [',', ' ']
})
});

View File

@ -4,8 +4,7 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{{ url_for('.static', filename='vendor.css') }}">
<script src="{{ url_for('.static', filename='vendor.js') }}"></script>
<script src="{{ url_for('.static', filename='app.js') }}"></script>
<link rel="stylesheet" href="{{ url_for('.static', filename='app.css') }}">
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
@ -46,5 +45,7 @@
<span class="pull-right"><i class="fa fa-code-fork"></i> on <a class="white-text" href="https://github.com/Mailu/Mailu">Github</a></a></span>
</footer>
</div>
<script src="{{ url_for('.static', filename='vendor.js') }}"></script>
<script src="{{ url_for('.static', filename='app.js') }}"></script>
</body>
</html>