MediaWiki:Gadget-ProveIt.css (MediaWiki&Gadget-ProveItQcss)
Перейти к навигации
Перейти к поиску
#proveit {
background: white;
border: 1px solid #ddd;
font-size: 0.8em;
position: fixed;
z-index: 2147483647; /* Max value */
}
#proveit-logo {
background: black;
color: white;
cursor: pointer;
float: right;
font-weight: bold;
padding: 15px;
}
#proveit-left-bracket {
color: yellow;
margin-right: 5px;
}
#proveit-right-bracket {
color: yellow;
margin-left: 5px;
}
#proveit-list-tab,
#proveit-add-tab {
color: black;
cursor: pointer;
display: inline-block;
outline: none;
padding: 15px;
}
#proveit-list-tab.active,
#proveit-add-tab.active {
background: #ccc;
}
#proveit-header span:not(.active):not(#proveit-logo):hover {
display:inline-block;
background: #eee;
}
#proveit-content {
background: #f4f4f4;
border-top: 1px solid #ddd;
overflow-y: scroll;
overflow-x: hidden;
width: 700px;
height: 300px;
resize: both;
}
#proveit-reference-list {
margin: 0;
padding: 0;
}
#proveit-reference-list .proveit-reference-item {
margin: 0;
overflow: hidden;
padding: 5px 10px;
}
#proveit-reference-list .proveit-reference-item:nth-child(even) {
background: #fff;
}
#proveit-reference-list .proveit-reference-item:hover {
background: #ccc;
cursor: pointer;
}
#proveit-reference-list .proveit-reference-item .proveit-reference-number {
font-weight: bold;
margin-right: 10px;
}
#proveit-reference-list .proveit-reference-item .proveit-reference-template {
font-weight: bold;
margin-right: 10px;
}
#proveit-reference-list .proveit-reference-item .proveit-citations {
float: right;
}
#proveit-reference-list .proveit-reference-item .proveit-citation {
color: blue;
padding: 3px;
}
#proveit-no-references-message {
text-align: center;
padding: 10px;
}
#proveit-reference-form {
margin-bottom: 50px;
}
#proveit-reference-form table {
border-spacing: 2px;
width: 100%;
}
#proveit-reference-form label {
border: 1px solid transparent;
box-sizing: border-box;
display: table-cell;
padding: 0.4em;
vertical-align: middle;
width: 20%;
}
#proveit-reference-form .proveit-required label {
font-weight: bold;
}
#proveit-reference-form input,
#proveit-reference-form select,
#proveit-reference-form textarea {
-moz-appearance:none;
-webkit-appearance: none;
background: white;
border: 1px solid #ddd;
border-radius: 0;
box-sizing: border-box;
display: table-cell;
font: inherit;
outline: none;
padding: 0.4em;
width: 100%;
}
#proveit-reference-form textarea {
height: 60px;
resize: vertical;
}
#proveit-buttons {
background: #f0f0f0;
border-spacing: 0;
border-top: 1px solid #ddd;
box-sizing: border-box;
margin: 0;
padding: 0.3em;
pointer-events: none;
position: absolute;
bottom: 0;
text-align: right;
width: 100%;
}
#proveit-buttons button {
border: 1px solid #ccc;
cursor: pointer;
font: inherit;
margin: 0 0.2em;
padding: 0.6em;
pointer-events: all;
}
#proveit-buttons button:hover {
background: #eee;
}