diff --git a/css/base.php b/css/base.php index bf026ce..f84997a 100644 --- a/css/base.php +++ b/css/base.php @@ -84,13 +84,33 @@ a { height: 2.5em; } + #window-instance #tabs { position: relative; z-index: 10; } +#window-instance #tabs .fa { + color: #5e5e5e; +} +#window-instance #tabs .fa.fa-home { + font-size: 1.2em; +} #window-instance #tabs .item { float: left; } +#window-instance #tabs .item:hover { + background: #f0f0f0; +} +#window-instance #tabs .item:active, +#window-instance #tabs .item:focus { + color: #8203a6 !important; +} +#window-instance #tabs .item[data-id="home"] { + border-right: 2px solid #5e5e5e; +} +#window-instance #tabs .item[data-id="settings"] { + border-left: 2px solid #5e5e5e; +} #window-instance #tabs .tab-content { padding: 1em; } @@ -104,6 +124,14 @@ a { margin: 0 auto; padding-top: 1em; } +@media (max-width: 400px) { + #window-instance #tabs .item { + float: inherit; + } + #window-instance #tabs .tab-content { + padding: .6em; + } +} #window-instance_config { background: #d7d7d7; diff --git a/index.php b/index.php index 544c765..3ff6132 100644 --- a/index.php +++ b/index.php @@ -19,6 +19,7 @@ window.consts = { }, } }; +window.view = {};