]> jfr.im git - uguu.git/commitdiff
Update uguu.css upstream/master
authorGo Johansson (neku) <redacted>
Sun, 14 Apr 2024 15:28:06 +0000 (17:28 +0200)
committerGo Johansson (neku) <redacted>
Sun, 14 Apr 2024 15:28:06 +0000 (17:28 +0200)
src/static/css/uguu.css

index 844e93b2926aac9af588d15bc6a129f57d0d6d7a..b74ebce06552416501e00f370dfe2e1949269bdb 100755 (executable)
@@ -1,6 +1,8 @@
 /**
  * Copyright (c) 2011, 2012, 2013 Twitter, Inc.
- * Copyright (c) 2013, 2014 Peter Lejeck <peter.lejeck@gmail.com>
+ * Copyright (c) 2013-2024 Emma Lejack (https://github.com/NuckChorris) <peter.lejeck@gmail.com>
+ * Copyright (c) 2013-2024 Go Johansson (https://github.com/nokonoko) <neku@pomf.se>
+ * Copyright (c) 2013-2024 Uguu & Pomf Community Contributors (https://github.com/nokonoko/Uguu) (https://github.com/pomf/pomf)
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
 *,
 *:before,
 *:after {
-  box-sizing: border-box;
+    box-sizing: border-box;
 }
 
 /**
   * PAGE LAYOUT
   */
 body {
-  background-attachment: fixed, fixed;
-  background-color: #F7F7F7;
-  background-image: url('grill.php'), url('img/bg.png');
-  background-position: 85% 100%, top left;
-  background-repeat: no-repeat, repeat;
-  color: #333;
-  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
-  font-size: 14px;
-  height: 100%;
-  line-height: 20px;
-  margin: 0;
-  padding-top: 20px;
-  padding-bottom: 40px;
+    background-attachment: fixed, fixed;
+    background-color: #F7F7F7;
+    background-image: url('grill.php'), url('img/bg.png');
+    background-position: 85% 100%, top left;
+    background-repeat: no-repeat, repeat;
+    color: #333;
+    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+    font-size: 14px;
+    height: 100%;
+    line-height: 20px;
+    margin: 0;
+    padding-top: 20px;
+    padding-bottom: 40px;
 }
+
 .container {
-  margin: 0 auto;
-  max-width: 700px;
+    margin: 0 auto;
+    max-width: 700px;
 }
 
 /**
@@ -58,356 +61,407 @@ body {
  */
 /* paragraphs */
 p {
-  margin: 0 0 10px;
+    margin: 0 0 10px;
 }
+
 /* images */
 input[type=image], img {
-  vertical-align: middle;
+    vertical-align: middle;
 }
+
 /* links */
 a {
-  color: #0078B4;
-  text-decoration: none;
-  transition: color 0.25s;
+    color: #0078B4;
+    text-decoration: none;
+    transition: color 0.25s;
 }
+
 a:hover,
 a:focus,
 a:active {
-  color: #005580;
+    color: #005580;
 }
+
 a:focus {
-  outline: thin dotted #333;
+    outline: thin dotted #333;
 }
 
 /**
  * JUMBOTRON
  */
 .jumbotron {
-  margin: 60px 0;
-  text-align: center;
-  transition: width 0.5s, height 0.5s, margin 0.5s, padding 0.5s;
+    margin: 60px 0;
+    text-align: center;
+    transition: width 0.5s, height 0.5s, margin 0.5s, padding 0.5s;
 }
+
 .jumbotron h1 {
-  color: inherit;
-  font-family: inherit;
-  font-size: 72px;
-  font-weight: bold;
-  line-height: 1;
-  margin: 10px 0;
-  cursor: default;
-  text-rendering: optimizelegibility;
+    color: inherit;
+    font-family: inherit;
+    font-size: 72px;
+    font-weight: bold;
+    line-height: 1;
+    margin: 10px 0;
+    cursor: default;
+    text-rendering: optimizelegibility;
 }
+
 .jumbotron .lead {
-  font-size: 21px;
-  font-weight: 200;
-  line-height: 30px;
-  margin-bottom: 20px;
-  transition: font-size 0.5s;
+    font-size: 21px;
+    font-weight: 200;
+    line-height: 30px;
+    margin-bottom: 20px;
+    transition: font-size 0.5s;
 }
