Skip to content
global.css 8.29 KiB
Newer Older
wangqinghua's avatar
wangqinghua committed
/* ==============================================================
Bootstrap tweaks
===============================================================*/
@import "documentation.css";
body, h1, h2, h3, h4 {
wangqinghua's avatar
wangqinghua committed
    font-weight: 400;
wangqinghua's avatar
wangqinghua committed
}
wangqinghua's avatar
wangqinghua committed
p{
    margin: 0;
}
wangqinghua's avatar
wangqinghua committed
body {
    background: #ffffff;
}

a {
    color: #533f03;
    font-weight: bold;
}

a:hover {
    color: #533f03;
    font-weight: bold;
}

/* ==========================================================================
Browser Upgrade Prompt
========================================================================== */
.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
wangqinghua's avatar
wangqinghua committed
.ant-modal-body{
    padding-top: 15px;
}
wangqinghua's avatar
wangqinghua committed

/* ==========================================================================
Generic styles
========================================================================== */

/* Error highlight on input fields */
.ng-valid[required], .ng-valid.required  {
  border-left: 5px solid green;
}

.ng-invalid:not(form)  {
  border-left: 5px solid red;
}

/* other generic styles */

.jh-card {
    padding: 1.5%;
    margin-top: 20px;
    border: none;
}

.error {
    color: white;
    background-color: red;
}

.pad {
    padding: 10px;
}

.w-40 {
    width: 40% !important;
}

.w-60 {
    width: 60% !important;
}

.break {
    white-space: normal;
    word-break:break-all;
}

.readonly {
    background-color: #eee;
    opacity: 1;
}

.footer {
    border-top: 1px solid rgba(0,0,0,.125);
    padding: 10px;
}
.footer span{
    margin-right: 20px;
}

/* ==========================================================================
make sure browsers use the pointer cursor for anchors, even with no href
========================================================================== */
a:hover {
  cursor: pointer;
}

.hand, [jhisortby] {
    cursor: pointer;
}

/* ==========================================================================
Custom alerts for notification
========================================================================== */
.alerts .alert{
    text-overflow: ellipsis;
}
.alert pre{
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    padding: 0;
    margin: 0;
}

.alert .popover pre {
    font-size: 10px;
}

.alerts .toast {
    position: fixed;
    width: 100%;
}

.alerts .toast.left {
    left: 5px;
}

.alerts .toast.right {
    right: 5px;
}

.alerts .toast.top {
    top: 55px;
}

.alerts .toast.bottom {
    bottom: 55px;
}

@media screen and (min-width: 480px) {
    .alerts .toast {
        width: 50%;
    }
}

/* ==========================================================================
entity tables helpers
========================================================================== */
/* Remove Bootstrap padding from the element
   http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.no-padding-left { padding-left: 0 !important; }
.no-padding-right { padding-right: 0 !important; }
.no-padding-top { padding-top: 0 !important; }
.no-padding-bottom { padding-bottom: 0 !important; }
.no-padding { padding: 0 !important; }

/* bootstrap 3 input-group 100% width
   http://stackoverflow.com/questions/23436430/bootstrap-3-input-group-100-width */
.width-min { width: 1% !important; }

/* Makes toolbar not wrap on smaller screens
 http://www.sketchingwithcss.com/samplechapter/cheatsheet.html#right */
.flex-btn-group-container {
   display: -webkit-flex;
   display: flex;
   -webkit-flex-direction: row;
   flex-direction: row;
   -webkit-justify-content: flex-end;
   justify-content: flex-end;
}

/* ==========================================================================
entity detail page css
========================================================================== */
.row.jh-entity-details > dd {
    margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
    .row.jh-entity-details > dt {
        margin-bottom: 15px;
    }

    .row.jh-entity-details > dd {
        border-bottom: 1px solid #eee;
        padding-left: 180px;
        margin-left: 0;
    }
}

/* ==========================================================================
ui bootstrap tweaks
========================================================================== */
.nav, .pagination, .carousel, .card-title a {
    cursor: pointer;
}

.datetime-picker-dropdown > li.date-picker-menu div > table .btn-secondary,
.uib-datepicker-popup  > li > div.uib-datepicker > table .btn-secondary {
    border: 0;
}

.datetime-picker-dropdown > li.date-picker-menu div > table:focus,
.uib-datepicker-popup  > li > div.uib-datepicker > table:focus {
    outline: none;
}

.thread-dump-modal-lock {
    max-width: 450px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
 }
/*loading*/
.square-flip {
    position: relative;
    width: 75px;
    height: 75px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center; }
.square-flip .flip {
    position: absolute;
    display: block;
    height: 60px;
    width: 60px;
    background-color: #41adef;
    animation: rotateplane 1.5s infinite linear;
}
wangqinghua's avatar
wangqinghua committed
.img-noData{
    position: relative;
    width: 100%;
wangqinghua's avatar
wangqinghua committed
    min-height: 500px;
wangqinghua's avatar
wangqinghua committed
}
wangqinghua's avatar
wangqinghua committed
.noData{
wangqinghua's avatar
wangqinghua committed
    position: absolute;
    top: 50%;
    left: 50%;
    height: 115px;
    width: 160px;
    transform: translate(-50%,-50%);
    background-image:  url("../images/noData.png");
wangqinghua's avatar
wangqinghua committed
    background-size: cover;
}
wangqinghua's avatar
wangqinghua committed
@keyframes rotateplane {
    0% {
        transform: rotateX(0); }
    25% {
        transform: rotateX(90deg); }
    50% {
        transform: rotateY(0deg); }
    75% {
        transform: rotateY(90deg); }
    100% {
        transform: rotate3d(0, 0, 0, 0); } }

