whitebophir/client-data/index.css

201 lines
2.7 KiB
CSS
Raw Normal View History

html {
background: linear-gradient(135deg, #c4dfffa0, transparent), url(background.png);
2018-11-27 13:46:57 +00:00
width:100%;
min-height: 100%;
2018-11-27 13:46:57 +00:00
margin:0;
Style changes (#39) * Initial Changes (#1) * Move socket event handlers and initial connection to connect function * Converted await statements to .then() * Toggle tool if clicked again and toggling option exists Co-authored-by: Finn Böger <finnboeger@googlemail.com> Co-authored-by: Robert Beach <rdbeach@gmail.com> * Updated client styles - disable selecting text in tool menu - change design of tool boxes to be square and smaller - reduce text size in sliders Co-authored-by: Finn Böger <finnboeger@googlemail.com> * Changed Apple Touch Icon * Update size and opacity icon, include fontawesome for future use Co-authored-by: Finn Böger <finnboeger@googlemail.com> * Changed favicon svg * replace font-family with valid value * Added icons and icomoon font * change eraser and zoom icon Co-authored-by: Finn Böger <finnboeger@googlemail.com> * Revert icon change for now * Revert "Converted await statements to .then()" This reverts commit b35e0207df4515eeff17a004e31f04b73eea5dfb. * Revert "Revert icon change for now" This reverts commit 34e354f00fab0ad137772a7a6e04e759710452c0. * Restored new Icons * Restored favicon * Remove fontawesome * Increase icon sizes * Update the zoom icon See https://github.com/lovasoa/whitebophir/pull/39#issuecomment-619524098 * set display inline block for tool names, otherwise firefox doesn't respect margin-bottom * Rework tool icons * fix color presets position Co-authored-by: finnboeger <finnboeger@users.noreply.github.com> Co-authored-by: Robert Beach <rdbeach@gmail.com> Co-authored-by: Finn Böger <finnboeger@googlemail.com>
2020-04-26 12:56:51 +00:00
font-family: sans-serif;
2020-04-18 20:09:48 +00:00
font-weight: 300;
2020-04-20 19:55:57 +00:00
font-size: 15px;
2018-11-27 13:46:57 +00:00
}
2019-06-23 21:56:07 +00:00
body {
position: absolute;
display: flex;
flex-direction: column;
min-height: 100%;
margin: 0;
width: 100%;
}
2018-11-27 13:46:57 +00:00
header {
position:fixed;
left:0;
top:0;
2020-04-19 17:41:26 +00:00
text-shadow: 1px 1px 2px #eee;
2018-11-27 13:46:57 +00:00
width:100%;
2020-04-19 17:41:26 +00:00
z-index: 2;
2018-11-27 13:46:57 +00:00
}
h1, h2 {
2020-04-18 20:09:48 +00:00
text-align: center;
font-weight: 300;
}
h3 {
font-weight: 400;
2018-11-27 13:46:57 +00:00
}
main {
2020-04-19 17:41:26 +00:00
margin: auto;
2020-04-20 19:55:57 +00:00
margin-top: 80px;
2019-06-23 21:56:07 +00:00
width:100%;
2020-04-26 15:59:41 +00:00
max-width: 1250px;
font-size: 1.1em;
2018-11-27 13:46:57 +00:00
position:relative;
text-align:justify;
2018-11-28 14:04:47 +00:00
transition:.1s;
2019-06-23 21:56:07 +00:00
display:flex;
flex-wrap: wrap;
justify-content: space-around;
}
2021-04-01 16:08:50 +00:00
#description,
#recent-boards {
2019-06-23 21:56:07 +00:00
flex: 100%;
}
main>div {
2020-04-20 21:40:38 +00:00
margin:15px;
2019-06-23 21:56:07 +00:00
min-width: 250px;
padding:35px;
2020-04-19 17:41:26 +00:00
transition:.07s;
2019-06-23 21:56:07 +00:00
flex:33%;
2020-04-19 17:41:26 +00:00
display: flex;
flex-direction: column;
justify-content: space-between;
2020-04-20 19:55:57 +00:00
border-radius: .2em;
2018-11-27 13:46:57 +00:00
}
2019-06-23 21:56:07 +00:00
main>div:hover {
2020-04-19 17:41:26 +00:00
transform:scale(1.03);
2018-11-27 13:46:57 +00:00
}
2019-06-23 21:56:07 +00:00
header, main>div {
2020-04-19 17:41:26 +00:00
box-shadow: 2px 2px 10px #666;
2018-11-27 13:46:57 +00:00
background-color:#fff;
}
header:hover h2 {
animation:colorchange 100s infinite;
}
2019-06-23 21:56:07 +00:00
.wbo-button {
white-space: nowrap;
text-decoration: none;
background: linear-gradient(#C4DFFF, #8FA2BC);
margin-top: 15px;
line-height: 60px;
2020-04-19 17:41:26 +00:00
border-radius: 5px;
2020-04-20 19:55:57 +00:00
box-shadow: 1px 1px 3px #555;
2019-06-23 21:56:07 +00:00
display: block;
text-align: center;
color: black;
transition: .1s;
}
a{
color: black;
2018-11-28 14:45:50 +00:00
}
2019-06-23 21:56:07 +00:00
.wbo-button:hover{
2020-04-20 19:55:57 +00:00
box-shadow: 0 0 5px #0074D9;
2018-11-27 13:46:57 +00:00
}
2019-06-23 21:56:07 +00:00
.wbo-button:focus, .wbo-button:active {
2020-04-20 19:55:57 +00:00
box-shadow: inset 1px 1px 5px #555;
2018-11-27 13:46:57 +00:00
}
2020-04-18 20:09:48 +00:00
input {
2019-06-23 21:56:07 +00:00
line-height: 20px;
border-radius: 5px;
border: 1px solid #ddd;
padding: 6px;
font-size: 1.1em;
margin: 9px 0;
2018-11-27 13:46:57 +00:00
}
2020-04-18 20:09:48 +00:00
#board {
width: 75%;
}
2021-04-01 16:08:50 +00:00
#recent-boards.hidden {
display: none;
}
#recent-boards ul {
list-style: none;
margin: 0;
padding: 0;
}
#recent-boards li {
margin-bottom: 8px;
}
#recent-boards li:last-child {
margin-bottom: 0;
}
footer {
text-align: center;
flex-shrink: 0;
height: 40px;
}
footer a {
opacity: .3;
}
footer a:hover {
opacity: 1;
2020-04-20 21:40:38 +00:00
}
.lang-selector {
2020-04-21 23:12:50 +00:00
top: 20px;
2020-04-20 21:40:38 +00:00
right:20px;
position: absolute;
overflow: hidden;
2020-04-21 23:12:50 +00:00
padding: 10px;
}
.lang-selector span {
padding: 9px 25px;
2020-04-20 21:40:38 +00:00
border: 1px solid black;
2020-04-21 23:12:50 +00:00
border-radius: 5px;
2020-04-20 21:40:38 +00:00
}
2020-04-21 23:12:50 +00:00
.lang-selector ul {
padding-left: 22px;
list-style: none;
width: 70px;
2020-04-21 23:12:50 +00:00
background: white;
2020-04-26 15:59:41 +00:00
max-height: 0;
overflow: hidden;
2020-04-21 23:12:50 +00:00
transition-duration: 1s;
border-radius: 5px;
}
.lang-selector:hover ul {
2021-01-31 16:06:24 +00:00
max-height: 600px;
2020-04-20 21:40:38 +00:00
box-shadow: 2px 2px 10px #666;
border: 0;
}
2020-04-21 23:12:50 +00:00
.lang-selector li {
2020-04-20 21:40:38 +00:00
height: 25px;
padding: 5px;
}
2020-04-21 23:12:50 +00:00
.lang-selector:hover li {
2020-04-20 21:40:38 +00:00
list-style: none;
}
2020-04-21 23:12:50 +00:00
.lang-selector li a {
width: 100%;
display: block;
}
.lang-selector li:hover {
2020-04-26 15:59:41 +00:00
list-style: circle;
list-style: disclosure-closed;
2018-11-27 13:46:57 +00:00
}