Commit 3fc0e0a2 by Georgina Mondino

Adaptado a mobile

1 parent 2d8aa368
...@@ -19,6 +19,7 @@ body{ ...@@ -19,6 +19,7 @@ body{
border-radius: 2px; border-radius: 2px;
} }
.TabTitle{ .TabTitle{
margin-bottom: 5%;
font-size: 30px; font-size: 30px;
width: 94%; width: 94%;
text-align: left; text-align: left;
...@@ -35,7 +36,7 @@ body{ ...@@ -35,7 +36,7 @@ body{
width: 25%; width: 25%;
margin: 1%; margin: 1%;
} }
.NewTabButton, .NewInputButton, .RemoveInputButton{ .NewTabButton, .NewInputButton, .RemoveInputButton, .RemoveTabButton{
text-align: center; text-align: center;
margin: auto; margin: auto;
color: whitesmoke; color: whitesmoke;
...@@ -57,15 +58,18 @@ body{ ...@@ -57,15 +58,18 @@ body{
border: 3px solid rgb(1, 194, 120); border: 3px solid rgb(1, 194, 120);
background-color: rgb(14, 211, 135); background-color: rgb(14, 211, 135);
} }
.RemoveInputButton{ .RemoveInputButton, .RemoveTabButton{
width: 40px; width: 35px;
height: 40px; height: 35px;
margin: 1%; margin: 1%;
font-size: 20px; font-size: 20px;
border: 3px solid rgb(230, 25, 25); border: 3px solid rgb(230, 25, 25);
background-color: rgba(211, 14, 14, 0.788); background-color: rgba(211, 14, 14, 0.788);
} }
.RemoveTabButton{
width: 40px;
height: 40px;
}
#ContinuarText, #ContinuarButton{ #ContinuarText, #ContinuarButton{
display: none; display: none;
} }
...@@ -80,4 +84,30 @@ body{ ...@@ -80,4 +84,30 @@ body{
width: 96%; width: 96%;
height: 2.5em; height: 2.5em;
border-radius: 5px; border-radius: 5px;
}
\ No newline at end of file \ No newline at end of file
}
@media ( max-width: 900px) {
.TabTitle{
width: 90%;
}
}
@media (max-width: 600px) {
.TabTitle{
width: 85%;
}
.RemoveInputButton{
width: 30px;
height: 30px;
}
.RemoveTabButton{
width: 35px;
height: 35px;
}
.Input{
width: 20%;
margin: 1%;
}
}
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<template id="tabTemplate"> <template id="tabTemplate">
<div class="TabCards"> <div class="TabCards">
<input class="TabTitle" placeholder="Titulo del Tab" type="text"> <input class="TabTitle" placeholder="Titulo del Tab" type="text">
<button class="RemoveInputButton" onclick="removeTab(this)"> <button class="RemoveTabButton" onclick="removeTab(this)">
X X
</button> </button>
<br> <br>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!