+
 .jumbotron .btn {
-  background: rgba(202, 230, 190, 0.75);
-  border: 1px solid #B7D1A0;
-  border-radius: 4px;
-  color: #468847;
-  cursor: pointer;
-  display: inline-block;
-  font-size: 24px;
-  padding: 28px 48px;
-  text-shadow: 0 1px rgba(255, 255, 255, 0.5);
-  transition: background-color 0.25s, width 0.5s, height 0.5s;
+    background: rgba(202, 230, 190, 0.75);
+    border: 1px solid #B7D1A0;
+    border-radius: 4px;
+    color: #468847;
+    cursor: pointer;
+    display: inline-block;
+    font-size: 24px;
+    padding: 28px 48px;
+    text-shadow: 0 1px rgba(255, 255, 255, 0.5);
+    transition: background-color 0.25s, width 0.5s, height 0.5s;
 }
+
 .jumbotron .btn:hover,
 .jumbotron .btn:active,
 .jumbotron .btn:focus,
 .jumbotron .btn.drop {
-  background-color: rgb(188, 228, 170);
-  text-decoration: none;
+    background-color: rgb(188, 228, 170);
+    text-decoration: none;
 }
 
 /**
  * BOXES
  */
 .alert {
-  background-color: #FCF8E3;
-  border: 1px solid #FBEED5;
-  border-radius: 4px;
-  margin-bottom: 20px;
-  padding: 8px 14px;
-  text-shadow: 0px 1px rgba(255, 255, 255, 0.5);
-  transition: width 0.5s, margin 0.5s, padding 0.5s, background-color 0.5s;
+    background-color: #FCF8E3;
+    border: 1px solid #FBEED5;
+    border-radius: 4px;
+    margin-bottom: 20px;
+    padding: 8px 14px;
+    text-shadow: 0px 1px rgba(255, 255, 255, 0.5);
+    transition: width 0.5s, margin 0.5s, padding 0.5s, background-color 0.5s;
 }
+
 .alert-error {
-  background-color: #F2DEDE;
-  border-color: #EED3D7;
-  color: #AA4342;
+    background-color: #F2DEDE;
+    border-color: #EED3D7;
+    color: #AA4342;
 }
+
 .alert-info {
-  background-color: #D9EDF7;
-  border-color: #BCE8F1;
-  color: #167196;
+    background-color: #D9EDF7;
+    border-color: #BCE8F1;
+    color: #167196;
 }
 
 /**
  * DONATION BUTTONS
  */
 span.donate-btns {
-  display: block;
-  text-align: center;
-  margin: 11px 0 3px;
+    display: block;
+    text-align: center;
+    margin: 11px 0 3px;
 }
+
 a.donate-btn {
-  height: 26px;
-  display: inline-block;
-  margin: 2px 5px;
-  background: hsl(0, 0%, 95%);
-  line-height: 16px;
-  padding: 3px 8px 3px 24px;
-  border-radius: 3px;
-  color: hsl(0, 0%, 25%);
-  border: 1px solid hsl(0, 0%, 85%);
-  transition: all .2s;
+    height: 26px;
+    display: inline-block;
+    margin: 2px 5px;
+    background: hsl(0, 0%, 95%);
+    line-height: 16px;
+    padding: 3px 8px 3px 24px;
+    border-radius: 3px;
+    color: hsl(0, 0%, 25%);
+    border: 1px solid hsl(0, 0%, 85%);
+    transition: all .2s;
 }
+
 a.donate-btn:hover {
-  color: #000;
-  border: 1px solid hsl(0, 0%, 70%);
-  background-color: hsl(0, 0%, 80%);
+    color: #000;
+    border: 1px solid hsl(0, 0%, 70%);
+    background-color: hsl(0, 0%, 80%);
 }
+
 .icon {
-  display: block;
-  height: 16px;
-  width: 16px;
-  float: left;
-  margin-left: -20px;
-  margin-top: 1px;
+    display: block;
+    height: 16px;
+    width: 16px;
+    float: left;
+    margin-left: -20px;
+    margin-top: 1px;
 }
+
 .icon-paypal {
-  background-image: url('img/paypal.png');
+    background-image: url('img/paypal.png');
 }
+
 .icon-bitcoin {
-  background-image: url('img/bitcoin.png');
+    background-image: url('img/bitcoin.png');
 }
+
 .icon-ethereum {
-  background-image: url('img/ethereum.png');
+    background-image: url('img/ethereum.png');
 }
