lychee/assets/css/message.css

210 lines
4.5 KiB
CSS
Raw Normal View History

/**
* @name message.css
* @author Tobias Reich
* @copyright 2014 by Tobias Reich
*/
.message_overlay {
position: fixed;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
background-color: rgba(0,0,0,.85);
z-index: 1000;
}
.message {
position: absolute;
display: inline-block;
width: 500px;
margin-left: -250px;
margin-top: -95px;
background-color: #444;
2014-07-18 21:01:19 +00:00
background-image: linear-gradient(to bottom, rgb(75, 75, 75), rgb(45, 45, 45));
border-radius: 5px;
2014-06-20 21:22:36 +00:00
box-shadow: 0px 0px 5px #000, inset 0px 1px 0px rgba(255,255,255,.08);
/* Animation */
animation-name: moveUp;
animation-duration: .3s;
2014-03-16 18:23:23 +00:00
animation-timing-function: cubic-bezier(0.51,.92,.24,1.15);
}
/* Header ------------------------------------------------*/
.message h1 {
float: left;
width: 100%;
padding: 12px 0px;
color: #fff;
font-size: 16px;
font-weight: bold;
2014-06-20 21:22:36 +00:00
text-shadow: 0px -1px 0px rgba(0, 0, 0, .3);
text-align: center;
}
.message .close {
position: absolute;
top: 0px;
right: 0px;
padding: 12px 14px 6px 7px;
color: #aaa;
font-size: 20px;
2014-06-20 21:22:36 +00:00
text-shadow: 0px -1px 0px rgba(0, 0, 0, .3);
cursor: pointer;
}
.message .close:hover {
color: #fff;
}
/* Text ------------------------------------------------*/
.message p {
float: left;
width: 90%;
margin-top: 1px;
padding: 12px 5% 15px 5%;
color: #eee;
font-size: 14px;
2014-06-20 21:22:36 +00:00
text-shadow: 0px -1px 0px rgba(0, 0, 0, .3);
line-height: 20px;
}
.message p b {
font-weight: bold;
2014-08-09 15:07:22 +00:00
color: #fff;
}
.message p a {
color: #eee;
text-decoration: none;
border-bottom: 1px dashed #888;
}
/* Button ------------------------------------------------*/
.message .button {
float: right;
margin: 15px 15px 15px 0px;
2014-06-20 21:22:36 +00:00
padding: 7px 10px 8px 10px;
color: #ccc;
font-size: 14px;
font-weight: bold;
text-align: center;
text-shadow: 0px -1px 0px #222;
border-radius: 5px;
2014-06-20 21:22:36 +00:00
border: 1px solid rgba(0,0,0,.4);
box-shadow: inset 0px 1px 0px rgba(255,255,255,.08), 0px 1px 0px rgba(255,255,255,.05);
cursor: pointer;
}
.message .button:first-of-type {
margin: 15px 5% 18px 0px !important;
}
.message .button.active {
color: #fff;
2014-06-20 21:22:36 +00:00
box-shadow: inset 0px 1px 0px rgba(255,255,255,.08), 0px 1px 0px rgba(255,255,255,.1), 0px 0px 4px #005ecc;
}
.message .button:hover {
2014-07-18 21:01:19 +00:00
background-image: linear-gradient(to bottom, rgb(60, 60, 60), rgb(57, 57, 57));
}
.message .button:active,
.message .button.pressed {
background-color: #393939;
2014-07-18 21:01:19 +00:00
background-image: linear-gradient(to bottom, rgb(57, 57, 57), rgb(60, 60, 60));
}
/* Sign in ------------------------------------------------*/
.sign_in {
float: left;
width: 100%;
margin-top: 1px;
padding: 5px 0px;
color: #eee;
font-size: 14px;
text-shadow: 0px -1px 0px #222;
line-height: 20px;
}
.sign_in input {
float: left;
width: 88%;
padding: 7px 1% 9px 1%;
margin: 0px 5%;
background-color: transparent;
color: #fff;
text-shadow: 0px -1px 0px #222;
border: none;
border-bottom: 1px solid #222;
box-shadow: 0px 1px 0px rgba(255,255,255,.1);
border-radius: 0px;
outline: none;
}
.sign_in input:first-of-type {
margin-bottom: 10px;
}
.sign_in input.error:focus {
box-shadow: 0px 1px 0px rgba(204, 0, 7, 0.6);
}
.message #version {
display: inline-block;
margin-top: 23px;
margin-left: 5%;
color: #888;
text-shadow: 0px -1px 0px #111;
}
.message #version span {
display: none;
}
.message #version span a {
color: #888;
}
/* Input Misc ------------------------------------------------*/
.message input.text {
float: left;
width: calc(100% - 10px);
padding: 17px 5px 9px 5px;
margin-top: 10px;
background-color: transparent;
color: #fff;
text-shadow: 0px -1px 0px #222;
border: none;
box-shadow: 0px 1px 0px rgba(255,255,255,.1);
border-bottom: 1px solid #222;
border-radius: 0px;
outline: none;
}
.message input.less {
margin-bottom: -10px;
}
.message input.more {
margin-bottom: 30px;
}
.message .copylink {
margin-bottom: 20px;
2014-04-14 15:19:56 +00:00
}
/* Radio Buttons ------------------------------------------------*/
.message .choice {
float: left;
margin: 12px 5%;
width: 90%;
2014-04-14 15:19:56 +00:00
color: #fff;
}
.message .choice input {
float: left;
}
.message .choice h2 {
float: left;
margin: 1px 0px 0px 8px;
color: #fff;
font-size: 14px;
font-weight: 700;
2014-06-20 21:22:36 +00:00
text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
2014-04-14 15:19:56 +00:00
}
.message .choice p {
margin-top: 2px;
padding: 0px 5% 0px 25px;
color: #aaa;
font-size: 13px;
}
.message .choice p input {
width: 100%;
padding: 10px 1px 9px;
margin-top: 10px;
}