diff --git a/Bootstrap.Admin/Content/css/admin.css b/Bootstrap.Admin/Content/css/admin.css index eeb267b5..d43c2d3f 100644 --- a/Bootstrap.Admin/Content/css/admin.css +++ b/Bootstrap.Admin/Content/css/admin.css @@ -145,3 +145,155 @@ ul.sidebar-menu { transition: all 0.3s ease; color: #aeb2b7; } + +.notify-row { + position: absolute; + right: 342px; + top: 15px; +} + + .notify-row .badge { + position: absolute; + right: -10px; + top: -10px; + z-index: 100; + } + + .notify-row .badge.bg-success { + background: #a9d86e; + } + + .notify-row .badge.bg-important { + background: #ff6c60; + } + + .notify-row .badge.bg-warning { + background: #FCB322; + } + +.notify-arrow { + border-style: solid; + border-width: 0 9px 9px; + height: 0; + margin-top: 0; + opacity: 0; + position: absolute; + left: 7px; + top: -18px; + transition: all 0.25s ease 0s; + width: 0; + z-index: 10; + margin-top: 10px; + opacity: 1; +} + +.notify-arrow-green { + border-color: transparent transparent #a9d86e; + border-bottom-color: #a9d86e !important; + border-top-color: #a9d86e !important; +} + +.dropdown-menu.extended li p.green { + background-color: #a9d86e; + color: #fff; +} + +.dropdown-menu.extended li p { + background-color: #F1F2F7; + color: #666666; + margin: 0; + padding: 10px; + border-radius: 4px 4px 0px 0px; + -webkit-border-radius: 4px 4px 0px 0px; +} + +.dropdown-menu.tasks-bar .task-info .desc { + font-size: 13px; + font-weight: normal; +} + +.dropdown-menu.tasks-bar .task-info .percent { + display: inline-block; + float: right; + font-size: 13px; + font-weight: 600; + padding-left: 10px; + margin-top: -4px; +} + +.dropdown-menu.extended .progress { + margin-bottom: 0 !important; + height: 10px; +} + +.notify-arrow-yellow { + border-color: transparent transparent #FCB322; + border-bottom-color: #FCB322 !important; + border-top-color: #FCB322 !important; +} + +.dropdown-menu.extended li p.yellow { + background-color: #fcb322; + color: #fff; +} + +.notify-row .notification span.label { + display: inline-block; + height: 18px; + width: 20px; + padding: 5px; + margin-right: 5px; +} + +.notify-arrow-red { + border-color: transparent transparent #ff6c60; + border-bottom-color: #ff6c60 !important; + border-top-color: #ff6c60 !important; +} + +.dropdown-menu.extended li p.red { + background-color: #ff6c60; + color: #fff; +} + +.label-danger { + background-color: #FF6C60; +} + +.label { + padding: 0.5em 0.8em; +} + +.small { + font-size: 10px; + font-style: italic; + font-weight: bold; + float: right; +} + +.dropdown-menu.inbox li a .photo img { + border-radius: 2px 2px 2px 2px; + float: left; + height: 42px; + margin-right: 4px; + width: 42px; + border: solid 1px #EBEBEB; + border-radius: 3px; +} + +.dropdown-menu.inbox li a .subject { + display: block; +} + +.dropdown-menu.inbox li a .message { + display: block !important; + font-size: 11px; +} + +.dropdown-menu.inbox li a .subject .time { + font-size: 11px; + font-style: italic; + font-weight: bold; + position: absolute; + right: 5px; +} diff --git a/Bootstrap.Admin/Content/css/site-responsive.css b/Bootstrap.Admin/Content/css/site-responsive.css index e7fbc3b7..093d1066 100644 --- a/Bootstrap.Admin/Content/css/site-responsive.css +++ b/Bootstrap.Admin/Content/css/site-responsive.css @@ -58,6 +58,10 @@ right: 10px; top: 0px; } + + .notify-row { + display: none; + } } @media (max-width: 480px) { diff --git a/Bootstrap.Admin/Views/Shared/Header.cshtml b/Bootstrap.Admin/Views/Shared/Header.cshtml index e28f5347..f66259ba 100644 --- a/Bootstrap.Admin/Views/Shared/Header.cshtml +++ b/Bootstrap.Admin/Views/Shared/Header.cshtml @@ -7,6 +7,203 @@ 后台管理系统 +