add app.css and fix align of menu button

master
hoellen 5 years ago
parent 81a8acf9ec
commit 90f678de52

@ -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;
}

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

@ -4,8 +4,7 @@
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{{ url_for('.static', filename='vendor.css') }}"> <link rel="stylesheet" href="{{ url_for('.static', filename='vendor.css') }}">
<script src="{{ url_for('.static', filename='vendor.js') }}"></script> <link rel="stylesheet" href="{{ url_for('.static', filename='app.css') }}">
<script src="{{ url_for('.static', filename='app.js') }}"></script>
</head> </head>
<body class="hold-transition skin-blue sidebar-mini"> <body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper"> <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> <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> </footer>
</div> </div>
<script src="{{ url_for('.static', filename='vendor.js') }}"></script>
<script src="{{ url_for('.static', filename='app.js') }}"></script>
</body> </body>
</html> </html>

Loading…
Cancel
Save