spee.ch/public/assets/css/componentStyle.css

227 lines
2.7 KiB
CSS
Raw Normal View History

2017-06-23 06:43:53 +02:00
/* top bar */
#logo, #title {
2017-07-26 03:49:02 +02:00
float: left;
2017-06-23 06:43:53 +02:00
}
#logo {
height: 1.5em;
}
#title {
margin: 2px 5px 2px 5px;
}
2017-07-26 03:49:02 +02:00
.top-bar-left {
float: left;
}
.top-bar-tagline {
font-style: italic;
color: grey;
}
.top-bar-right {
2017-07-26 03:49:02 +02:00
margin-left: 0.5em;
}
/* publish */
#drop-zone {
border: 1px dashed lightgrey;
padding: 1em;
2017-08-20 21:01:52 +02:00
height: 13em;
background: #F5F0EF;
}
#asset-preview-holder {
width: 100%;
margin-bottom: 1em;
}
2017-08-20 21:01:52 +02:00
#claim-name-input-area {
2017-07-23 03:01:17 +02:00
border-bottom: 1px blue solid;
float: left;
margin-bottom: 1em;
font-weight: bold;
}
2017-08-20 21:01:52 +02:00
.publish-input, #publish-license {
border: 1px solid lightgrey;
}
.publish-input {
padding: 1%;
width: 90%
}
2017-07-23 03:01:17 +02:00
#claim-name-input {
border: 0px;
}
#claim-name-input:focus {
outline: none
}
2017-07-06 03:26:33 +02:00
/* show routes */
.show-asset {
2017-07-06 03:26:33 +02:00
width: 100%;
margin-bottom: 1em;
margin-top: 1em;
}
.show-asset-lite {
margin: 0px;
2017-07-06 08:22:47 +02:00
}
2017-07-07 02:38:57 +02:00
.panel.links {
font-size: small;
}
input.link {
width: 80%;
}
button.copy-button {
padding: 4px;
float: right;
}
2017-07-17 22:59:21 +02:00
.share-option {
margin-bottom: 1em;
}
2017-07-07 02:38:57 +02:00
.metadata-table {
2017-07-06 08:22:47 +02:00
font-size: small;
2017-07-07 02:38:57 +02:00
border-collapse: collapse;
margin-bottom: 1em;
}
.metadata-row {
border-bottom: 1px solid lightgrey;
margin: 2px;
2017-07-06 08:22:47 +02:00
}
.left-column {
width: 30%;
font-weight: bold;
vertical-align: top;
2017-07-06 03:26:33 +02:00
}
/* trending claims */
.grid-item {
width: 23%;
margin: 0px 1% 20px 1%;
}
/* learn more */
2017-07-03 20:16:51 +02:00
.learn-more {
text-align: center;
margin-top: 2px;
padding-top: 2px;
2017-07-07 02:38:57 +02:00
border-top: 1px solid lightgrey;
2017-07-03 20:16:51 +02:00
}
2017-06-23 06:43:53 +02:00
/* examples */
.example {
2017-07-03 20:16:51 +02:00
clear: both;
2017-06-23 06:43:53 +02:00
width: 100%;
margin-bottom: 15px;
2017-07-03 20:16:51 +02:00
overflow: auto;
2017-06-23 06:43:53 +02:00
}
2017-07-03 20:16:51 +02:00
.example-image, .example-code {
2017-06-23 06:43:53 +02:00
float: left;
2017-07-06 08:22:47 +02:00
margin: 2%;
2017-06-23 06:43:53 +02:00
}
2017-07-03 20:16:51 +02:00
.example-image {
2017-07-06 08:22:47 +02:00
width: 21%;
2017-07-03 20:16:51 +02:00
}
.example-code {
2017-07-06 08:22:47 +02:00
float: right;
padding: 4%;
width: 62%;
2017-07-03 20:16:51 +02:00
background-color: lightgrey;
font-family: monospace;
color: #666;
word-wrap: break-word;
}
/* contribute */
#github-logo {
float: right;
height: 1em;
}
2017-06-23 06:43:53 +02:00
/* all claims */
2017-06-23 21:53:19 +02:00
.all-claims-item {
margin-top: 2px;
padding-top: 2px;
border-top: 1px lightgrey solid;
overflow: auto;
}
2017-06-23 06:43:53 +02:00
.all-claims-img {
2017-06-23 21:53:19 +02:00
width: 20%;
float: left;
margin: 5px 30px 5px 0px;
2017-06-23 06:43:53 +02:00
}
2017-07-03 20:16:51 +02:00
.all-claims-details {
word-wrap: break-word;
list-style: none;
list-style-type: none;
}
2017-06-29 23:34:23 +02:00
/* statistics */
.totals-row {
border-top: 1px solid grey;
border-bottom: 1px solid grey;
font-weight: bold;
}
2017-08-04 18:29:19 +02:00
.stats-table-url {
word-wrap: break-word;
}
2017-07-03 20:16:51 +02:00
@media (max-width: 750px) {
.all-claims-img {
width:30%;
}
.all-claims-details {
font-size: small;
}
.show-asset-lite {
width: 100%;
}
2017-07-28 05:50:11 +02:00
.top-bar-tagline {
clear: both;
text-align: left;
width: 100%;
}
2017-07-03 20:16:51 +02:00
}
@media (max-width: 475px) {
2017-07-28 05:50:11 +02:00
div#publish-active-area {
margin-left: 2em;
margin-right: 2em;
}
2017-07-03 20:16:51 +02:00
.all-claims-img {
width:50%;
}
2017-07-28 05:50:11 +02:00
.top-bar-right {
display: none;
}
2017-07-03 20:16:51 +02:00
}