mirror of
http://git.frickel.earth/Tysox/BOS-Pinneberg.git
synced 2025-05-21 02:54:31 +02:00
[+] Over make
This commit is contained in:
parent
c287f41444
commit
951e0e1148
3
admin/global/getmdl-select.min.css
vendored
Normal file
3
admin/global/getmdl-select.min.css
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.getmdl-select{outline:none}.getmdl-select .mdl-textfield__input{cursor:pointer}.getmdl-select .selected{background-color:#ddd}.getmdl-select .mdl-icon-toggle__label{float:right;margin-top:-30px;color:rgba(0,0,0,0.4);transform:rotate(0);transition:transform 0.3s}.getmdl-select.is-focused .mdl-icon-toggle__label{color:#3f51b5;transform:rotate(180deg)}.getmdl-select .mdl-menu__container{width:100% !important;margin-top:2px}.getmdl-select .mdl-menu__container .mdl-menu{width:100%}.getmdl-select .mdl-menu__container .mdl-menu .mdl-menu__item{font-size:16px}.getmdl-select__fix-height .mdl-menu__container .mdl-menu{overflow-y:auto;max-height:288px !important}.getmdl-select__fix-height .mdl-menu.mdl-menu--top-left{bottom:auto;top:0}
|
||||
|
||||
/*# sourceMappingURL=getmdl-select.min.css.map */
|
2
admin/global/js/getmdl-select.min.js
vendored
Normal file
2
admin/global/js/getmdl-select.min.js
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
"use strict";!function(){function e(){getmdlSelect.init(".getmdl-select")}window.addEventListener?window.addEventListener("load",e,!1):window.attachEvent&&window.attachEvent("onload",e)}();var getmdlSelect={_defaultValue:{width:300},_addEventListeners:function(e){var t=e.querySelector("input"),n=e.querySelector('input[type="hidden"]'),l=e.querySelectorAll("li"),a=e.querySelector(".mdl-js-menu"),o=e.querySelector(".mdl-icon-toggle__label"),i="",c="",s="",u=!1,d=function(o){var i=o.textContent.trim();if(t.value=i,l.forEach(function(e){e.classList.remove("selected")}),o.classList.add("selected"),e.MaterialTextfield.change(i),setTimeout(function(){e.MaterialTextfield.updateClasses_()},250),n.value=o.dataset.val||"",c=t.value,s=n.value,"createEvent"in document){var u=document.createEvent("HTMLEvents");u.initEvent("change",!1,!0),a.MaterialMenu.hide(),t.dispatchEvent(u)}else t.fireEvent("onchange")},r=function(){u=!1,t.value=c,n.value=s,e.querySelector(".mdl-menu__container").classList.contains("is-visible")||e.classList.remove("is-focused");var l=document.querySelectorAll(".getmdl-select .mdl-js-menu");[].forEach.call(l,function(e){e.MaterialMenu.hide()});var o=new Event("closeSelect");a.dispatchEvent(o)};document.body.addEventListener("click",r,!1),e.onkeydown=function(l){9==l.keyCode&&(t.value=c,n.value=s,a.MaterialMenu.hide(),e.classList.remove("is-focused"))},t.onfocus=function(e){a.MaterialMenu.show(),a.focus(),u=!0},t.onblur=function(e){e.stopPropagation()},t.onclick=function(t){t.stopPropagation(),a.classList.contains("is-visible")?(a.MaterialMenu.hide(),u=!1):(a.MaterialMenu.show(),r(),e.classList.add("is-focused"),u=!0)},t.onkeydown=function(l){27==l.keyCode&&(t.value=c,n.value=s,a.MaterialMenu.hide(),e.MaterialTextfield.onBlur_(),""!==i&&(e.querySelector(".mdl-textfield__label").textContent=i,i=""))},a.addEventListener("closeSelect",function(l){t.value=c,n.value=s,e.classList.remove("is-focused"),""!==i&&(e.querySelector(".mdl-textfield__label").textContent=i,i="")}),a.onkeydown=function(l){27==l.keyCode&&(t.value=c,n.value=s,e.classList.remove("is-focused"),""!==i&&(e.querySelector(".mdl-textfield__label").textContent=i,i=""))},o&&(o.onclick=function(l){l.stopPropagation(),u?(a.MaterialMenu.hide(),u=!1,e.classList.remove("is-focused"),e.MaterialTextfield.onBlur_(),t.value=c,n.value=s):(r(),e.MaterialTextfield.onFocus_(),t.focus(),a.MaterialMenu.show(),u=!0)}),[].forEach.call(l,function(n){n.onfocus=function(){e.classList.add("is-focused");var l=n.textContent.trim();t.value=l,e.classList.contains("mdl-textfield--floating-label")||""!=i||(i=e.querySelector(".mdl-textfield__label").textContent.trim(),e.querySelector(".mdl-textfield__label").textContent="")},n.onclick=function(){d(n)},n.dataset.selected&&d(n)})},init:function(e){var t=document.querySelectorAll(e);[].forEach.call(t,function(e){getmdlSelect._addEventListeners(e),componentHandler.upgradeElement(e),componentHandler.upgradeElement(e.querySelector("ul"))})}};
|
||||
//# sourceMappingURL=getmdl-select.min.js.map
|
177
admin/p/ff.php
177
admin/p/ff.php
@ -1,10 +1,12 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by IntelliJ IDEA.
|
||||
* User: Christoph
|
||||
* Date: 12.02.2018
|
||||
* Time: 23:32
|
||||
*/
|
||||
class Header_inc
|
||||
{
|
||||
public $header = Feuerwher;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
session_start();
|
||||
|
||||
if (empty($_SESSION['status'])) {
|
||||
@ -15,11 +17,11 @@ if (empty($_SESSION['status'])) {
|
||||
}
|
||||
}
|
||||
|
||||
if( $_SESSION['status'] == "login") {
|
||||
if ($_SESSION['status'] == "login") {
|
||||
echo "<html>
|
||||
<head>
|
||||
<script>
|
||||
setTimeout(\"window.location.href='login.php'\", 0);
|
||||
setTimeout(\"window.location.href='../login.php'\", 0);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -27,12 +29,10 @@ if( $_SESSION['status'] == "login") {
|
||||
</html>";
|
||||
return;
|
||||
}
|
||||
|
||||
include '../config/config.inc.php';
|
||||
$data = new Config();
|
||||
|
||||
|
||||
|
||||
// Create connection
|
||||
$conn = new mysqli($data->getSQLHost(), $data->getSQLUser(), $data->getSQLPassword(), $data->getSQLDatabase());
|
||||
mysqli_set_charset($conn, "utf8");
|
||||
@ -43,45 +43,184 @@ if ($conn->connect_error) {
|
||||
}
|
||||
$result = $conn->query("SELECT * FROM `feuerwehr_pi`");
|
||||
|
||||
include("include/header.php");?>
|
||||
include("include/header.php"); ?>
|
||||
|
||||
<main class="mdl-layout__content mdl-color--grey-100">
|
||||
<div class="mdl-grid demo-content">
|
||||
<div class="demo-charts mdl-color--white mdl-shadow--2dp mdl-cell mdl-cell--12-col mdl-grid">
|
||||
<form>
|
||||
<div class="mdl-textfield mdl-js-textfield getmdl-select">
|
||||
<div class="mdl-textfield mdl-js-textfield getmdl-select getmdl-select__fix-height">
|
||||
<input class="mdl-textfield__input" value="" id="ort" readonly/>
|
||||
<input value="" type="hidden" name="ort"/>
|
||||
<i class="mdl-icon-toggle__label material-icons">keyboard_arrow_down</i>
|
||||
<label class="mdl-textfield__label" for="ort">Wache</label>
|
||||
<ul class="mdl-menu mdl-menu--bottom-left mdl-js-menu" for="country">
|
||||
<li class="mdl-menu__item" data-val="BLR">Belarus</li>
|
||||
<ul for="ort" class="mdl-menu mdl-menu--bottom-left mdl-js-menu">
|
||||
<?php
|
||||
if ($result->num_rows > 0) {
|
||||
// output data of each row
|
||||
while ($row = $result->fetch_assoc()) {
|
||||
echo("<li class='mdl-menu__item' data-val=\'". $row['id'] ."'>". $row['Ort'] ."</li>");
|
||||
?>
|
||||
<li class="mdl-menu__item"
|
||||
data-val="<?php echo($row['id']); ?>"> <?php echo($row['Ort']) ?></li> <?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<br>
|
||||
|
||||
<div class="mdl-textfield mdl-js-textfield">
|
||||
<input class="mdl-textfield__input" type="text" id="name">
|
||||
<label class="mdl-textfield__label" for="name">Funkrufnummer</label>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="mdl-textfield mdl-js-textfield">
|
||||
<input class="mdl-textfield__input" type="text" id="number">
|
||||
<label class="mdl-textfield__label" for="number">Funkname</label>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="mdl-textfield mdl-js-textfield">
|
||||
<input class="mdl-textfield__input" type="text" id="type">
|
||||
<label class="mdl-textfield__label" for="type">Fahrzeug</label>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--colored">
|
||||
<input type="submit" value="OK">
|
||||
OK
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="demo-graphs mdl-shadow--2dp mdl-color--white mdl-cell mdl-cell--8-col">
|
||||
<svg fill="currentColor" viewBox="0 0 500 250" class="demo-graph">
|
||||
<use xlink:href="#chart"/>
|
||||
</svg>
|
||||
<svg fill="currentColor" viewBox="0 0 500 250" class="demo-graph">
|
||||
<use xlink:href="#chart"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="demo-cards mdl-cell mdl-cell--4-col mdl-cell--8-col-tablet mdl-grid mdl-grid--no-spacing">
|
||||
<div class="demo-updates mdl-card mdl-shadow--2dp mdl-cell mdl-cell--4-col mdl-cell--4-col-tablet mdl-cell--12-col-desktop">
|
||||
<div class="mdl-card__title mdl-card--expand mdl-color--teal-300">
|
||||
<h2 class="mdl-card__title-text">Updates</h2>
|
||||
</div>
|
||||
<div class="mdl-card__supporting-text mdl-color-text--grey-600">
|
||||
Non dolore elit adipisicing ea reprehenderit consectetur culpa.
|
||||
</div>
|
||||
<div class="mdl-card__actions mdl-card--border">
|
||||
<a href="#" class="mdl-button mdl-js-button mdl-js-ripple-effect">Read More</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="demo-separator mdl-cell--1-col"></div>
|
||||
<div class="demo-options mdl-card mdl-color--deep-purple-500 mdl-shadow--2dp mdl-cell mdl-cell--4-col mdl-cell--3-col-tablet mdl-cell--12-col-desktop">
|
||||
<div class="mdl-card__supporting-text mdl-color-text--blue-grey-50">
|
||||
<h3>View options</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<label for="chkbox1" class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect">
|
||||
<input type="checkbox" id="chkbox1" class="mdl-checkbox__input">
|
||||
<span class="mdl-checkbox__label">Click per object</span>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label for="chkbox2" class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect">
|
||||
<input type="checkbox" id="chkbox2" class="mdl-checkbox__input">
|
||||
<span class="mdl-checkbox__label">Views per object</span>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label for="chkbox3" class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect">
|
||||
<input type="checkbox" id="chkbox3" class="mdl-checkbox__input">
|
||||
<span class="mdl-checkbox__label">Objects selected</span>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label for="chkbox4" class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect">
|
||||
<input type="checkbox" id="chkbox4" class="mdl-checkbox__input">
|
||||
<span class="mdl-checkbox__label">Objects viewed</span>
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="mdl-card__actions mdl-card--border">
|
||||
<a href="#" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-color-text--blue-grey-50">Change
|
||||
location</a>
|
||||
<div class="mdl-layout-spacer"></div>
|
||||
<i class="material-icons">location_on</i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</main>
|
||||
</div>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"
|
||||
style="position: fixed; left: -1000px; height: -1000px;">
|
||||
<defs>
|
||||
<mask id="piemask" maskContentUnits="objectBoundingBox">
|
||||
<circle cx=0.5 cy=0.5 r=0.49 fill="white"/>
|
||||
<circle cx=0.5 cy=0.5 r=0. 40 fill="black"/>
|
||||
</mask>
|
||||
<g id="piechart">
|
||||
<circle cx=0.5 cy=0.5 r=0.5/>
|
||||
<path d="M 0.5 0.5 0.5 0 A 0.5 0.5 0 0 1 0.95 0.28 z" stroke="none" fill="rgba(255, 255, 255, 0.75)"/>
|
||||
</g>
|
||||
</defs>
|
||||
</svg>
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 250"
|
||||
style="position: fixed; left: -1000px; height: -1000px;">
|
||||
<defs>
|
||||
<g id="chart">
|
||||
<g id="Gridlines">
|
||||
<line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="27.3" x2="468.3" y2="27.3"/>
|
||||
<line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="66.7" x2="468.3" y2="66.7"/>
|
||||
<line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="105.3" x2="468.3" y2="105.3"/>
|
||||
<line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="144.7" x2="468.3" y2="144.7"/>
|
||||
<line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="184.3" x2="468.3" y2="184.3"/>
|
||||
</g>
|
||||
<g id="Numbers">
|
||||
<text transform="matrix(1 0 0 1 485 29.3333)" fill="#888888" font-family="'Roboto'" font-size="9">500
|
||||
</text>
|
||||
<text transform="matrix(1 0 0 1 485 69)" fill="#888888" font-family="'Roboto'" font-size="9">400</text>
|
||||
<text transform="matrix(1 0 0 1 485 109.3333)" fill="#888888" font-family="'Roboto'" font-size="9">300
|
||||
</text>
|
||||
<text transform="matrix(1 0 0 1 485 149)" fill="#888888" font-family="'Roboto'" font-size="9">200</text>
|
||||
<text transform="matrix(1 0 0 1 485 188.3333)" fill="#888888" font-family="'Roboto'" font-size="9">100
|
||||
</text>
|
||||
<text transform="matrix(1 0 0 1 0 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">1
|
||||
</text>
|
||||
<text transform="matrix(1 0 0 1 78 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">2
|
||||
</text>
|
||||
<text transform="matrix(1 0 0 1 154.6667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">
|
||||
3
|
||||
</text>
|
||||
<text transform="matrix(1 0 0 1 232.1667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">
|
||||
4
|
||||
</text>
|
||||
<text transform="matrix(1 0 0 1 309 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">5
|
||||
</text>
|
||||
<text transform="matrix(1 0 0 1 386.6667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">
|
||||
6
|
||||
</text>
|
||||
<text transform="matrix(1 0 0 1 464.3333 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">
|
||||
7
|
||||
</text>
|
||||
</g>
|
||||
<g id="Layer_5">
|
||||
<polygon opacity="0.36" stroke-miterlimit="10" points="0,223.3 48,138.5 154.7,169 211,88.5
|
||||
294.5,80.5 380,165.2 437,75.5 469.5,223.3 "/>
|
||||
</g>
|
||||
<g id="Layer_4">
|
||||
<polygon stroke-miterlimit="10" points="469.3,222.7 1,222.7 48.7,166.7 155.7,188.3 212,132.7
|
||||
296.7,128 380.7,184.3 436.7,125 "/>
|
||||
</g>
|
||||
</g>
|
||||
</defs>
|
||||
</svg>
|
||||
<script src="https://code.getmdl.io/1.3.0/material.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -39,14 +39,15 @@ limitations under the License
|
||||
<link rel="canonical" href="http://www.example.com/">
|
||||
-->
|
||||
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
||||
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.cyan-light_blue.min.css">
|
||||
<link rel="stylesheet" href="https://raw.githubusercontent.com/CreativeIT/getmdl-select/master/getmdl-select.min.css">
|
||||
<script defer src="https://raw.githubusercontent.com/CreativeIT/getmdl-select/master/getmdl-select.min.js"></script>
|
||||
<link rel="stylesheet" href="../global/getmdl-select.min.css">
|
||||
<script defer src="../global/js/getmdl-select.min.js"></script>
|
||||
|
||||
|
||||
<style>
|
||||
<style>
|
||||
#view-source {
|
||||
position: fixed;
|
||||
display: block;
|
||||
@ -62,7 +63,7 @@ position: fixed;
|
||||
<div class="demo-layout mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
|
||||
<header class="demo-header mdl-layout__header mdl-color--grey-100 mdl-color-text--grey-600">
|
||||
<div class="mdl-layout__header-row">
|
||||
<span class="mdl-layout-title">Home</span>
|
||||
<span class="mdl-layout-title"><?php $header = new Header_inc();?></span>
|
||||
<div class="mdl-layout-spacer"></div>
|
||||
<button onclick="window.location.href='../scripts/logout.php'" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon mdl-link--to" id="hdrbtn">
|
||||
<i class="material-icons">power_settings_new</i>
|
||||
@ -81,10 +82,10 @@ position: fixed;
|
||||
</div>
|
||||
</header>
|
||||
<nav class="demo-navigation mdl-navigation mdl-color--blue-grey-800">
|
||||
<a class="mdl-navigation__link" href="index.php"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">home</i>Home</a>
|
||||
<a class="mdl-navigation__link" href="./p/administration.php"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">inbox</i>Verwaltung</a>
|
||||
<a class="mdl-navigation__link" href="./p/ff.php"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">directions_bus</i>Feuerwehr</a>
|
||||
<a class="mdl-navigation__link" href="./p/police.php"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">local_taxi</i>Polizei</a>
|
||||
<a class="mdl-navigation__link" href="./p/ambulance.php"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">local_hospital</i>Rettungsdienst</a>
|
||||
<a class="mdl-navigation__link" href="./p/thw.php"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">local_shipping</i>THW</a>
|
||||
</div>
|
||||
<a class="mdl-navigation__link" href="../index.php"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">home</i>Home</a>
|
||||
<a class="mdl-navigation__link" href="administration.php"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">inbox</i>Verwaltung</a>
|
||||
<a class="mdl-navigation__link" href="ff.php"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">directions_bus</i>Feuerwehr</a>
|
||||
<a class="mdl-navigation__link" href="police.php"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">local_taxi</i>Polizei</a>
|
||||
<a class="mdl-navigation__link" href="ambulance.php"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">local_hospital</i>Rettungsdienst</a>
|
||||
<a class="mdl-navigation__link" href="p/thw.php"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">local_shipping</i>THW</a>
|
||||
</div>
|
215
admin/p/styles.css
Normal file
215
admin/p/styles.css
Normal file
@ -0,0 +1,215 @@
|
||||
/**
|
||||
* Copyright 2015 Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
html, body {
|
||||
font-family: 'Roboto', 'Helvetica', sans-serif;
|
||||
}
|
||||
.demo-avatar {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 24px;
|
||||
}
|
||||
.demo-layout .mdl-layout__header .mdl-layout__drawer-button {
|
||||
color: rgba(0, 0, 0, 0.54);
|
||||
}
|
||||
.mdl-layout__drawer .avatar {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.demo-drawer {
|
||||
border: none;
|
||||
}
|
||||
/* iOS Safari specific workaround */
|
||||
.demo-drawer .mdl-menu__container {
|
||||
z-index: -1;
|
||||
}
|
||||
.demo-drawer .demo-navigation {
|
||||
z-index: -2;
|
||||
}
|
||||
/* END iOS Safari specific workaround */
|
||||
.demo-drawer .mdl-menu .mdl-menu__item {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.demo-drawer-header {
|
||||
box-sizing: border-box;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-justify-content: flex-end;
|
||||
-ms-flex-pack: end;
|
||||
justify-content: flex-end;
|
||||
padding: 16px;
|
||||
height: 151px;
|
||||
}
|
||||
.demo-avatar-dropdown {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
position: relative;
|
||||
-webkit-flex-direction: row;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.demo-navigation {
|
||||
-webkit-flex-grow: 1;
|
||||
-ms-flex-positive: 1;
|
||||
flex-grow: 1;
|
||||
}
|
||||
.demo-layout .demo-navigation .mdl-navigation__link {
|
||||
display: -webkit-flex !important;
|
||||
display: -ms-flexbox !important;
|
||||
display: flex !important;
|
||||
-webkit-flex-direction: row;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
color: rgba(255, 255, 255, 0.56);
|
||||
font-weight: 500;
|
||||
}
|
||||
.demo-layout .demo-navigation .mdl-navigation__link:hover {
|
||||
background-color: #00BCD4;
|
||||
color: #37474F;
|
||||
}
|
||||
.demo-navigation .mdl-navigation__link .material-icons {
|
||||
font-size: 24px;
|
||||
color: rgba(255, 255, 255, 0.56);
|
||||
margin-right: 32px;
|
||||
}
|
||||
|
||||
.demo-content {
|
||||
max-width: 1080px;
|
||||
}
|
||||
|
||||
.demo-charts {
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.demo-chart:nth-child(1) {
|
||||
color: #ACEC00;
|
||||
}
|
||||
.demo-chart:nth-child(2) {
|
||||
color: #00BBD6;
|
||||
}
|
||||
.demo-chart:nth-child(3) {
|
||||
color: #BA65C9;
|
||||
}
|
||||
.demo-chart:nth-child(4) {
|
||||
color: #EF3C79;
|
||||
}
|
||||
.demo-graphs {
|
||||
padding: 16px 32px;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-align-items: stretch;
|
||||
-ms-flex-align: stretch;
|
||||
align-items: stretch;
|
||||
}
|
||||
/* TODO: Find a proper solution to have the graphs
|
||||
* not float around outside their container in IE10/11.
|
||||
* Using a browserhacks.com solution for now.
|
||||
*/
|
||||
_:-ms-input-placeholder, :root .demo-graphs {
|
||||
min-height: 664px;
|
||||
}
|
||||
_:-ms-input-placeholder, :root .demo-graph {
|
||||
max-height: 300px;
|
||||
}
|
||||
/* TODO end */
|
||||
.demo-graph:nth-child(1) {
|
||||
color: #00b9d8;
|
||||
}
|
||||
.demo-graph:nth-child(2) {
|
||||
color: #d9006e;
|
||||
}
|
||||
|
||||
.demo-cards {
|
||||
-webkit-align-items: flex-start;
|
||||
-ms-flex-align: start;
|
||||
align-items: flex-start;
|
||||
-webkit-align-content: flex-start;
|
||||
-ms-flex-line-pack: start;
|
||||
align-content: flex-start;
|
||||
}
|
||||
.demo-cards .demo-separator {
|
||||
height: 32px;
|
||||
}
|
||||
.demo-cards .mdl-card__title.mdl-card__title {
|
||||
color: white;
|
||||
font-size: 24px;
|
||||
font-weight: 400;
|
||||
}
|
||||
.demo-cards ul {
|
||||
padding: 0;
|
||||
}
|
||||
.demo-cards h3 {
|
||||
font-size: 1em;
|
||||
}
|
||||
.demo-updates .mdl-card__title {
|
||||
min-height: 200px;
|
||||
background-image: url('images/dog.png');
|
||||
background-position: 90% 100%;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.demo-cards .mdl-card__actions a {
|
||||
color: #00BCD4;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.demo-options h3 {
|
||||
margin: 0;
|
||||
}
|
||||
.demo-options .mdl-checkbox__box-outline {
|
||||
border-color: rgba(255, 255, 255, 0.89);
|
||||
}
|
||||
.demo-options ul {
|
||||
margin: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
.demo-options li {
|
||||
margin: 4px 0;
|
||||
}
|
||||
.demo-options .material-icons {
|
||||
color: rgba(255, 255, 255, 0.89);
|
||||
}
|
||||
.demo-options .mdl-card__actions {
|
||||
height: 64px;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user