+
 .icon-kofi {
-  background-image: url('img/kofi.png');
+    background-image: url('img/kofi.png');
 }
+
 /**
  * NAVIGATION LINKS
  */
 nav > ul,
 nav a {
-  color: #33799B;
-  list-style: none;
-  margin: 0;
-  padding: 0;
-  text-align: center;
+    color: #33799B;
+    list-style: none;
+    margin: 0;
+    padding: 0;
+    text-align: center;
 }
+
 nav > ul > li {
-  display: inline-block;
-  margin: 0;
-  padding: 0;
-  cursor: default;
+    display: inline-block;
+    margin: 0;
+    padding: 0;
+    cursor: default;
 }
+
 nav > ul > li:after {
-  content: "|";
-  margin: 0 8px;
-  opacity: 0.3;
+    content: "|";
+    margin: 0 8px;
+    opacity: 0.3;
 }
+
 nav > ul > li:last-child:after {
-  content: "";
-  margin: 0;
+    content: "";
+    margin: 0;
 }
 
 
-
 /**
  * UPLOAD FILE LIST
  */
 #upload-filelist {
-  list-style-type: none;
-  margin: 20px 50px;
-  padding: 0;
-  text-align: left;
+    list-style-type: none;
+    margin: 20px 50px;
+    padding: 0;
+    text-align: left;
 }
+
 .error#upload-filelist {
-  color: #891A18;
+    color: #891A18;
 }
+
 button.upload-clipboard-btn {
-  margin-left: 5px;
-  height: 32px;
+    margin-left: 5px;
+    height: 32px;
 }
+
 .error#upload-filelist .progress-percent {
-  color: #B94A48;
+    color: #B94A48;
 }
+
 .error#upload-filelist .file-progress {
-  display: none;
+    display: none;
 }
+
 #upload-filelist > li {
-  margin-top: 5px;
-  overflow: hidden;
+    margin-top: 5px;
+    overflow: hidden;
 }
+
 #upload-filelist > li.total {
-  border-top: 1px solid rgba(0, 0, 0, 0.05);
-  font-weight: bold;
-  padding-top: 5px;
+    border-top: 1px solid rgba(0, 0, 0, 0.05);
+    font-weight: bold;
+    padding-top: 5px;
 }
+
 .file-name {
-  float: left;
-  overflow: hidden;
-  max-width: 70%;
-  text-overflow: ellipsis;
-  white-space: nowrap;
+    float: left;
+    overflow: hidden;
+    max-width: 70%;
+    text-overflow: ellipsis;
+    white-space: nowrap;
 }
+
 .file-progress,
 .file-url {
-  display: inline-block;
-  float: right;
-  font-size: 0.9em;
-  margin-left: 8px;
-  vertical-align: middle;
+    display: inline-block;
+    float: right;
+    font-size: 0.9em;
+    margin-left: 8px;
+    vertical-align: middle;
 }
+
 .file-url a {
-  color: #5C5C5C;
+    color: #5C5C5C;
 }
+
 .file-url a:hover {
-  color: #1C1C1C;
+    color: #1C1C1C;
 }
+
 .progress-percent {
-  float: right;
+    float: right;
 }
 
 progress[value] {
-  /* Reset the default appearance */
-  -webkit-appearance: none;
-  -moz-appearance: none;
-  appearance: none;
+    /* Reset the default appearance */
+    -webkit-appearance: none;
+    -moz-appearance: none;
+    appearance: none;
 
-  border: none;
+    border: none;
 
 }
 
 progress[value]::-webkit-progress-bar {
-  background-color: #eee;
-  border-radius: 2px;
-  box-shadow: 0 2px 5px rgba(0,0,0,0.25) inset;
+    background-color: #eee;
+    border-radius: 2px;
+    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
 }
 
 /* completed rows */
 .completed .file-progress,
 .completed .progress-percent {
-  display: none;
+    display: none;
 }
+
 .completed .file-url {
-  display: block;
+    display: block;
 }
 
 /**
  * PROGRESS BARS
  */
 .progress-outer {
-  background-color: rgba(255, 255, 255, 0.8);
-  border: 1px solid white;
-  border-radius: 4px;
-  box-shadow: 0 0 0 1px black;
-  color: transparent;
-  display: inline-block;
-  font-size: 0;
-  float: right;
-  height: 8px;
-  margin: 6px 6px 0;
-  overflow: hidden;
-  vertical-align: middle;
-  width: 50px;
+    background-color: rgba(255, 255, 255, 0.8);
+    border: 1px solid white;
+    border-radius: 4px;
+    box-shadow: 0 0 0 1px black;
+    color: transparent;
+    display: inline-block;
+    font-size: 0;
+    float: right;
+    height: 8px;
+    margin: 6px 6px 0;
+    overflow: hidden;
+    vertical-align: middle;
+    width: 50px;
 }
