portainer/assets/css/app.css

936 lines
16 KiB
CSS

html, body, #page-wrapper, #content-wrapper, .page-content, #view {
height: 100%;
width: 100%;
}
#view {
position: relative;
}
.white-space-normal {
white-space: normal !important;
}
.logo { display: inline; max-width: 155px; max-height: 55px; }
.legend .title { padding: 0 0.3em; margin: 0.5em; border-style: solid; border-width: 0 0 0 1em; }
.messages { max-height: 50px; overflow-x: hidden; overflow-y: scroll; }
.containerNameInput { width: 85%; border:none; background:none; border-bottom: 1px solid black; }
.containerNameInput:active, .containerNameInput:focus {
outline:none;
}
#network-legend {
text-align: center;
}
#network-legend span {
display: inline;
font-size: 18px;
}
.header_title_content {
margin-left: 5px;
}
.form-section-title {
border-bottom: 1px solid #777;
margin-top: 5px;
margin-bottom: 15px;
color: #777;
padding-left: 0;
}
.form-horizontal .control-label.text-left{
text-align: left;
font-size: 0.9em;
}
input[type="checkbox"] {
margin-top: 1px;
vertical-align: middle;
}
a[ng-click]{
cursor: pointer;
}
.space-right {
margin-right: 5px;
}
.space-left {
margin-left: 5px;
}
.portainer-disabled-link {
color: gray;
pointer-events: none;
}
.portainer-disabled-datatable {
color: gray;
}
.portainer-disabled-datatable a {
color: gray;
pointer-events: none;
}
.tooltip.portainer-tooltip .tooltip-inner {
font-family: Montserrat;
background-color: #ffffff;
padding: .833em 1em;
color: #333333;
border: 1px solid #d4d4d5;
border-radius: .14285714rem;
box-shadow: 0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.15);
}
.tooltip.portainer-tooltip .tooltip-arrow {
display: none;
}
.fa.tooltip-icon {
margin-left: 5px;
font-size: 1.3em;
color: #337ab7;
}
.fa.green-icon {
color: #23ae89;
}
.fa.red-icon {
color: #ae2323;
}
.fa.orange-icon {
color: #f0ad4e;
}
.fa.white-icon {
color: white;
}
.fa.blue-icon, .fab.blue-icon {
color: #337ab7;
}
.text-warning {
color: #f0ad4e;
}
.widget .widget-body table tbody .image-tag {
font-size: 90% !important;
margin-right: 5px;
}
.widget .widget-body table tbody .fit-text-size {
font-size: 90% !important;
}
.widget .widget-body table thead th {
font-weight: normal;
}
.widget .widget-body .nowrap-cells tbody td {
white-space: nowrap;
}
.widget .widget-body table tbody td {
white-space: normal;
word-break: break-word;
}
.widget .widget-body table.description-table {
table-layout: fixed;
}
.template-widget {
height: 100%;
}
.template-widget-body {
max-height: 86%;
overflow-y: auto;
}
.blocklist {
display: flex;
flex-direction: column;
padding: 10px;
}
.blocklist-item {
padding: 0.7rem;
margin-bottom: 0.7rem;
cursor: pointer;
border: 1px solid #cccccc;
border-radius: 2px;
box-shadow: 0 3px 10px -2px rgba(161, 170, 166, 0.5);
}
.blocklist-item--disabled {
cursor: auto;
background-color: #ececec;
}
.blocklist-item--selected {
border: 2px solid #bbbbbb;
background-color: #ececec;
color: #2d3e63;
}
.blocklist-item:hover {
background-color: #ececec;
color: #2d3e63;
}
.blocklist-item-box {
display: flex;
}
.blocklist-item-line.endpoint-item {
padding: 4px;
}
.blocklist-item-line {
display: flex;
justify-content: space-between;
}
.blocklist-item-logo {
width: 100%;
max-width: 60px;
height: 100%;
max-height: 60px;
}
.blocklist-item-logo.endpoint-item {
margin: 10px 4px 0 6px;
}
.blocklist-item-logo.endpoint-item.azure {
margin: 0 0 0 10px;
}
.blocklist-item-title {
font-size: 1.8em;
font-weight: bold;
}
.blocklist-item-title.endpoint-item {
font-size: 1em;
font-weight: bold;
}
.blocklist-item-subtitle {
font-size: 0.9em;
padding-right: 1em;
}
.blocklist-item-desc {
font-size: 0.9em;
padding-right: 1em;
}
.template-note {
padding: 0.5em;
font-size: 0.9em;
}
.nopadding {
padding: 0 !important;
}
.padding-top {
padding-top: 15px !important;
}
.terminal-container {
width: 100%;
padding: 10px 0;
}
.interactive {
cursor: pointer;
}
.custom-header-ico {
max-width: 32px;
max-height: 32px;
margin-right: 2px;
}
.btn-responsive {
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
.btn-datatable {
padding: 2.6px 7.8px 3.9px;
line-height: 1;
margin: 0px 0px 0px 0px;
}
@media screen and (min-width: 1107px) {
.btn-responsive {
padding: 6px 12px;
font-size: 14px;
line-height: 1.42857143;
border-radius: 4px;
}
}
.page-wrapper {
height: 100%;
width: 100%;
display: flex;
align-items: center;
}
.simple-box {
margin-bottom: 80px;
}
.simple-box > div:first-child {
padding-bottom: 10px;
}
.simple-box-logo {
display: block;
margin: auto;
position: relative;
width: 240px;
margin-bottom: 10px;
}
.simple-box-form > div {
margin-bottom: 25px;
}
.simple-box-form > div:last-child {
margin-top: 10px;
margin-bottom: 10px;
}
.panel-body {
padding-top: 30px;
background-color: #ffffff;
}
.pagination-controls {
margin-left: 10px;
}
.user-box {
margin-right: 25px;
}
.select-endpoint {
width: 80%;
margin: 0 auto;
}
ul.sidebar {
position: relative;
overflow: hidden;
flex-shrink: 0;
}
ul.sidebar .sidebar-title {
height: auto;
}
ul.sidebar .sidebar-title.endpoint-name {
color: #fff;
text-align: center;
text-indent: 0;
}
ul.sidebar .sidebar-list a {
font-size: 14px;
}
ul.sidebar .sidebar-list a.active {
color: #fff;
text-indent: 22px;
border-left: 3px solid #fff;
background: #2d3e63;
}
.sidebar-header {
height: 60px;
list-style: none;
text-indent: 20px;
font-size: 18px;
background: #2d3e63;
}
.sidebar-header a { color: #fff; }
.sidebar-header a:hover {text-decoration: none; }
.sidebar-header .menu-icon {
float: right;
padding-right: 28px;
line-height: 60px;
}
#page-wrapper:not(.open) .sidebar-footer-content {
display: none;
}
.sidebar-footer-content {
text-align: center;
}
.sidebar-footer-content .logo {
width: 100%;
max-width: 100px;
height: 100%;
max-height: 35px;
margin: 2px 0 2px 20px;
}
.sidebar-footer-content .update-notification {
font-size: 14px;
padding: 12px;
border-radius: 2px;
background-color: #FF851B;
margin-bottom: 5px;
}
.sidebar-footer-content .version {
font-size: 11px;
margin: 11px 20px 0 7px;
color: #fff;
}
#sidebar-wrapper {
display: flex;
flex-flow: column;
}
.sidebar-content {
display: flex;
flex-direction: column;
justify-content: space-between;
overflow-y: auto;
overflow-x: hidden;
height: 100%;
}
#image-layers .btn{
padding: 0;
}
#image-layers .expand{
padding-right: 0;
}
.createResource {
margin-left: 5px;
font-size: 90%;
}
ul.sidebar .sidebar-list a.active .menu-icon {
text-indent: 25px;
}
ul.sidebar .sidebar-list .sidebar-sublist a {
text-indent: 35px;
font-size: 12px;
color: #b2bfdc;
line-height: 36px;
}
ul.sidebar .sidebar-title {
line-height: 36px;
}
ul.sidebar .sidebar-title .form-control {
height: 36px;
padding: 6px 12px;
}
ul.sidebar .sidebar-list {
height: 36px;
}
ul.sidebar .sidebar-list a, ul.sidebar .sidebar-list .sidebar-sublist a {
line-height: 36px;
}
ul.sidebar .sidebar-list .menu-icon {
line-height: 36px;
}
ul.sidebar .sidebar-list .sidebar-sublist a.active {
color: #fff;
border-left: 3px solid #fff;
background: #2d3e63;
}
@media (max-height: 785px) {
ul.sidebar .sidebar-title {
line-height: 26px;
}
ul.sidebar .sidebar-title .form-control {
height: 26px;
padding: 3px 6px;
}
ul.sidebar .sidebar-list {
height: 26px;
}
ul.sidebar .sidebar-list a, ul.sidebar .sidebar-list .sidebar-sublist a {
font-size: 12px;
line-height: 26px;
}
ul.sidebar .sidebar-list .menu-icon {
line-height: 26px;
}
}
@media(min-height: 786px) and (max-height: 924px) {
ul.sidebar .sidebar-title {
line-height: 30px;
}
ul.sidebar .sidebar-title .form-control {
height: 30px;
padding: 5px 10px;
}
ul.sidebar .sidebar-list {
height: 30px;
}
ul.sidebar .sidebar-list a, ul.sidebar .sidebar-list .sidebar-sublist a {
font-size: 12px;
line-height: 30px;
}
ul.sidebar .sidebar-list .menu-icon {
line-height: 30px;
}
}
@media(min-width: 768px){
.margin-sm-top {
margin-top: 5px;
}
}
@media (min-width: 768px) {
.pull-sm-left {
float: left !important;
}
.pull-sm-right {
float: right !important;
}
.pull-sm-none {
float: none !important;
}
}
@media (min-width: 992px) {
.pull-md-left {
float: left !important;
}
.pull-md-right {
float: right !important;
}
.pull-md-none {
float: none !important;
}
}
@media (min-width: 1200px) {
.pull-lg-left {
float: left !important;
}
.pull-lg-right {
float: right !important;
}
.pull-lg-none {
float: none !important;
}
}
.pull-none {
float: none !important;
}
.bootbox-form .bootbox-input-checkbox {
display: none
}
.bootbox-form label {
padding-left: 0;
}
.switch input {
display: none;
}
.small-select {
display: inline-block;
padding: 0px 6px;
margin-left: 10px;
color: #555555;
background-color: #fff;
background-image: none;
border-radius: 4px;
font-size: 14px;
}
.bootbox-form .checkbox i {
margin-left: 21px;
}
.switch i, .bootbox-form .checkbox i {
display: inline-block;
vertical-align: middle;
cursor: pointer;
padding-right: 24px;
transition: all ease 0.2s;
-webkit-transition: all ease 0.2s;
-moz-transition: all ease 0.2s;
-o-transition: all ease 0.2s;
border-radius: 24px;
box-shadow: inset 0 0 1px 1px rgba(0,0,0,.5);
}
.switch i:before, .bootbox-form .checkbox i:before {
display: block;
content: '';
width: 24px;
height: 24px;
border-radius: 24px;
background: white;
box-shadow: 0 0 1px 1px rgba(0,0,0,.5);
}
.switch :checked + i, .bootbox-form .checkbox :checked ~ i {
padding-right: 0;
padding-left: 24px;
-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,.5), inset 0 0 40px #337ab7;
-moz-box-shadow: inset 0 0 1px rgba(0,0,0,.5), inset 0 0 40px #337ab7;
box-shadow: inset 0 0 1px rgba(0,0,0,.5), inset 0 0 40px #337ab7;
}
.boxselector_wrapper {
display: flex;
flex-flow: row wrap;
margin: 0.5rem;
}
.boxselector_wrapper > div {
flex: 1;
padding: 0.5rem;
}
.boxselector_wrapper .boxselector_header {
font-size: 14px;
margin-bottom: 5px;
font-weight: bold;
}
.boxselector_header .fa,.fab {
font-weight: normal;
}
.boxselector_wrapper input[type="radio"] {
display: none;
}
.boxselector_wrapper input[type="radio"]:not(:disabled) ~ label {
cursor: pointer;
}
.boxselector_wrapper label {
font-weight: normal;
font-size: 12px;
display: block;
background: white;
border: 1px solid #333333;
border-radius: 2px;
padding: 10px 10px 0 10px;
text-align: center;
box-shadow: 0 3px 10px -2px rgba(161, 170, 166, 0.5);
position: relative;
}
.boxselector_wrapper label.boxselector_disabled {
background: #CACACA;
border-color: #787878;
color: #787878;
cursor: not-allowed;
}
.boxselector_wrapper input[type="radio"]:checked + label {
background: #337ab7;
color: white;
padding-top: 2rem;
border-color: #337ab7;
}
.boxselector_wrapper input[type="radio"]:checked + label::after {
color: #337ab7;
font-family: "Font Awesome 5 Free";
border: 2px solid #337ab7;
content: "\f00c";
font-size: 16px;
font-weight: bold;
position: absolute;
top: -15px;
left: 50%;
transform: translateX(-50%);
height: 30px;
width: 30px;
line-height: 26px;
text-align: center;
border-radius: 50%;
background: white;
box-shadow: 0 2px 5px -2px rgba(0, 0, 0, 0.25);
}
@media only screen and (max-width: 700px) {
.boxselector_wrapper {
flex-direction: column;
}
}
.visualizer_container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
}
.visualizer_container .node {
border: 1px dashed #337ab7;
background-color: rgb(51, 122, 183);
background-color: rgba(51, 122, 183, 0.1);
border-radius: 4px;
box-shadow: 0 3px 10px -2px rgba(161, 170, 166, 0.5);
padding: 15px;
margin: 5px;
}
.visualizer_container .node .node_info {
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
border-bottom: 1px solid #777;
padding-bottom: 10px;
}
.visualizer_container .node .node_info .node_platform {
margin-left: 2px;
font-size: 16px;
}
.visualizer_container .node .node_info .node_labels {
border-top: 1px solid #777;
padding-top: 10px;
margin-top: 10px;
}
.visualizer_container .node .node_info .node_label {
font-style: italic;
color: #787878;
}
.visualizer_container .node .tasks {
display: flex;
flex-direction: column;
margin-top: 5px;
}
.visualizer_container .node .tasks .task {
border: 1px solid #333333;
border-radius: 2px;
box-shadow: 0 3px 10px -2px rgba(161, 170, 166, 0.5);
padding: 10px;
margin: 5px;
font-size: 10px;
}
.visualizer_container .node .tasks .task div {
padding: 2px;
}
.visualizer_container .node .tasks .task_running {
border-radius: 4px;
background-color: rgb(35, 174, 137);
background-color: rgba(35, 174, 137, 0.2);
}
.visualizer_container .node .tasks .task_stopped {
border-radius: 4px;
background-color: rgb(174, 35, 35);
background-color: rgba(174, 35, 35, 0.2);
}
.visualizer_container .node .tasks .task_warning {
border-radius: 4px;
background-color: rgb(240, 173, 78);
background-color: rgba(240, 173, 78, 0.2);
}
.visualizer_container .node .tasks .task_info {
border-radius: 4px;
background-color: rgb(70, 184, 218);
background-color: rgba(70, 184, 218, 0.2);
}
.visualizer_container .node .tasks .task .service_name {
text-align: center;
margin-bottom: 5px;
}
.log_viewer {
height:100%;
overflow-y: scroll;
color: black;
font-size: .85em;
background-color: white;
}
.log_viewer.wrap_lines {
white-space: pre-wrap;
}
.log_viewer .inner_line {
padding: 0 15px;
cursor: pointer;
margin-bottom: 0;
}
.log_viewer .inner_line:empty::after {
content: '.';
visibility: hidden;
}
.log_viewer .line_selected {
background-color: #C5CAE9;
}
.row.header .meta .page {
padding-top: 7px;
}
.tag {
padding: 2px 6px;
color: white;
background-color: #337ab7;
border: 1px solid #2e6da4;
border-radius: 4px;
}
.template-envvar {
padding-bottom: 5px;
}
.line-separator{
border-bottom: 1px solid #777;
width: 50%;
margin: 20px auto 10px auto;
}
.modal {
text-align: center;
padding: 0!important;
}
.modal::before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -4px;
}
.modal-dialog {
display: inline-block;
text-align: left;
vertical-align: middle;
}
/*bootbox override*/
.modal-open {
padding-right: 0 !important;
}
.image-zoom-modal .modal-dialog {
width: 80%;
}
/*!bootbox override*/
/*angular-multi-select override*/
.multiSelect > button {
min-height: 30px !important;
background-color: unset;
background-image: unset;
}
.multiSelect .multiSelectItem:not(.multiSelectGroup).selected
{
background-image: linear-gradient( #337ab7, #337ab7 );
color: #fff;
border: none;
}
.multiSelect .multiSelectItem:hover,
.multiSelect .multiSelectGroup:hover {
background-image: linear-gradient( #337ab7 , #337ab7 ) !important;
color: #fff !important;
}
.multiSelect .tickMark,
.widget .widget-body table tbody .multiSelect .tickMark {
top: 2px;
right: 12px;
font-size: 20px !important;
}
/*!angular-multi-select override*/
/*toaster override*/
#toast-container > div {
opacity: 0.9;
}
/*!toaster override*/
/*angular-loading-bar override*/
#loadingbar-placeholder {
margin-bottom: 0;
height: 3px;
}
#loading-bar .bar {
position: relative;
height: 3px;
background: #738bc0;
}
/*!angular-loading-bar override*/
.monospaced {
font-family: monospace;
font-weight: 600;
}
/* json-tree override */
json-tree {
font-size: 13px;
color: #30426a;
}
json-tree .key {
color: #738bc0;
padding-right: 5px;
}
json-tree .branch-preview {
font-style: normal;
font-size: 11px;
opacity: .5;
}
/* !json-tree override */