X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=mediagoblin%2Fstatic%2Fcss%2Fbase.css;h=af99c5f7249e72ad92743f820bd0de2344ca2d32;hb=5252ef9f1741b3822be437888f063d6d5ea23ecb;hp=32c6c6cb87459a0ed8a2b38dc3aed82469a6398f;hpb=79a97f6bc370a2053d9335f0a635ff55a7a023a3;p=mediagoblin.git diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 32c6c6cb..af99c5f7 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -25,7 +25,7 @@ src: local('Lato Regular'), local('Lato-Regular'), url('../fonts/Lato-Regular.ttf') format('truetype'); } -body { +html, body { background-color: #161616; color: #C3C3C3; padding: 0; @@ -74,6 +74,10 @@ a { color: #86D4B1; } +a:hover { + text-decoration: underline +} + a.highlight { color: #fff; } @@ -110,6 +114,23 @@ input, textarea { /* website structure */ +#wrap { + min-height: 100%; + height: auto; + + /* This must be equal to the footer height + 5px */ + margin-bottom: -35px; +} + +#wrap:after { + content: ""; + display: block; +} + +footer, #wrap:after { + height: 30px; +} + header { width: 100%; padding: 0; @@ -125,24 +146,24 @@ header { .header_right { width: 47%; - margin: 8px 8px 4px 0; + margin: 8px 8px 8px 0; display: inline-block; float: right; text-align: right; line-height: 1.6em; } -.header_dropdown { +#header_dropdown { margin-bottom: 20px; padding: 0px 10px 0px 10px; } -.header_dropdown li { +#header_dropdown li { margin: 4px 0; list-style: none; } -.header_dropdown p { +#header_dropdown p { margin-top: 12px; margin-bottom: 10px; } @@ -154,11 +175,31 @@ header { a.logo { color: #fff; font-weight: bold; + text-decoration: none; +} + +.status_icon { + border-radius: 2px; + padding: 4px; + margin: 0px 4px; +} + +.num_queued { + background: #56446F; +} + +.num_failed { + background: #87453B; +} + +.status_icon a { + display: inline-block; + color: #C3C3C3; } .logo img { vertical-align: middle; - margin: 6px 8px 6px 0; + margin: 8px 8px 6px 0; } .welcomeimage { @@ -176,9 +217,7 @@ a.logo { footer { width: 100%; - height: 30px; border-top: 1px solid #333; - bottom: 0px; padding: 8px 0; text-align: center; font-size: 0.875em; @@ -196,14 +235,20 @@ footer { } .media_image_container { - display: flex; - justify-content: center; } .media_image { + display: block; + margin-left: auto; + margin-right: auto; max-width: 100%; } +.media_other_container { + display: flex; + justify-content: center; +} + .media_pane { /* in place for possible future wide view */ /* border-bottom: 1px solid #333333;*/ @@ -237,12 +282,22 @@ footer { cursor: pointer; } +.button_action:hover, .button_form:hover { + text-decoration: none; + border-color: #252525 #2B2B2B #464646; +} + .button_action_highlight, .button_form { background-color: #86D4B1; border-color: #A2DEC3 #6CAA8E #5C9179; color: #283F35; } +.button_action_highlight:hover { + text-decoration: none; + border-color: #5C9179 #6CAA8E #A2DEC3; +} + .button_info { background-color: #508BB5; border-color: #5899C7 #437699 #427496; @@ -353,6 +408,12 @@ text-align: center; margin-right: auto; } +.form_box > h1, .form_box_xl > h1 { + /* Fix header overflowing issue. */ + overflow: hidden; + text-overflow: ellipsis +} + .form_box_xl { max-width: 460px; } @@ -415,12 +476,10 @@ text-align: center; margin-bottom: 10px; } -.form_field_label { - margin-bottom: 4px; -} - .form_field_label { font-size:1.125em; + margin-bottom: 0; + padding: 10px 0; } .form_field_description { @@ -544,11 +603,14 @@ ul#action_to_resolve {list-style:none; margin-left:10px;} border-radius: 0 0 5px 5px; padding: 0 0 6px; text-overflow: ellipsis; - white-space: nowrap; overflow: hidden; border-color: #0D0D0D; border-style: solid; border-width: 1px 1px 2px; + position: relative; +} +.media_thumbnail:hover { + border-color: #0D0D0D #0D0D0D #378566 #0D0D0D; } .media_thumbnail a { @@ -566,12 +628,11 @@ a.thumb_entry_title { padding: 8px; } -/* For now, this is commented out since our thumbnails are actually 180px high. - * - * .media_thumbnail img { - * max-height: 135px; - * } - */ +.entry_type_icon { + position: absolute; + top: 2px; + left: 2px; +} .thumb_entry_last { margin-right: 0px; @@ -609,7 +670,6 @@ a img.media_image { cursor: -moz-zoom-in; cursor: zoom-in; } - /* icons */ img.media_icon { @@ -734,6 +794,42 @@ table.media_panel th { padding-bottom: 4px; text-align: left; } +.thumb-overlay-status { + position: absolute; + margin: auto; + top: 0; bottom: 0; left: 0; right: 0; + width: 180px; + height: 20px; + display: inline; + text-align: center; + background-color: rgba(255, 255, 255, 0.8); +} + +.thumb-processing { + color: black; + font-weight: bold; +} + +.thumb-failed { + color: red; + font-weight: bold; +} + +.thumb-wrapper { + position: relative; +/* for proportional thumb resizing */ + width: auto; + height: auto; + display: inline-block; +} + +.thumb-wrapper img { + max-height: 180px; + max-width: 180px; +} +.media_panel td { + vertical-align: middle; +} /* moderator panels */ @@ -873,7 +969,12 @@ pre { margin-left:3px; margin-right:3px; } + #thingy_view { + width:640px; + height:640px; + } } + /* Tablet Portrait size to standard 960 (devices and browsers) */ @media only screen and (min-width: 768px) and (max-width: 959px) { .container .three.columns.media_thumbnail { @@ -882,7 +983,7 @@ pre { margin-right:2px; } .media_thumbnail.thumb_entry img { - margin-left: -16.5px; + max-width:100%; } .thumb_gallery { margin-left: 0; @@ -890,7 +991,12 @@ pre { } .navigation_button { } + #thingy_view { + width:508px; + height:508px; + } } + /* All Mobile Sizes (devices and browser) */ @media screen and (max-width: 767px) { .thumb_row { @@ -932,9 +1038,54 @@ pre { } } +/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */ +@media only screen and (min-width: 480px) and (max-width: 767px) { + #thingy_view { + width:420px; + height:420px; + } +} + +/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */ +@media only screen and (max-width: 479px) { + #thingy_view { + width:300px; + height:300px; + } +} + p.verifier { text-align:center; font-size:50px; none repeat scroll 0% 0% rgb(221, 221, 221); padding: 1em 0px; } + +/* for the media metadata editing table */ +table.metadata_editor { + margin: 10px auto; + width: 800px; +} + +table.metadata_editor tr td { + width:350px; +} +table.metadata_editor tr td.form_field_input input { + width:350px; +} + +.application { + min-height: 30px; + margin-left: 70px; +} + +.application-icon { + position: absolute; + left: 12px; + width: 50px; + height: 50px; +} + +.application-button { + float: right; +}