torierettsegifelkeszito/include/sQuiz/style/sQuiz.css

138 lines
3.0 KiB
CSS
Raw Normal View History

2019-08-08 13:56:20 +00:00
/**
* /sQuiz/style/sQuiz.css
* @version 1.1
* @desc Style file for sQuiz
* @author Fándly Gergő Zoltán (gergo@systemtest.tk, systemtest.tk)
* @copy 2017 Fándly Gergő Zoltán
* License:
sQuiz for creating small jQuery based quizs in an implementable way
Copyright (C) 2017 Fándly Gergő Zoltán
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
**/
.sq.sq-container{
margin: auto;
background: rgba(163,127,91,0.7);
padding: 1em;
border-radius: 0.5em;
border: 1px solid rgba(118,88,59,0.9);
width: 95%;
}
.sq.sq-center{
margin: auto;
text-align: center;
}
hr.sq.sq-placeholder{
border: none;
height: 30px;
}
div.sq.sq-mapArea{
position: relative;
width: fit-content;
}
div.sq.sq-mapArea div{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
button.sq{
background: rgba(163,127,91,0.9);
padding: 1em;
border-radius: 0.5em;
border: 1px solid rgba(118,88,59,0.9);
}
button.sq:hover{
background: rgba(143,107,71,0.9);
}
button.sq.sq-big{
font-size: 3em;
padding: 1em;
padding-top: 4em;
padding-bottom: 4em;
width: 9em;
}
button.sq.red{
background: rgba(230,74,74,0.9);
border: 1px solid rgba(187,48,48,0.9);
}
button.sq.red:hover{
background: rgba(200,54,54,0.9);
}
button.sq.green{
background: rgba(74,230,74,0.9);
border: 1px solid rgba(48,487,48,0.9);
}
button.sq.green:hover{
background: rgba(54,200,54,0.9);
}
input.sq{
border-radius: 5px;
padding: 0.5em;
border: 1px solid rgba(118,88,59,0.9);
width: 90%;
font-size: 2em;
}
.sq-red{
color: rgba(230,74,74,0.9);
}
.sq-green{
color: rgba(74,230,74,0.9);
}
span.sq.sq-draggable{
height: 1.3em;
width: 10em;
padding: 0.5em;
margin: 1em;
overflow: auto;
cursor: move;
color: rgb(255,255,255);
background: rgb(130,130,130);
display: inline-block;
font-size: 1.3em;
border-radius: 0.3em;
}
span.sq.sq-draggable.red{
background: rgba(230,74,74,0.9);
}
span.sq.sq-draggable.green{
background: rgba(74,230,74,0.9);
}
span.sq.sq-droppable{
height: 2em;
width: 10.7em;
margin: 0 0.3em;
overflow: auto;
color: rgb(255,255,255);
border: 3px dashed rgb(130,130,130);
display: inline-block;
border-radius: 0.3em;
}
div.sq.sq-menu{
display: flex;
justify-content: space-around;
flex-wrap: wrap;
width: 99%;
}