Skip to content
Snippets Groups Projects
Commit aa2cdb36 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

Merge branch 'esap-gui-ida-dev' into 'master'

Only apply css changes to IDA page

See merge request astron-sdc/esap-gui!61
parents f9b743f6 8fd6e03d
No related branches found
No related tags found
2 merge requests!62Master,!61Only apply css changes to IDA page
Pipeline #18707 passed
h2 { .ida h2 {
color:gray; color:gray;
} }
span { .ida span {
overflow-wrap: break-word; overflow-wrap: break-word;
} }
ul { .ida ul {
counter-reset: li; counter-reset: li;
list-style: none; list-style: none;
padding: 0; padding: 0;
...@@ -20,18 +20,15 @@ ul { ...@@ -20,18 +20,15 @@ ul {
padding:15px; padding:15px;
} }
.container-fluid { .ida {
margin:50px; margin:50px;
} }
.container-fluid ul { .ida .input-contain{
}
.input-contain{
position: relative; position: relative;
} }
input[type=text] { .ida input[type=text] {
height: 5rem; height: 5rem;
width: 40rem; width: 40rem;
border: 2px solid black; border: 2px solid black;
...@@ -39,21 +36,21 @@ input[type=text] { ...@@ -39,21 +36,21 @@ input[type=text] {
margin-bottom:30px; margin-bottom:30px;
} }
input[type=text]:focus{ .ida input[type=text]:focus{
outline: none; outline: none;
border-color: blue; border-color: blue;
} }
input[type=text]:focus + .placeholder-text .text, :not(input[value=""]) + .placeholder-text .text{ .ida input[type=text]:focus + .placeholder-text .text, :not(input[value=""]) + .placeholder-text .text{
background-color: white; background-color: white;
font-size: 1.1rem; font-size: 1.1rem;
color: black; color: black;
transform: translate(0, -170%); transform: translate(0, -170%);
} }
input[type=text]:focus + .placeholder-text .text{ .ida input[type=text]:focus + .placeholder-text .text{
border-color: blueviolet; border-color: blueviolet;
color: blue; color: blue;
} }
.placeholder-text{ .ida .placeholder-text{
position: absolute; position: absolute;
top: 0; top: 0;
bottom: 0; bottom: 0;
...@@ -65,7 +62,7 @@ input[type=text]:focus + .placeholder-text .text{ ...@@ -65,7 +62,7 @@ input[type=text]:focus + .placeholder-text .text{
display: flex; display: flex;
align-items: center; align-items: center;
} }
.text{ .ida .text{
font-size: 1.4rem; font-size: 1.4rem;
padding: 0 0.5rem; padding: 0 0.5rem;
background-color: transparent; background-color: transparent;
...@@ -73,12 +70,14 @@ input[type=text]:focus + .placeholder-text .text{ ...@@ -73,12 +70,14 @@ input[type=text]:focus + .placeholder-text .text{
color: black; color: black;
transition: transform 0.15s ease-out, font-size 0.15s ease-out, background-color 0.2s ease-out, color 0.15s ease-out; transition: transform 0.15s ease-out, font-size 0.15s ease-out, background-color 0.2s ease-out, color 0.15s ease-out;
} }
input[type=text], .placeholder-text{ input[type=text], .placeholder-text{
font-size: 1.4rem; font-size: 1.4rem;
padding: 0 1.2rem; padding: 0 1.2rem;
} }
@media (max-width: 40rem) { .ida @media (max-width: 40rem) {
input{ input{
width: 70vw; width: 70vw;
} }
...@@ -90,7 +89,7 @@ input[type=text], .placeholder-text{ ...@@ -90,7 +89,7 @@ input[type=text], .placeholder-text{
/* Customize the label (the container) */ /* Customize the label (the container) */
.container { .ida .container {
display: block; display: block;
position: relative; position: relative;
padding-left: 35px; padding-left: 35px;
......
...@@ -63,7 +63,7 @@ export default function Interactive() { ...@@ -63,7 +63,7 @@ export default function Interactive() {
return ( return (
<Container fluid> <Container className="ida" fluid>
<h1>Interactive Analysis</h1> <h1>Interactive Analysis</h1>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment