UNPKG

path-framework-weberm16

Version:
392 lines (361 loc) 8.12 kB
/* custom css styles */ .row { padding-top: 20px; } .breadcrumb { background-color: #fff; } /* probably to be removed with bootstrap v4 */ .m-t-5 { margin-top: 5px !important; } /* modal and form*/ .path-autocomplete { position:absolute; z-index: 99; width: 100%; top: 33px; /* TODO */ } .input-group { width: 100%; } input[readonly-with-required] { pointer-events: none; } textarea[readonly-with-required] { pointer-events: none; } .required { font-weight: bold; } .required-field { border-color: #ff6666; } .modal-dialog { width: 70%; } .modal-body { max-height: calc(100vh - 212px); overflow-y: auto; } .list-group-item { padding: 3px 10px } .truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .loadingNoClicks { pointer-events: none; z-index: 16777270; background: #fff; opacity: 0.6; transition: 1s; cursor: wait; position:absolute; top:0; left:0; width:100%; height:100%; } .loading { display : block; position: absolute; top:0; bottom: 0; left: 0; right: 0; margin: auto; z-index: 16777271; border-bottom: 6px solid rgba(0, 0, 0, .1); border-left: 6px solid rgba(0, 0, 0, .1); border-right: 6px solid rgba(0, 0, 0, .1); border-top: 6px solid rgba(0, 0, 0, .4); border-radius: 100%; height: 50px; width: 50px; animation: rotate .6s infinite linear; opacity: 1; transition: opacity .25s ease-in-out; } @keyframes rotate { from {transform: rotate(0deg);} to {transform: rotate(359deg);} } .version { position: fixed; bottom: 2px; right: 2px; z-index: 999; border-radius: 0; /* Von weberm16 hinzugefügt */ } .path-app-logo { height: 20px; vertical-align: middle; } .cursor-draggable { cursor: move; cursor: grab; cursor: -moz-grab; cursor: -webkit-grab; } .cursor-draggable:active { cursor: grabbing; cursor: -moz-grabbing; cursor: -webkit-grabbing; } .inlineForm { margin-bottom: 20px; } /* Ab hier CSS-Erweiterung von weberm16 */ /* Schriftfarbe der Navigation */ .navbar-inverse, .navbar-link,.navbar-brand:hover, .navbar-link:hover, .navbar-brand:visited { color: #ffffff !important; } /* Navigationsbalken*/ .navbar { border-radius: 0; } .navbar-nav { margin: 0 0; } /* keine runden Ecken bei den Formularen und Buttons*/ .modal-content, .form-control, .btn { border-radius: 0; } /* Breite der Tiles für Smartphones*/ .tile.tile-medium { height: 150px; width: 50%; } .tile.tile-wide, .tile.tile-double { height: 150px; width: 100%; } /*Search-Field für mobile Version*/ .search-mobile { font-size: 150%; font-weight: bold; margin: 4px; margin-bottom: 5%; text-align: center; } /*Untere Margin unter Tails*/ .thumbnail { margin-bottom: 0; } /*Styles nur für Smartphones und Tablets*/ @media only screen and (max-width: 1100px) { /* Breadcrumb zentrieren auf dem Smartphone */ .breadcrumb { text-align: center; font-weight: bold; } /*Breadcrum-Pfad wird auf Smartphone nicht angezeigt*/ .invisibleSP, li::before { display: none; } /*Elemente, die auf der mobilen Version nicht angezeigt werden sollen*/ .hide-on-mobile { display: none !important; } .search-mobile { clear: both; padding-left: 15px; padding-right: 15px; } /*Formular über ganze Seite */ .modal-dialog { position: absolute; width: 100%; height: 100%; margin: 0; } .modal-content { height: 100%; box-shadow: none; border: none; } /* Labels vergrössern */ .modal-title { font-size: 150%; } /*Formular-Buttons vergrössern und untereinander*/ .btn-footer { font-size: 25px; } /*Inline-Formular über ganze Breite und somit unterhalb von Buttons, Max Höhe so berechnen, dass auf Smartphone bis zu underst gescrollt werden kann*/ .modal-body { width: 100%; max-height: calc(100vh - 60px); } /*kein doppeltes Padding bei Inline-Forms*/ .col-md-12.inlineForm{ padding: 0; } /*Buttons auf dem Smartphone sollen rechts bleiben (wie auf Desktop)*/ .buttons-smartphone-right { float: right; padding-left: 0; padding-right: 0; } .buttons-smartphone-left { padding-left: 0; } } /*Styles nur für Desktop*/ @media only screen and (min-width: 1100px) { /* Breite der Tiles für Desktop*/ .tile.tile-medium { width: 12.5%; } .tile.tile-wide, .tile.tile-double { width: 25%; } /*Elemente die auf dem Desktop und dem Tablet nicht angezeigt werden sollen*/ .hide-on-desktop { display: none; } } /* Folgender CSS-Teil ersetzt das CSS-Framework "metro-bootstrap" für die Elemente, die nicht von Bootstrap gelöst werden (Tiles) */ /* Quelle: https://github.com/TalksLab/metro-bootstrap/blob/master/dist/css/metro-bootstrap.css */ /* Allgemeine Styling-Optionen */ body{ font-family: "Segoe UI Light", "Segoe UI", "Segoe WP", "Helvetica Neue", sans-serif; } /* Allgemeine Eigenschaften von tiles*/ .tile { display: block; cursor: pointer; -webkit-perspective: 0; -webkit-transform-style: preserve-3d; -webkit-transition: -webkit-transform 0.2s; float: left; text-align: center; opacity: 0.75; background-color: #2e8bcc; z-index: 1; border: 4px #ffffff solid; color: #ffffff; } /* Farbe der Tiles */ .tile.tile-blue { background-color: #2e8bcc; } .tile.tile-green { background-color: #339933; } .tile.tile-red { background-color: #e51400; } .tile.tile-yellow { background-color: #ffc40d; } .tile.tile-orange { background-color: #f39c12; } .tile.tile-pink { background-color: #e671b8; } .tile.tile-purple { background-color: #7b4f9d; } .tile.tile-lime { background-color: #8cbf26; } .tile.tile-magenta { background-color: #ff0097; } .tile.tile-teal { background-color: #00aba9; } .tile.tile-turquoise { background-color: #1abc9c; } .tile.tile-green-sea { background-color: #16a085; } .tile.tile-emerald { background-color: #2ecc71; } .tile.tile-nephritis { background-color: #27ae60; } .tile.tile-peter-river { background-color: #3498db; } .tile.tile-belize-hole { background-color: #2980b9; } .tile.tile-amethyst { background-color: #9b59b6; } .tile.tile-wisteria { background-color: #8e44ad; } .tile.tile-wet-asphalt { background-color: #34495e; } .tile.tile-midnight-blue { background-color: #2c3e50; } .tile.tile-sun-flower { background-color: #f1c40f; } .tile.tile-carrot { background-color: #e67e22; } .tile.tile-pumpkin { background-color: #d35400; } .tile.tile-alizarin { background-color: #e74c3c; } .tile.tile-pomegranate { background-color: #c0392b; } .tile.tile-clouds { background-color: #ecf0f1; color: #34495e; } .tile.tile-clouds h1, .tile.tile-clouds h2, .tile.tile-clouds h3, .tile.tile-clouds h4, .tile.tile-clouds h5, .tile.tile-clouds h6 { color: #34495e; } .tile.tile-clouds .tile-label { color: #34495e; } .tile.tile-silver { background-color: #bdc3c7; } .tile.tile-concrete { background-color: #95a5a6; } .tile.tile-asbestos { background-color: #7f8c8d; } .tile.tile-info { background-color: #3498db; } .tile.tile-danger { background-color: #e74c3c; } .tile.tile-warning { background-color: #f1c40f; } .tile.tile-success { background-color: #2ecc71; } /* Hover-Animation*/ .tile:hover { opacity: 1; }