Customization

This commit is contained in:
Gregorio Chiko Putra 2017-10-27 14:35:10 +07:00
parent 766fe4425d
commit f687983b45
6 changed files with 49 additions and 15 deletions

View File

@ -86,6 +86,20 @@ td, th {
font-size: x-large;
}
.title,
.navy,
.new,
section > h2,
label,
section h1 {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
nav .menu>.navy {
color: #000;
background-color: transparent;

View File

@ -11,15 +11,19 @@ var header = {
return m('span', [
m('nav', [
m('span.brand', m('a.title', {
href: '',
oncreate: m.route.link
style: 'cursor: pointer;',
onclick: function() {
m.route.set('')
}
}, 'Live Info')),
// m('input#bmenug.show', {type: 'checkbox'}),
// m('label.burger.pseudo.button', {for: 'bmenug'}, m('i.fa.fa-bars', {'aria-hidden': 'true'})),
m('.menu', m('a.navy.hidden-hover.button', {
href: '/login',
'data-tooltip': 'Masuk',
oncreate: m.route.link
style: 'cursor: pointer;',
onclick: function() {
m.route.set('/login')
}
}, [
m('i.fa.fa-sign-in', {
'aria-hidden': 'true'

View File

@ -19,7 +19,9 @@ var showPost = {
style: 'background:#FFF;text-align:left;width:100%;padding:10vh 0 0;'
}, [
m('#secondaryNav', m(secondaryNav)),
m('#mit', m(listAdmin))
m('#mit', {
style: 'padding: 0 .6em'
}, m(listAdmin))
])))
}
}

View File

@ -86,6 +86,20 @@ td, th {
font-size: x-large;
}
.title,
.navy,
.new,
section > h2,
label,
section h1 {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
nav .menu>.navy {
color: #000;
background-color: transparent;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long