etcd/mod/dashboard/app/styles/etcd-widgets.css
Ed Rooth 4e21405647 fix(dashboard): bugs in key browser and stats page.
Fixed key add, key delete bugs. More refactoring.
2014-02-05 22:40:04 -08:00

382 lines
6.8 KiB
CSS

body {
margin: 0px;
}
.etcd-container {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 3px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
overflow: hidden;
box-sizing: border-box;
-moz-box-sizing: border-box;
position: relative;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
margin: 20px 0;
height: 100%;
}
a {
color: #2176AC;
text-decoration: none;
}
a:hover, a:active {
text-decoration: underline;
}
input[type=text] {
box-shadow: inset 0 1px 2px rgba(0,0,0,.5);
border: none;
border-radius: 3px;
font-size: 13px;
padding-left: 5px;
padding-right: 5px;
height: 25px;
}
input[type=text]:focus {
}
h2 {
font-size: 22px;
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 500;
margin: 0 0 20px 0;
padding: 0;
}
.etcd-button {
display:inline-block;
padding:6px 12px;
margin-bottom:0;
font-size:14px;
font-weight:normal;
line-height:1.428571429;
text-align:center;
white-space:nowrap;
vertical-align:middle;
cursor:pointer;
border:1px solid transparent;
border-radius:4px;
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
-o-user-select:none;
user-select:none;
margin: 0px;
border: none;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.25);
}
.etcd-button.etcd-button-small {
height: 25px;
padding: 0 10px;
font-size: 13px;
}
.etcd-button-primary {
background-color: #428BCA;
color: #fff;
text-shadow: 0 0 3px rgba(0,0,0,0.25);
}
.etcd-button-primary:active {
background-color: #2276ad;
}
.etcd-popover {
background: #333;
border-radius: 3px;
padding: 15px;
position: absolute;
top: 39px;
z-index: 9999;
color: #fff;
font-size: 13px;
box-shadow: 0px 2px 10px rgba(0,0,0,.5);
display: none;
}
.etcd-popover-error .etcd-popover-content {
color: #FF3C43;
font-weight: bold;
user-select: text;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
}
.etcd-popover-notch {
width: 14px;
height: 14px;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
position: absolute;
margin-top: -5px;
margin-left: 3px;
background: #333;
top: 0px;
right: 15px;
}
.etcd-popover.etcd-popover-right {
left: 77px;
}
.etcd-popover-right .etcd-popover-notch {
left: 15px;
}
.etcd-popover.etcd-popover-left {
right: 10px;
}
.etcd-popover-left .etcd-popover-notch {
right: 15px;
}
.etcd-popover-confirm {
margin-top: 10px;
}
.etcd-popover-confirm button {
}
.etcd-header {
width: 100%;
position: relative;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.etcd-header.solid {
background: #eeeeee;
background: -moz-linear-gradient(top, #eeeeee 0%, #dddddd 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#dddddd));
background: -webkit-linear-gradient(top, #eeeeee 0%,#dddddd 100%);
background: -o-linear-gradient(top, #eeeeee 0%,#dddddd 100%);
background: -ms-linear-gradient(top, #eeeeee 0%,#dddddd 100%);
background: linear-gradient(to bottom, #eeeeee 0%,#dddddd 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#dddddd',GradientType=0 );
}
.etcd-body {
top: 0px;
left: 0px;
position: relative;
overflow: hidden;
height: 100%;
width: 100%;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.etcd-body table {
width: 100%;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.etcd-body table thead td {
text-transform: uppercase;
font-size: 11px;
line-height: 20px;
border-bottom: 1px solid #ddd;
padding-top: 0px;
padding-right: 10px;
padding-bottom: 0px;
padding-left: 0px;
color: #666;
}
.etcd-body table tbody td {
line-height: 18px;
border-bottom: 1px solid #ddd;
padding-top: 6px;
padding-right: 10px;
padding-bottom: 6px;
padding-left: 0px;
vertical-align: text-top;
user-select: text;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
}
.etcd-body table .etcd-ttl-header {
width: 33%;
}
.etcd-body table tbody .etcd-ttl {
font-size: 13px;
}
.etcd-body table tbody .etcd-ttl .etcd-ttl-none {
color: #999;
font-weight: 100;
}
.etcd-body table .etcd-actions-header {
width: 30px;
}
.etcd-body table thead td:first-child, .etcd-body table tbody td:first-child {
padding-left: 10px;
}
.etcd-body table thead td:last-child, .etcd-body table tbody td:last-child {
padding-right: 10px;
}
.etcd-container .etcd-preview .etcd-dialog {
background: #333;
position: absolute;
right: 0px;
left: 0px;
padding: 20px;
color: #fff;
font-size: 14px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
bottom: 0px;
opacity: 0;
min-height: 110px; /* REMOVE ME! */
transition-property: all;
transition-duration: 150ms;
transition-timing-function: ease-in-out;
}
.etcd-container .etcd-preview .etcd-dialog .etcd-dialog-message {
margin-bottom: 20px;
}
.etcd-container .etcd-preview .etcd-dialog .etcd-dialog-buttons a {
line-height: 34px;
color: #fff;
vertical-align: middle;
margin-left: 10px;
}
.etcd-body .etcd-list {
padding: 20px;
box-sizing: border-box;
-moz-box-sizing: border-box;
overflow: auto;
height: 100%;
position: absolute;
}
.etcd-body .etcd-list .etcd-selected {
background-color: #EAF3FF;
}
.etcd-body .etcd-list a.directory {
font-weight: bold;
}
.etcd-list tr:hover .etcd-delete {
visibility: visible;
fill: #ff0000;
}
.etcd-delete {
height: 20px;
width: 25px;
vertical-align: middle;
margin: 0px;
display: inline-block;
}
.etcd-delete {
height: 20px;
fill: #eee;
}
.etcd-selected .etcd-delete {
height: 20px;
fill: #ddd;
}
.etcd-delete:hover {
cursor: pointer;
fill: #ff0000;
}
.etcd-back {
height: 37px;
width: 37px;
vertical-align: middle;
margin: 0px;
position: absolute;
top: 0px;
left: 3px;
display: none;
}
.etcd-back svg {
height: 20px;
padding: 8px 6px;
}
.etcd-back:hover svg {
cursor: pointer;
fill: #428bca;
}
.etcd-back.etcd-disabled svg {
fill: #bbb;
}
.etcd-add {
height: 37px;
width: 37px;
vertical-align: middle;
margin: 0px;
position: absolute;
top: 0px;
left: 36px;
}
.etcd-add svg {
height: 22px;
padding: 7px 6px;
}
.etcd-add:hover svg {
cursor: pointer;
fill: #428bca;
}
.etcd-add.etcd-disabled svg {
fill: #bbb;
}
.etcd-format-selector {
position: absolute;
top: 12px;
right: 16px;
z-index: 999;
}
.etcd-format-selector .etcd-selector-item {
display: inline-block;
height: 12px;
width: 12px;
padding: 8px 4px;
}
.etcd-format-selector .etcd-selector-item:hover {
cursor: pointer;
}
.etcd-format-selector .etcd-selector-item svg {
fill: #333;
}