123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- <!--
- @license
- Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
- Code distributed by Google as part of the polymer project is also
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
- -->
- <link rel="import" href="../bower_components/polymer/polymer.html">
- <style is="custom-style">
- /*
- Polymer includes a shim for CSS Custom Properties that we can use for application theming.
- Below, you'll find the default palette for the Share With Me layout. Feel free to play
- with changing the colors used or generate your own palette of colours at MaterialPalette.com.
- See https://www.polymer-project.org/1.0/docs/devguide/styling.html#xscope-styling-details
- for further information on custom CSS properties.
- */
- /* Application theme */
- :root {
- --dark-primary-color: #303F9F;
- --default-primary-color: #3F51B5;
- --light-primary-color: #C5CAE9;
- --text-primary-color: #ffffff; /*text/icons*/
- --accent-color: #FF4081;
- --primary-background-color: #c5cae9;
- --primary-text-color: #212121;
- --secondary-text-color: #727272;
- --disabled-text-color: #bdbdbd;
- --divider-color: #B6B6B6;
- /* Components */
- /* paper-drawer-panel */
- --drawer-menu-color: #ffffff;
- --drawer-border-color: 1px solid #ccc;
- --drawer-toolbar-border-color: 1px solid rgba(0, 0, 0, 0.22);
- /* paper-menu */
- --paper-menu-background-color: #fff;
- --menu-link-color: #111111;
- }
- /* General styles */
- #drawerToolbar {
- color: var(--secondary-text-color);
- background-color: var(--drawer-menu-color);
- border-bottom: var(--drawer-toolbar-border-color);
- }
- paper-scroll-header-panel {
- height: 100%;
- }
- paper-material {
- border-radius: 2px;
- height: 100%;
- padding: 16px 0 16px 0;
- width: calc(98.66% - 16px);
- margin: 16px auto;
- background: white;
- }
- paper-menu iron-icon {
- margin-right: 33px;
- opacity: 0.54;
- }
- .paper-menu > .iron-selected {
- color: var(--default-primary-color);
- }
- paper-menu a {
- @apply(--layout-horizontal);
- @apply(--layout-center);
- text-decoration: none;
- color: var(--menu-link-color);
- font-family: 'Roboto', 'Noto', sans-serif;
- -webkit-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- font-size: 14px;
- font-weight: 400;
- line-height: 24px;
- min-height: 48px;
- padding: 0 16px;
- }
- paper-toolbar.tall .app-name {
- font-size: 40px;
- font-weight: 300;
- /* Required for main area's paper-scroll-header-panel custom condensing transformation */
- -webkit-transform-origin: left center;
- transform-origin: left center;
- }
- #mainToolbar .middle-container {
- height: 100%;
- margin-left: 48px;
- }
- #mainToolbar:not(.tall) .middle {
- font-size: 18px;
- padding-bottom: 0;
- }
- #mainToolbar .bottom {
- margin-left: 48px;
- /* Required for main area's paper-scroll-header-panel custom condensing transformation */
- -webkit-transform-origin: left center;
- transform-origin: left center;
- }
- /* Height of the scroll area */
- .content {
- height: 900px;
- }
- #toast .toast-hide-button {
- color: #eeff41;
- margin: 10px;
- }
- /* Breakpoints */
- /* Small */
- @media (max-width: 600px) {
- paper-material {
- --menu-container-display: none;
- width: calc(97.33% - 32px);
- padding-left: 16px;
- padding-right: 16px;
- }
- paper-toolbar.tall .app-name {
- font-size: 24px;
- font-weight: 400;
- }
- #drawer .paper-toolbar {
- margin-left: 16px;
- }
- }
- /* Tablet+ */
- @media (min-width: 601px) {
- paper-material {
- width: calc(98% - 46px);
- margin-bottom: 32px;
- padding-left: 30px;
- padding-right: 30px;
- }
- #drawer.paper-drawer-panel > [drawer] {
- border-right: 1px solid rgba(0, 0, 0, 0.14);
- }
- iron-pages {
- padding: 48px 62px;
- }
- }
- /* Material Design Adaptive Breakpoints */
- /*
- Below you'll find CSS media queries based on the breakpoint guidance
- published by the Material Design team. You can choose to use, customise
- or remove these breakpoints based on your needs.
- http://www.google.com/design/spec/layout/adaptive-ui.html#adaptive-ui-breakpoints
- */
- /* mobile-small */
- @media all and (min-width: 0) and (max-width: 360px) and (orientation: portrait) { }
- /* mobile-large */
- @media all and (min-width: 361px) and (orientation: portrait) { }
- /* mobile-small-landscape */
- @media all and (min-width: 0) and (max-width: 480px) and (orientation: landscape) { }
- /* mobile-large-landscape */
- @media all and (min-width: 481px) and (orientation: landscape) { }
- /* tablet-small-landscape */
- @media all and (min-width: 600px) and (max-width: 960px) and (orientation: landscape) { }
- /* tablet-large-landscape */
- @media all and (min-width: 961px) and (orientation: landscape) { }
- /* tablet-small */
- @media all and (min-width: 600px) and (orientation: portrait) { }
- /* tablet-large */
- @media all and (min-width: 601px) and (max-width: 840px) and (orientation : portrait) { }
- /* desktop-x-small-landscape */
- @media all and (min-width: 0) and (max-width: 480px) and (orientation: landscape) { }
- /* desktop-x-small */
- @media all and (min-width: 0) and (max-width: 480px) and (max-aspect-ratio: 4/3) { }
- /* desktop-small-landscape */
- @media all and (min-width: 481px) and (max-width: 840px) and (orientation: landscape) { }
- /* desktop-small */
- @media all and (min-width: 481px) and (max-width: 840px) and (max-aspect-ratio: 4/3) { }
- /* desktop-medium-landscape */
- @media all and (min-width: 841px) and (max-width: 1280px) and (orientation: landscape) { }
- /* desktop-medium */
- @media all and (min-width: 841px) and (max-width: 1280px) and (max-aspect-ratio: 4/3) { }
- /* desktop-large */
- @media all and (min-width: 1281px) and (max-width: 1600px) { }
- /* desktop-xlarge */
- @media all and (min-width: 1601px) and (max-width: 1920px) { }
- </style>
|