ASCII media type support & fix a bug in file submission error handling
[mediagoblin.git] / mediagoblin / static / css / base.css
index 243b299c26b59a6db47d86c0f434c7f1fee52950..382ba88a34d0030127f7cc048fe6bf67cee1572a 100644 (file)
@@ -4,25 +4,25 @@
   font-family: 'Lato';
   font-style: normal;
   font-weight: 700;
-  src: local('Lato Bold'), local('Lato-Bold'), url('http://themes.googleusercontent.com/static/fonts/lato/v1/wkfQbvfT_02e2IWO3yYueQ.woff') format('woff');
+  src: local('Lato Bold'), local('Lato-Bold'), url('../fonts/Lato-Bold.ttf') format('truetype');
 }
 @font-face {
   font-family: 'Lato';
   font-style: italic;
   font-weight: 400;
-  src: local('Lato Italic'), local('Lato-Italic'), url('http://themes.googleusercontent.com/static/fonts/lato/v1/oUan5VrEkpzIazlUe5ieaA.woff') format('woff');
+  src: local('Lato Italic'), local('Lato-Italic'), url('../fonts/Lato-Italic.ttf') format('truetype');
 }
 @font-face {
   font-family: 'Lato';
   font-style: italic;
   font-weight: 700;
-  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url('http://themes.googleusercontent.com/static/fonts/lato/v1/HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff') format('woff');
+  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url('../fonts/Lato-BoldItalic.ttf') format('truetype');
 }
 @font-face {
   font-family: 'Lato';
   font-style: normal;
   font-weight: 400;
-  src: local('Lato Regular'), local('Lato-Regular'), url('http://themes.googleusercontent.com/static/fonts/lato/v1/9k-RPmcnxYEPm8CNFsH2gg.woff') format('woff');
+  src: local('Lato Regular'), local('Lato-Regular'), url('../fonts/Lato-Regular.ttf') format('truetype');
 }
 
 body {
@@ -74,7 +74,7 @@ label {
   font-weight: normal;
 }
 
-input {
+input, textarea {
   font-size:1em;
   font-family:'Lato', sans-serif;
 }
@@ -96,28 +96,7 @@ input {
 a.mediagoblin_logo{
   color: #fff;
   font-weight: bold;
-}
-
-.header_submit, .header_submit_highlight{
-  color: #272727;
-  background-color: #aaa;
-  background-image: -webkit-gradient(linear, left top, left bottom, from(##D2D2D2), to(#aaa)); 
-  background-image: -webkit-linear-gradient(top, #D2D2D2, #aaa); 
-  background-image:    -moz-linear-gradient(top, #D2D2D2, #aaa); 
-  background-image:     -ms-linear-gradient(top, #D2D2D2, #aaa); 
-  background-image:      -o-linear-gradient(top, #D2D2D2, #aaa); 
-  background-image:         linear-gradient(top, #D2D2D2, #aaa);
-  box-shadow: 0px 0px 4px #000;
-  border-radius: 3px;
-  margin: 8px;
-  padding: 3px 8px;
-  text-decoration: none;
-  border: medium none;
-  font-style: normal;
-}
-
-.header_submit_highlight{
-background-image: -moz-linear-gradient(center top , rgb(134, 212, 177), rgb(109, 173, 144));
+  margin-right: 8px;
 }
 
 .mediagoblin_footer {
@@ -139,7 +118,28 @@ background-image: -moz-linear-gradient(center top , rgb(134, 212, 177), rgb(109,
 
 /* common website elements */
 
-.button {
+.button_action, .button_action_highlight {
+  display: inline-block;
+  color: #c3c3c3;
+  background-color: #363636;
+  border: 1px solid;
+  border-color: #464646 #2B2B2B #252525;
+  border-radius: 4px;
+  padding: 3px 8px;
+  font-size: 16px;
+  text-decoration: none;
+  font-style: normal;
+  font-weight: bold;
+  cursor: pointer;
+}
+
+.button_action_highlight {
+  background-color: #86D4B1;
+  border-color: #A2DEC3 #6CAA8E #5C9179;
+  color: #283F35;
+}
+
+.button_form, .cancel_link {
   height: 32px;
   min-width: 99px;
   background-color: #86d4b1;
@@ -158,26 +158,48 @@ background-image: -moz-linear-gradient(center top , rgb(134, 212, 177), rgb(109,
   padding-left: 11px;
   padding-right: 11px;
   text-decoration: none;
-  font-family:'Lato', sans-serif;
-  font-size:1em;
+  font-family: 'Lato', sans-serif;
+  font-weight: bold;
+}
+
+.cancel_link {
+  background-color: #aaa;
+  background-image: -webkit-gradient(linear, left top, left bottom, from(##D2D2D2), to(#aaa)); 
+  background-image: -webkit-linear-gradient(top, #D2D2D2, #aaa); 
+  background-image:    -moz-linear-gradient(top, #D2D2D2, #aaa); 
+  background-image:     -ms-linear-gradient(top, #D2D2D2, #aaa); 
+  background-image:      -o-linear-gradient(top, #D2D2D2, #aaa); 
+  background-image:         linear-gradient(top, #D2D2D2, #aaa);
 }
 
-.pagination{
+.pagination {
 text-align: center;
 }
 
-.pagination_arrow{
+.pagination_arrow {
   margin: 5px;
 }
 
-.empty_space{
-  background-color: #222;
+.empty_space {
+  background-image: url("../images/empty_back.png");
   font-style: italic;
   text-align: center;
   height: 160px;
   padding-top: 70px;
 }
 
+.right_align {
+  float: right;
+}
+
+textarea#comment_content {
+  width: 634px;
+  height: 90px;
+  border: none;
+  background-color: #f1f1f1;
+  padding: 3px;
+}
+
 /* forms */
 
 .form_box {
@@ -200,14 +222,22 @@ text-align: center;
   width: 100%;
 }
 
-.form_field_box {
-  margin-bottom: 24px;
+.form_field_input {
+  margin-bottom: 10px;
 }
 
-.form_field_label,.form_field_input {
+.form_field_label {
   margin-bottom: 4px;
 }
 
+.form_field_label {
+  font-size:1.125em;
+}
+
+.form_field_description {
+  font-style: italic;
+}
+
 .form_field_error {
   background-color: #87453b;
   color: #fff;
@@ -221,6 +251,11 @@ text-align: center;
   text-align: right;
 }
 
+#password_boolean {
+  margin-top: 4px;
+  width: 20px;
+}
+
 /* comments */
 
 .comment_author {
@@ -229,8 +264,12 @@ text-align: center;
   font-size: 0.9em;
 }
 
+.comment_content {
+  margin-bottom: 30px;
+}
+
 .comment_content p {
-  margin-bottom: 4px;
+  margin-bottom: 0px;
 }
 
 /* media galleries */
@@ -242,45 +281,62 @@ text-align: center;
   float: left;
   margin: 0px 4px 10px 4px;
   text-align: center;
+  font-size: 0.875em;
+}
+
+.media_thumbnail a {
+  color: #eee;
+  text-decoration: none;
 }
 
 /* media detail */
 
-h2.media_title{
+h2.media_title {
   margin-bottom: 0px;
 }
 
-p.media_uploader{
+p.media_specs {
   font-size: 0.9em;
+  border-top: 1px solid #222;
+  border-bottom: 1px solid #222;
+  padding: 10px 0px;
+  color: #888;
+}
+
+.no_html5 {
+    background: black;
+    color: white;
+    text-align: center;
+    height: 160px;
+    padding: 130px 10px 20px 10px;
 }
 
 /* icons */
 
-img.media_icon{
+img.media_icon {
   margin: 0 4px;
   vertical-align: sub;
 }
 
 /* navigation */
 
-.navigation_button{
-  width: 139px;
+.navigation_button {
+  width: 135px;
   display: block;
   float: left;
   text-align: center;
-  background-color: #333;
+  background-color: #1d1d1d;
+  border: 1px solid;
+  border-color: #2c2c2c #232323 #1a1a1a;
+  border-radius: 4px;
   text-decoration: none;
-  padding: 12px 0pt;
-  font-size: 2em;
+  padding: 12px 0 16px;
+  font-size: 1.4em;
   margin: 0 0 20px
 }
 
-p.navigation_button{
-  color: #272727;
-}
-
-.navigation_left{
-  margin-right: 2px;
+.navigation_left {
+  margin-right: 6px;
 }
 
 /* messages */
@@ -338,3 +394,23 @@ table.media_panel th {
   font-weight: bold;
   padding-bottom: 4px;
 }
+
+
+/* Delete panel */
+
+.delete_checkbox_box {
+  margin-top: 10px;
+  margin-left: 10px;
+}
+
+/* ASCII art */
+
+@font-face {
+  font-family: Inconsolata;
+  src: local('Inconsolata'), url('../fonts/Inconsolata.otf') format('opentype')
+}
+
+.ascii-wrapper pre {
+  font-family: Inconsolata, monospace;
+  line-height: 1em;
+}
\ No newline at end of file