gallery.accords-library.com/client/css/main.css

149 lines
3.2 KiB
CSS
Raw Normal View History

2016-03-27 22:19:06 +00:00
* {
--main-color: #24AADD;
--top-nav-color: #F5F5F5;
--text-color: #111;
--inactive-link-color: #888;
--line-color: #DDD;
2016-04-07 19:12:08 +00:00
--inactive-tab-text-color: var(--inactive-link-color);
--active-tab-text-color: var(--text-color);
--active-tab-background-color: #E5E5E5;
--message-error-border-color: #FCC;
--message-error-background-color: #FFF5F5;
2016-03-31 20:33:49 +00:00
--message-success-border-color: #D3E3D3;
--message-success-background-color: #F5FFF5;
2016-03-27 22:19:06 +00:00
--input-bad-border-color: #FCC;
--input-bad-background-color: #FFF5F5;
--input-good-border-color: #D3E3D3;
--input-good-background-color: #F5FFF5;
2016-04-06 13:11:20 +00:00
--input-enabled-background-color: #FAFAFA;
--input-enabled-border-color: #EEE;
--input-enabled-text-color: var(--text-color);
--input-disabled-background-color: #FAFAFA;
--input-disabled-border-color: #EEE;
--input-disabled-text-color: #888;
--button-enabled-text-color: white;
--button-enabled-background-color: var(--main-color);
--button-disabled-text-color: #666;
--button-disabled-background-color: #CCC;
2016-03-27 22:19:06 +00:00
}
body {
margin: 0;
2016-03-27 22:19:06 +00:00
color: var(--text-color);
font-family: 'Droid Sans' !important;
font-size: 12pt;
line-height: 18pt;
}
h1, h2, h3 {
2016-03-30 14:07:11 +00:00
font-weight: normal;
}
2016-03-27 21:00:54 +00:00
a {
2016-03-27 22:19:06 +00:00
color: var(--main-color);
text-decoration: none;
2016-03-27 21:00:54 +00:00
}
#content-holder {
2016-03-30 14:07:11 +00:00
margin-top: 2em;
text-align: center;
}
#content-holder>.content-wrapper {
text-align: left;
display: inline-block;
margin: 0 auto;
2016-03-31 20:33:49 +00:00
}
#content-holder>.content-wrapper:not(.transparent) {
2016-03-30 14:07:11 +00:00
background: var(--top-nav-color);
padding: 2em;
}
#content-holder>.content-wrapper>*:first-child {
margin-top: 0;
}
hr {
border: 0;
2016-03-27 22:19:06 +00:00
border-top: 1px solid var(--line-color);
margin: 1em 0;
padding: 0;
}
nav ul {
list-style-type: none;
padding: 0;
margin: 0;
display: inline-block;
}
nav ul li {
display: inline-block;
padding: 0;
margin: 0;
}
nav ul li a {
display: inline-block;
}
nav ul li img {
margin: 0;
vertical-align: top; /* fix ghost margin under the image */
}
2016-04-06 20:34:21 +00:00
nav.plain-nav ul li {
display: block;
}
nav.plain-nav ul li a {
display: inline;
}
nav.text-nav {
margin: 1em 0;
}
nav.text-nav ul li a {
padding: 0.3em 1.2em;
}
nav.text-nav ul li:not(.active) a {
2016-04-07 19:12:08 +00:00
color: var(--inactive-tab-text-color);
}
nav.text-nav ul li.active a {
2016-04-07 19:12:08 +00:00
background: var(--active-tab-background-color);
color: var(--active-tab-text-color);
}
#top-nav {
2016-03-27 22:19:06 +00:00
background: var(--top-nav-color);
margin: 0;
}
#top-nav ul {
display: block;
text-align: right;
}
#top-nav ul li {
float: left;
}
#top-nav ul li[data-name=register],
#top-nav ul li[data-name=login],
#top-nav ul li[data-name=logout],
#top-nav ul li[data-name=help] {
float: none;
}
2016-03-31 19:15:05 +00:00
#top-nav .access-key {
text-decoration: underline;
}
2016-03-31 20:33:49 +00:00
.messages {
margin: 0 auto;
2016-03-31 20:33:49 +00:00
width: 30em;
2016-04-02 16:57:17 +00:00
max-width: 100%;
2016-03-31 20:33:49 +00:00
}
.messages .message {
2016-03-31 20:33:49 +00:00
display: inline-block;
text-align: left;
padding: 0.5em 1em;
}
.message.error {
border: 1px solid var(--message-error-border-color);
background: var(--message-error-background-color);
}
2016-03-31 20:33:49 +00:00
.message.success {
border: 1px solid var(--message-success-border-color);
background: var(--message-success-background-color);
}