/* jhipster-needle-css-add-main JHipster will add new css style */
.padding-0{
    padding: 0;
}
.padding-8-0{
    padding: 8px 0;
}
.padding-15-0{
    padding: 15px 0;
}
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}
.margin-0-16{
    margin: 0 16px;
}
wangqinghua's avatar
wangqinghua committed
.tag-form .ant-tag{
wangqinghua's avatar
wangqinghua committed
    height: 16px;
    vertical-align: sub;
wangqinghua's avatar
wangqinghua committed
    margin-right: 4px;
wangqinghua's avatar
wangqinghua committed
}

.background{
    position: relative;
    height: 100%;
    background-image: url("../images/background.jpg");
    background-size: cover;
}
wangqinghua's avatar
wangqinghua committed
.login-center{
wangqinghua's avatar
wangqinghua committed
    position: absolute;
wangqinghua's avatar
wangqinghua committed
    left: 50%;
    top: 40%;
    transform: translate(-50%,-50%);
}
.login-logo{
wangqinghua's avatar
wangqinghua committed
    text-align: center;
    font-size: 40px;
    color: rgb(189,192,198);
    background-image:-webkit-linear-gradient(bottom,#d3e3fe,#ffffff);
    -webkit-background-clip: text; /*必需加前缀 -webkit- 才支持这个text值 */
    -webkit-text-fill-color: transparent; /*text-fill-color会覆盖color所定义的字体颜色: */
    /*text-shadow:2px 2px 10px #333333;*/
wangqinghua's avatar
wangqinghua committed
}
.login-logo img{
    width: 300px;
}
.login-form{
    width: 600px;
    height: 350px;
    padding-top: 110px;
    margin: 0px auto;
    background-image: url("../images/input-bg.png");
    background-size: 100%, 100%;
}
.cursor{
    cursor: pointer;
}
wangqinghua's avatar
wangqinghua committed
.text-center{
    text-align: center;
}
wangqinghua's avatar
wangqinghua committed
.login-form .ant-form-item-control{
    width: 50%;
    margin: 0 auto;
}
wangqinghua's avatar
wangqinghua committed

.tree-div {
wangqinghua's avatar
wangqinghua committed
    border: 1px solid #dadada;
    height: 200px;
    overflow: auto;
    margin-top: 10px;
wangqinghua's avatar
wangqinghua committed
    padding: 5px 10px;
wangqinghua's avatar
wangqinghua committed
}
wangqinghua's avatar
wangqinghua committed
.time-div{
    position: absolute;
    z-index: 9;
wangqinghua's avatar
wangqinghua committed
    left: 0%;
wangqinghua's avatar
wangqinghua committed
    top: 0;
    width: 100%;
}
wangqinghua's avatar
wangqinghua committed
.ant-tooltip-inner{
    background-color: #fff;
    border: 1px solid #ddd;
    color: red;
xiaowenjie's avatar
xiaowenjie committed
    word-wrap: break-word;
wangqinghua's avatar
wangqinghua committed
}
wangqinghua's avatar
wangqinghua committed
.ant-tooltip-placement-bottom .ant-tooltip-arrow, .ant-tooltip-placement-bottomLeft .ant-tooltip-arrow, .ant-tooltip-placement-bottomRight .ant-tooltip-arrow{
    border-bottom-color:#ff9090;
}
.ant-tooltip-placement-top .ant-tooltip-arrow, .ant-tooltip-placement-topLeft .ant-tooltip-arrow, .ant-tooltip-placement-topRight .ant-tooltip-arrow{
    border-top-color:#ff9090;
wangqinghua's avatar
wangqinghua committed
}
wangqinghua's avatar
wangqinghua committed
.table-dropdown a,
.ant-dropdown-menu-item > a{
    font-weight: 400 !important;
    color:#6097b7;
}
wangqinghua's avatar
wangqinghua committed
.ant-menu-inline .ant-menu-item, .ant-menu-inline .ant-menu-submenu-title{
    width: auto;
}
wangqinghua's avatar
wangqinghua committed

wangqinghua's avatar
wangqinghua committed
.tag-warn span.select-border{
    border: 1px solid #6097b7;
    border-radius: 5px;
    padding: 2px;
    margin-right: 5px;
}
wangqinghua's avatar
wangqinghua committed

/*低版本浏览器tag标签的背景色不起作用*/
.tag-green > div.ant-tag{
    background-color: #58ca13;
}
.tag-yellow > div.ant-tag{
    background-color: #ffc029;
}
.tag-red > div.ant-tag{
    background-color: #f44e4e;
}
.tag-gray > div.ant-tag{
    background-color: #bfbfbf;
}
.tag-black > div.ant-tag{
    background-color: #000000;
}