* { box-sizing: border-box; } @linkcolor: #1b98f8; a { text-decoration: none; color: @linkcolor; &:hover { text-decoration: underline; } } #layout, #nav, #list, #main { margin: 0; padding: 0; } /* make the navigation 100% width on phones */ #nav { width: 100%; height: 40px; position: relative; background: rgb(37, 42, 58); text-align: center; .user-status { padding: 25px 0px; color: #fff; span { font-family: monospace; } } /* show the "Menu" button on phones */ .nav-menu-button { display: block; top: 0.5em; right: 0.5em; position: absolute; } &.active { height: 80%; } } /* when "Menu" is clicked, the navbar should be 80% height */ /* don't show the navigation items until the "Menu" button is clicked */ .nav-inner { display: none; } // Maybe put a little X in unclickable space to close the menu #nav>button:active { border: 1px solid #f0f; } #nav>button + .nav-inner:active, #nav>button:focus + .nav-inner { display: block; background-color: #252a3a; } #nav { .pure-menu { background: transparent; border: none; text-align: left; } .pure-menu-link:hover, .pure-menu-link:focus { background: rgb(55, 60, 90); } .pure-menu-link { color: #fff; // margin-left: 0.5em; } .pure-menu-heading { border-bottom: none; font-size:110%; color: rgb(75, 113, 151); } } .tag-icon { width: 15px; height: 15px; display: inline-block; margin-right: 0.5em; border-radius: 3px; border: 0.5px solid #fff; } .tag-icon-0 { background: #fa6e6e; } .tag-icon-1 { background: #d25476; } .tag-icon-2 { background: #a24375; } .tag-icon-3 { background: #70366b; } .tag-icon-4 { background: #3f2a58; } .tag-icon-5 { background: #b66efa; } .tag-icon-6 { background: #3b7cea; } .tag-icon-7 { background: #0077bd; } .tag-icon-8 { background: #006986; } .tag-icon-9 { background: #2a5558; } .tag-icon-10 { background: #6ef5fa; } .tag-icon-11 { background: #58cdbe; } .tag-icon-12 { background: #4ca587; } .tag-icon-13 { background: #427e55; } .tag-icon-14 { background: #36582a; } .tag-icon-15 { background: #8ffa6e; } .tag-icon-16 { background: #b2bb35; } .tag-icon-17 { background: #ad802a; } .tag-icon-18 { background: #8b4e2f; } .tag-icon-19 { background: #582a2a; } .email-content { padding: 0em 4em; } .email-content-header, .email-content-body, .email-content-footer { padding: 1em 0em; } .email-content-header { border-bottom: 1px solid #ddd; } .email-content-title { margin: 0.5em 0 0; } .email-content-subtitle { font-size: 1em; margin: 0; font-weight: normal; } .email-content-controls { margin-top: 2em; text-align: right; .secondary-button { margin-bottom: 0.3em; } form { display: inline-block; } } .email-avatar { width: 40px; height: 40px; } @media (min-width: 40em) { #layout { padding-left: 300px; /* "left col (nav + list)" width */ position: relative; } /* These are position:fixed; elements that will be in the left 500px of the screen */ #nav, #list { position: fixed; top: 0; bottom: 0; overflow: auto; } #nav { margin-left:-300px; /* "left col (nav + list)" width */ width:300px; height: 100%; } .nav-inner { display: block; padding: 1.5em 0; } #nav .nav-menu-button { display: none; } #main { position: fixed; top: 33%; right: 0; bottom: 0; left: 150px; overflow: auto; } } @media (min-width: 60em) { /* This will now take up it's own column, so don't need position: fixed; */ #main { position: static; margin: 0; padding: 0; } } .photo-feed { .photo { float: left; width: 250px; height: 250px; // matches the "feed" thumb size in library.py overflow: hidden; margin: 0px 20px 20px 0px; img { display: block; } &:hover, &.current-photo { border: 3px solid #252a3a; width: 256px; height: 256px; margin: -3px 17px 17px -3px; } } .feed-divider { clear: both; padding: 10px 0px; } } .photo-view { .photo-preview img { display: block; width: 100%; max-height: 100%; box-sizing: border-box; } .photo-info { padding: 0px 0px 0px 25px; } .photo-formats { ul { padding: 0; } li { margin-bottom: 15px; } img { // float: left; max-width: 100px; } } .photo-tags { h2 a { font-weight: normal; font-size: 14px; } } } .photo-tagging { img { float: left; padding: 0px 20px 20px 0px; } } .tags-picker { padding: 0; li { display: inline-block; padding-right: 25px; } input.submit-link { padding: 0; border: 0; background: none; color: @linkcolor; &:hover { text-decoration: underline; } } } ul.pager { padding: 0; li { display: inline-block; &.current { font-weight: bold; } } } ul.form-pager { li.current { input[type="submit"], input[type=button] { font-weight: bold; } } input[type="submit"], input[type=button] { background: none; border: none; padding: 0; color: @linkcolor; &:hover { text-decoration: underline; cursor: pointer; } } } .date-feed { a { padding-right: 15px; } .many { font-weight: bold; } } .search-result { float: left; position: relative; margin: 2px; width: 100px; height: 100px; .inner { display: none; position: absolute; top: 75px; left: -3px; width: 150px; background-color: #fff; z-index: 1; border: 1px solid #000; padding: 2px; span { display: block; font-size: 12px; } } &:hover, &.current-photo { border: 3px solid #252a3a; width: 106px; height: 106px; margin: -1px; .inner { display: block; } } } span.uuid { font-family: monospace; } /* map stuff */ .leaflet-popup-content { img { width: 250px; height: 250px; display: block; margin:0px auto; } span { text-align: center; display: block; margin-bottom: -10px; display: block; } } span.coords { font-family: monospace; } .single-photo-map span.coords { text-align: center; display: block; }