+
 .progress-inner {
-  background-color: black;
-  height: 6px;
-  margin: 0;
-  width: 0;
+    background-color: black;
+    height: 6px;
+    margin: 0;
+    width: 0;
 }
 
 /**
  * MEDIA QUERIES
  */
 @media only screen and (max-device-width: 320px), only screen and (max-width: 400px) {
-  body {
-    padding: 10px 0 0 0;
-  }
-  .jumbotron {
-    margin: 20px 0 30px;
-  }
-  .jumbotron .lead {
-    font-size: 18px;
-  }
-  .jumbotron .btn, .alert, #upload-filelist {
-    border-radius: 0;
-    border-width: 1px 0;
-    width: 100%;
-    margin-left: 0;
-    margin-right: 0;
-    padding-left: 20px;
-    padding-right: 20px;
-  }
-  #upload-filelist {
-    background-color: rgba(255, 255, 255, 0.75);
-    overflow: hidden;
-  }
-  #upload-filelist > li.file {
-    margin-top: 12px;
-    margin-bottom: 12px;
-  }
-  .file-progress {
-    width: 70%;
-  }
-  .file-name, .file-url {
-    width: 100%;
-    max-width: 100%;
-  }
-  .file-url a {
-    text-decoration: underline;
-    margin-left: 15px;
-  }
-  .file-url a:before {
-    content: "https://";
-  }
-  .alert {
-    font-size: 13px;
-  }
-  .alert-error {
-    background-color: rgba(248, 223, 223, 0.75);
-  }
-  nav {
-    background-color: rgba(255, 255, 255, 0.75);
-    border: #FFFFFF;
-    padding: 10px 0;
-  }
+    body {
+        padding: 10px 0 0 0;
+    }
+
+    .jumbotron {
+        margin: 20px 0 30px;
+    }
+
+    .jumbotron .lead {
+        font-size: 18px;
+    }
+
+    .jumbotron .btn, .alert, #upload-filelist {
+        border-radius: 0;
+        border-width: 1px 0;
+        width: 100%;
+        margin-left: 0;
+        margin-right: 0;
+        padding-left: 20px;
+        padding-right: 20px;
+    }
+
+    #upload-filelist {
+        background-color: rgba(255, 255, 255, 0.75);
+        overflow: hidden;
+    }
+
+    #upload-filelist > li.file {
+        margin-top: 12px;
+        margin-bottom: 12px;
+    }
+
+    .file-progress {
+        width: 70%;
+    }
+
+    .file-name, .file-url {
+        width: 100%;
+        max-width: 100%;
+    }
+
+    .file-url a {
+        text-decoration: underline;
+        margin-left: 15px;
+    }
+
+    .file-url a:before {
+        content: "https://";
+    }
+
+    .alert {
+        font-size: 13px;
+    }
+
+    .alert-error {
+        background-color: rgba(248, 223, 223, 0.75);
+    }
+
+    nav {
+        background-color: rgba(255, 255, 255, 0.75);
+        border: #FFFFFF;
+        padding: 10px 0;
+    }
 }
+
 /*
  * no js
  */
 #upload-btn {
-  display: none;
+    display: none;
 }
+
 .js #upload-input {
-  display: none;
+    display: none;
 }
-.js input[type="submit"]{
-  display: none;
+
+.js input[type="submit"] {
+    display: none;
 }
+
 .js #upload-btn {
-  display: inline-block !important;
+    display: inline-block !important;
 }
+
 /*
  * inline command block
  */
 kbd {
-  padding: 0.1875rem 0.375rem;
-  font-size: 13px;
-  color: #FFFFFF;
-  background-color: #444444;
-  border-radius: 0.25rem;
+    padding: 0.1875rem 0.375rem;
+    font-size: 13px;
+    color: #FFFFFF;
+    background-color: #444444;
+    border-radius: 0.25rem;
 }
+
 kbd:before {
-  content: "$ "
+    content: "$ "
 }
\ No newline at end of file