Browse Source

pulsantoni

boyska 4 years ago
parent
commit
d14abaaec8
4 changed files with 8 additions and 5 deletions
  1. 1 0
      .gitignore
  2. 0 4
      static/style.css
  3. 5 1
      static/zerbino.css
  4. 2 0
      templates/index.htm

+ 1 - 0
.gitignore

@@ -1,2 +1,3 @@
 .*.swp
 __pycache__
+uploads/

+ 0 - 4
static/style.css

@@ -46,7 +46,6 @@ red {
 } 
 
 button, a.button {
-  flex-grow: 1;
   height: 3.5rem;
   min-width: 2rem;
   border: none;
@@ -55,9 +54,6 @@ button, a.button {
   margin-left: 2px;
   box-shadow: inset 0 -0.15rem 0 rgba(0, 0, 0, 0.2);
   cursor: pointer;
-  display: flex;
-  justify-content: center;
-  align-items: center;
   color:#ffffff;
   font-weight: bold;
   font-size: 1.5rem;

+ 5 - 1
static/zerbino.css

@@ -128,9 +128,13 @@ ul li {
  float: left;
 }
 
+#buttons { text-align: center; }
 #record_audio, #stop_record {
+  min-width:50%;
+  min-height: 3em;
+}
+button {
   margin: 0.5em;
-  width:20%;
 }
 
 button:disabled {

+ 2 - 0
templates/index.htm

@@ -17,8 +17,10 @@
 <!-- <div id="image"><a href="/"><img alt="logo" src="logo" height="80"/></a></div> -->
 <section id="help"></section>
 
+<div id="buttons">
 <button id="record_audio" type="button">Registra</button>
 <button id="stop_record" type="button">Stop</button>
+</div>
 
 <canvas id="visualizer" class="visualizer"></canvas>
 <audio  id="player" controls="controls"></audio>