main.css [src/moplay/stylesheets] Revision: default Date:
html, body {
height: 100%;
margin: 0;
padding: 0;
}
/*
* HEADER
*/
header {
height: 75px;
background: #333;
}
.header-text {
text-align: center;
padding: 20px 16px;
text-decoration: none;
font-weight: 900;
line-height: 35px;
font-size: 30px;
color: whitesmoke;
}
#sub-header {
height: 45px;
background: #555;
}
ul.nav-row {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
li.nav-row {
float: left;
margin: 0;
}
li.nav-row-right {
float: right;
margin: 0;
}
li.nav-row a, li.nav-row-right a {
display: inline-block;
color: whitesmoke;
}
li.nav-row a:hover, li.nav-row-right a:hover {
background-color: #111;
}
ul.nav-col {
list-style-type: none;
margin: 0;
padding: 0;
width: 100%;
background-color: #696969;
}
li.nav-col a {
display: block;
color: whitesmoke;
text-align: left;
padding: 20px 16px;
text-decoration: none;
font-weight: 600;
line-height: 35px;
font-size: 25px;
}
/* Change the link color on hover */
li.nav-col a:hover {
background-color: #555;
}
/*
* Left Panel
*/
#content {
min-height: 100%;
position: relative;
}
.left-panel {
position: absolute;
/*top: 80px;*/
/*flex-grow: 1;*/
width: 260px;
top: 120px;
bottom: 0;
left: 0;
display: inline-block;
background: #696969;
/*overflow-y: scroll;*/
overflow: auto;
}
/*
* PROBLEMS LIST
*/
.problem-row {
display: inherit;
margin: 0 auto;
width: 100%;
min-height: 36px;
}
.problem-description {
margin: 10px 50px;
background: #585858;
text-align: center;
/*padding: 20px 16px;*/
text-decoration: none;
font-weight: 600;
line-height: 35px;
font-size: 20px;
}
/*
* EDITOR
*/
#editor {
position: absolute;
top: 120px;
right: 0;
bottom: 0;
left: 260px;
}
input[type="text"], textarea {
max-height: 18px;
background-color: #ABABAB;
}
select {
max-height: 24px;
background-color: #ABABAB;
border: 2px inset;
border-image-source: initial;
border-image-slice: initial;
border-image-repeat: initial;
}
.flex-container {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
}
.flex-container-v {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-moz-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
height: 100%;
}
.flex-center {
-webkit-align-items: center;
-moz-align-items: center;
-ms-align-items: center;
align-items: center;
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
justify-content: center;
}
.flex-wrap {
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}
.flex-fixed {
-webkit-flex: 0 0 auto;
-moz-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
}
.flex-fill-v {
-webkit-flex: 0 1 auto;
-moz-flex: 0 1 auto;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
}
.param-row {
display: inherit;
-webkit-flex-direction: inherit;
flex-direction: inherit;
margin: 0 auto;
width: calc(100% - 10px);
width: -moz-calc(100% - 10px);
width: -webkit-calc(100% - 10px);
min-height: 36px;
}
.param-half {
display: inherit;
margin: 0 auto;
width: calc(50% - 10px);
width: -moz-calc(50% - 10px);
width: -webkit-calc(50% - 10px);
}
.param-3 {
display: inherit;
width: 25%;
}
.param-9 {
display: inherit;
width: 75%;
}
.param-full {
display: inherit;
width: 100%;
}
.param-input {
display: inherit;
margin: 10px;
width: auto;
}
::-webkit-input-placeholder {
color: #444444;
}
:-moz-placeholder { /* Firefox 18- */
color: #444444;
}
::-moz-placeholder { /* Firefox 19+ */
color: #444444;
}
:-ms-input-placeholder {
color: #444444;
}
.flex-right {
margin-left: auto;
display: inherit;
}
/*
* BUTTON TYPES
*/
.button-type {
background-color: black;
color: whitesmoke;
border: none;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
/*-webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);*/
/*-moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);*/
/*box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);*/
cursor: pointer;
font-family: Arial, Helvetica, sans-serif;
font-weight: 700;
font-size: large;
text-align: center;
line-height: 33px;
min-width: 35px;
min-height: 35px;
text-decoration: none;
margin: 5px;
padding: 1px;
/*display: inline-block;*/
}
.a-button-type {
background-color: black;
color: whitesmoke;
border: none;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
/*-webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);*/
/*-moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);*/
/*box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);*/
cursor: pointer;
font-family: Arial, Helvetica, sans-serif;
font-weight: 700;
font-size: large;
text-align: center;
line-height: 33px;
min-width: 35px;
min-height: 33px;
text-decoration: none;
margin: 5px;
padding: 1px;
/*display: inline-block;*/
}
.button-padding-extra {
padding: 1px 20px;
}
.play-button {
background: #000000 url("/images/play_white.png") no-repeat center;
background-size: 31px;
}
.chart-button {
background: #000000 url("/images/chart_white.png") no-repeat center;
background-size: 29px;
}
.download-button {
background: #000000 url("/images/download_white.png") no-repeat center;
background-size: 21px;
}
.code-button {
background: #000000 url("/images/code_white.png") no-repeat center;
background-size: 20px;
}
.save-button {
background: #000000 url("/images/save_white.png") no-repeat center;
background-size: 29px;
}
.link-button {
background: #000000 url("/images/link_white.png") no-repeat center;
background-size: 25px;
}
.open-button {
background: #000000 url("/images/open_white.png") no-repeat center;
background-size: 29px;
}
.new-button {
background: #000000 url("/images/new_white.png") no-repeat center;
background-size: 22px;
}
.delete-button {
margin-left: -10px;
border-radius: 20px;
padding: 0;
background: #333;
}
/*
* MISC
*/
.totally-hidden {
display: none;
}
.padding-10 {
padding: 10px 10px;
}
.padding-50 {
padding: 50px 50px;
}
.margin-10 {
margin: 10px 10px;
}
.margin-50 {
margin: 50px 50px;
}
.auto-margin {
margin: 0 auto;
}
.margin-top {
margin-top: 10px;
}
.fill-height {
max-height: 100%;
}
.x-large-text {
font-size: x-large;
}