Les jolis boutons !
This commit is contained in:
@@ -1,19 +1,31 @@
|
||||
/* Button box */
|
||||
div.buttonbox {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
textarea.squared-input {
|
||||
border-radius: 5px;
|
||||
padding: 4px;
|
||||
font-size: 1rem;
|
||||
|
||||
margin-bottom: 12px;
|
||||
width: 400px;
|
||||
min-height: 65px;
|
||||
}
|
||||
/* Common to all the answer buttons*/
|
||||
button.squared-button {
|
||||
border: 0;
|
||||
border-radius: 5px;
|
||||
color: #1F1A25;
|
||||
font-family: "Muli", Arial, sans-serif;
|
||||
font-family: Arial, sans-serif;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
padding: 1rem 2rem;
|
||||
padding: 4px;
|
||||
font-size: 1rem;
|
||||
background-color: #78E0DC;
|
||||
box-shadow: 0 8px #2dc5bf;
|
||||
|
||||
margin-bottom: 12px;
|
||||
width: 145px;
|
||||
height: 65px;
|
||||
width: 400px;
|
||||
min-height: 65px;
|
||||
}
|
||||
|
||||
button.squared-button:hover {
|
||||
@@ -24,13 +36,8 @@ button.squared-button:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
button.squared-button:hover, button.squared-button:focus {
|
||||
background-color: #4fd6d1;
|
||||
}
|
||||
|
||||
button.squared-button:active {
|
||||
transform: translateY(4px);
|
||||
box-shadow: 0 3px #2dc5bf;
|
||||
}
|
||||
|
||||
/*@import url("https://fonts.googleapis.com/css?family=Muli:400,700,800&display=swap");
|
||||
@@ -42,4 +49,50 @@ body {
|
||||
justify-content: center;
|
||||
min-height: 100vh;
|
||||
}
|
||||
*/
|
||||
*/
|
||||
|
||||
/* Color 1 */
|
||||
button.squared-button.bcol1 {
|
||||
background-color: #78E0DC;
|
||||
box-shadow: 0 8px #2dc5bf;
|
||||
}
|
||||
button.squared-button.bcol1:hover, button.squared-button.bcol1:focus {
|
||||
background-color: #4fd6d1;
|
||||
}
|
||||
|
||||
button.squared-button.bcol1:active {
|
||||
box-shadow: 0 3px #2dc5bf;
|
||||
}
|
||||
/* Color 2 */
|
||||
button.squared-button.bcol2 {
|
||||
background-color: #FDE74C;
|
||||
box-shadow: 0 8px #d7bd02;
|
||||
}
|
||||
button.squared-button.bcol2:hover, button.squared-button.bcol2:focus {
|
||||
background-color: #fcde0d;
|
||||
}
|
||||
button.squared-button.bcol2:active {
|
||||
box-shadow: 0 3px #d7bd02;
|
||||
}
|
||||
/* Color 3 */
|
||||
button.squared-button.bcol3 {
|
||||
background-color: #B8B3E9;
|
||||
box-shadow: 0 8px #867ec8;
|
||||
}
|
||||
button.squared-button.bcol3:hover, button.squared-button.bcol3:focus {
|
||||
background-color: #b0acd9;
|
||||
}
|
||||
button.squared-button.bcol3:active {
|
||||
box-shadow: 0 3px #867ec8;
|
||||
}
|
||||
/* Color 4 */
|
||||
button.squared-button.bcol4 {
|
||||
background-color: #4fd337;
|
||||
box-shadow: 0 8px #339721;
|
||||
}
|
||||
button.squared-button.bcol4:hover, button.squared-button.bcol4:focus {
|
||||
background-color: #40be29;
|
||||
}
|
||||
button.squared-button.bcol4:active {
|
||||
box-shadow: 0 3px #339721;
|
||||
}
|
||||
Reference in New Issue
Block a user