Add visual feedback on link hover
[mediagoblin.git] / mediagoblin / static / css / base.css
index f9d90df1337cf53f6135458d4036771f3768a2e7..af99c5f7249e72ad92743f820bd0de2344ca2d32 100644 (file)
@@ -74,6 +74,10 @@ a {
   color: #86D4B1;
 }
 
+a:hover {
+    text-decoration: underline
+}
+
 a.highlight {
   color: #fff;
 }
@@ -123,7 +127,7 @@ input, textarea {
   display: block;
 }
 
-\10footer, #wrap:after {
+footer, #wrap:after {
   height: 30px;
 }
 
@@ -142,7 +146,7 @@ header {
 
 .header_right {
   width: 47%;
-  margin: 8px 8px 4px 0;
+  margin: 8px 8px 8px 0;
   display: inline-block;
   float: right;
   text-align: right;
@@ -171,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 {
@@ -211,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;*/
@@ -252,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;
@@ -368,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;
 }
@@ -430,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 {
@@ -559,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 {
@@ -581,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;
@@ -748,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 */
 
@@ -887,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 {
@@ -896,7 +983,7 @@ pre {
     margin-right:2px;
   }
   .media_thumbnail.thumb_entry img {
-    margin-left: -16.5px;
+    max-width:100%;
   }
   .thumb_gallery {
     margin-left: 0;
@@ -904,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 {
@@ -946,6 +1038,22 @@ 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;
@@ -965,3 +1073,19 @@ table.metadata_editor tr td {
 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;
+}