This repository has been archived on 2022-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
AriaNg/app/styles/aria-ng.css

628 lines
12 KiB
CSS

/*!
* AriaNg
* https://github.com/mayswind/AriaNg
*/
/* basic */
body {
-ms-user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
td {
vertical-align: middle !important;
}
.main-header .navbar .navbar-searchbar {
padding-top: 8px;
padding-right: 20px;
float: right;
}
.content-wrapper > .content-body {
overflow-y: scroll;
}
.default-cursor {
cursor: default !important;
}
.pointer-cursor {
cursor: pointer !important;
}
@media (max-width: 767px) {
.navbar-nav .open .dropdown-menu {
position: absolute;
background-color: #fff;
}
}
/* toolbar */
.toolbar {
cursor: pointer;
}
.toolbar:active {
-webkit-box-shadow: inset 0 2px 6px rgba(0, 0, 0, .125);
-moz-box-shadow: inset 0 2px 6px rgba(0, 0, 0, .125);
box-shadow: inset 0 2px 6px rgba(0, 0, 0, .125);
}
/* dropdown-submenu */
.dropdown-menu small {
color: #999;
}
.dropdown-submenu {
position: relative;
}
.dropdown-submenu > .dropdown-menu {
top: 0;
left: 100%;
margin-top: -6px;
margin-left: -1px;
-webkit-border-radius: 0 6px 6px 6px;
-moz-border-radius: 0 6px 6px;
border-radius: 0 6px 6px 6px;
}
.dropdown-submenu:hover > .dropdown-menu {
display: block;
}
.dropdown-submenu > a:after {
display: block;
content: " ";
float: right;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
border-width: 5px 0 5px 5px;
border-left-color: #ccc;
margin-top: 5px;
margin-right: -10px;
}
.dropdown-submenu:hover > a:after {
border-left-color: #fff;
}
.dropdown-submenu.pull-left {
float: none;
}
.dropdown-submenu.pull-left > .dropdown-menu {
left: -100%;
margin-left: 10px;
-webkit-border-radius: 6px 0 6px 6px;
-moz-border-radius: 6px 0 6px 6px;
border-radius: 6px 0 6px 6px;
}
/* scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-thumb {
background-clip: padding-box;
background-color: #c4d2db;
min-height: 28px;
}
::-webkit-scrollbar-thumb:hover, ::-webkit-scrollbar-thumb:active {
background-color: #d4dfe7;
}
@media (max-width: 767px) {
::-webkit-scrollbar {
width: 6px;
}
}
/* skin-aria-ng */
.skin-aria-ng {
overflow-y: hidden;
}
.skin-aria-ng, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .sweet-alert {
font-family: 'Hiragino Sans GB', 'Microsoft YaHei', 'STHeiti', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.skin-aria-ng .main-header .navbar {
background-color: #f6f6f6;
}
.skin-aria-ng .main-header .navbar .navbar-nav {
margin-left: 5px;
}
.skin-aria-ng .main-header .navbar .nav > li {
display: inline-block;
}
.skin-aria-ng .main-header .navbar .nav > li > a {
color: #707070;
font-size: 16px;
padding-left: 10px;
padding-right: 10px;
}
.skin-aria-ng .main-header .navbar .nav > li > a:hover,
.skin-aria-ng .main-header .navbar .nav > li > a:active,
.skin-aria-ng .main-header .navbar .nav > li > a:focus,
.skin-aria-ng .main-header .navbar .nav .open > a,
.skin-aria-ng .main-header .navbar .nav .open > a:hover,
.skin-aria-ng .main-header .navbar .nav .open > a:focus,
.skin-aria-ng .main-header .navbar .nav > .active > a {
color: #0080ff;
}
.skin-aria-ng .main-header .navbar .nav > li.disabled > a {
color: #ccc !important;
pointer-events: none !important;
}
.skin-aria-ng .main-header .navbar .nav > li.divider {
padding: 10px 0 10px 0;
margin-left: 4px;
margin-right: 4px;
border-right: 1px solid #ccc;
position: relative;
top: 15px;
}
.skin-aria-ng .main-header .navbar .sidebar-toggle, .skin-aria-ng .main-footer .sidebar-toggle {
color: #707070;
}
.skin-aria-ng .main-header .navbar .sidebar-toggle:hover, .skin-aria-ng .main-footer .sidebar-toggle:hover {
color: #0080ff;
}
.skin-aria-ng .main-header .navbar .navbar-searchbar .form-control-icon {
color: #999999;
}
@media (max-width: 767px) {
.skin-aria-ng .main-header .navbar {
padding-left: 20px;
}
.skin-aria-ng .main-header .navbar .navbar-nav {
margin-left: -10px;
}
.skin-aria-ng .main-header .navbar .nav > li.divider {
margin-left: 0;
margin-right: 0;
top: 5px;
}
.skin-aria-ng .main-header .navbar .dropdown-menu li.divider {
background-color: rgba(255, 255, 255, 0.1);
}
}
.skin-aria-ng .main-header .logo {
background-color: #3c4852;
color: #ffffff;
border-bottom: 1px solid #59636b;
}
.skin-aria-ng .main-header .logo:hover {
color: #cccccc;
}
.skin-aria-ng .content-header {
background: transparent;
}
.skin-aria-ng .wrapper,
.skin-aria-ng .main-sidebar,
.skin-aria-ng .left-side {
background-color: #3c4852;
}
.skin-aria-ng .sidebar-menu > li.header {
color: #707070;
background-color: #2e343c;
}
.skin-aria-ng .sidebar-menu > li > a {
border-left: 3px solid transparent;
}
.skin-aria-ng .sidebar-menu > li:hover > a {
color: #f8f8f8;
background-color: #313a42;
}
.skin-aria-ng .sidebar-menu > li.active > a {
color: #65b0ff;
background-color: #252c30;
}
.skin-aria-ng .sidebar-menu > li > .treeview-menu {
margin: 0 1px;
background-color: #2a343b;
}
.skin-aria-ng .sidebar a {
color: #b8c7ce;
}
.skin-aria-ng .sidebar a:hover {
text-decoration: none;
}
@media (max-width: 767px) {
.skin-aria-ng .main-sidebar {
margin-top: 5px;
}
}
.skin-aria-ng .treeview-menu > li > a {
color: #8aa4af;
}
.skin-aria-ng .treeview-menu > li > a:hover {
color: #fefefe;
}
.skin-aria-ng .treeview-menu > li.active > a {
color: #0080ff;
}
.skin-aria-ng .content-wrapper, .right-side {
background-color: #fff;
}
.skin-aria-ng .content-wrapper .form-control[type='text'] {
padding-left: 14px;
}
@media screen and (max-width: 767px) {
.skin-aria-ng .content-wrapper .content {
margin-top: 5px;
}
}
.skin-aria-ng .main-footer {
font-size: 12px;
}
.skin-aria-ng .main-footer .sidebar-toggle {
float: left;
background-color: transparent;
background-image: none;
padding: 0 15px 0 0;
font-family: fontAwesome;
}
.skin-aria-ng .main-footer .sidebar-toggle:before {
content: "\f0c9";
}
.skin-aria-ng .progress-bar-primary {
background-color: #208fe5;
}
.skin-aria-ng .icon-primary {
color: #3c8dbc;
}
.skin-aria-ng .nav-tabs-custom {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
margin-bottom: 0;
}
.skin-aria-ng .nav-tabs-custom > .nav-tabs {
border-bottom: 1px dotted #ddd;
}
.skin-aria-ng .nav-tabs-custom > .nav-tabs > li {
border-top: 0;
margin-top: 1px;
margin-right: 2px;
}
.skin-aria-ng .nav-tabs-custom > .nav-tabs > li.active {
border-bottom: 2px solid #208fe5;
}
.skin-aria-ng .nav-tabs-custom > .nav-tabs > li.slim > a {
padding-left: 5px;
padding-right: 5px;
}
.skin-aria-ng .nav-tabs-custom > .nav-tabs > li.slim.active {
margin-bottom: -1px;
border-bottom: inherit;
}
.skin-aria-ng .nav-tabs-custom > .nav-tabs > li > a {
color: #aaa;
border: 0;
}
.skin-aria-ng .nav-tabs-custom > .nav-tabs > li > a:hover,
.skin-aria-ng .nav-tabs-custom > .nav-tabs > li > a:active,
.skin-aria-ng .nav-tabs-custom > .nav-tabs > li.active > a{
color: #208fe5;
}
/* font-awesome extend */
.fa-half {
font-size: 0.5em;
}
.fa-rotate-45 {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
filter: none;
}
.fa-right-bottom {
position: relative;
right: 0;
bottom: -6px;
}
.fa-order-asc, .fa-order-desc {
position: relative;
}
.fa-order-asc {
bottom: -2px;
}
.fa-order-desc {
bottom: 2px;
}
/* awesome-bootstrap-checkbox extend */
.checkbox.checkbox-hide {
padding-left: 0;
}
.checkbox.checkbox-hide > input, .checkbox.checkbox-hide > input + label::before, .checkbox.checkbox-hide > input + label::after {
display: none !important;
}
.checkbox.checkbox-hide > label {
padding-left: 0;
}
.skin-aria-ng .checkbox-primary input[type="checkbox"]:checked + label::before, .checkbox-primary input[type="radio"]:checked + label::before {
background-color: #208fe5;
border-color: #208fe5;
}
/* angular-dragula extend */
.gu-mirror {
cursor: grabbing;
cursor: -moz-grabbing;
cursor: -webkit-grabbing;
}
/* task-table */
.task-table {
margin-left: 15px;
margin-right: 15px;
}
.skin-aria-ng .task-table {
background-color: #fff;
}
.task-table .task-table-title {
font-size: 12px;
padding-top: 4px;
padding-bottom: 4px;
}
.task-table .task-table-title a {
color: #000;
cursor: pointer;
}
.task-table > .task-table-body.draggable {
cursor: move;
cursor: grab;
cursor: -moz-grab;
cursor: -webkit-grab;
}
.task-table > .task-table-body > div.row {
padding-top: 8px;
padding-bottom: 8px;
border-top: 1px solid #ddd;
}
.task-table-firstrow-noborder > .task-table-body > div.row {
border-top: 0;
}
.skin-aria-ng .task-table > .task-table-body > div.row:nth-of-type(odd) {
background-color: #f9f9f9;
}
.skin-aria-ng .task-table > .task-table-body > div.row:hover {
background-color: #f5f5f5;
}
.task-table .task-name {
font-size: 14px;
display: block;
word-break: keep-all;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.task-table .task-files, .task-table .task-size {
font-size: 12px;
display: block;
}
.task-table .progress {
margin-bottom: 0;
}
.task-table .task-last-time, .task-table .task-seeders, .task-table .task-last-time + .task-download-speed {
color: #888;
font-size: 12px;
}
.task-table .task-seeders, .task-table .task-last-time + .task-download-speed {
margin-top: 1px;
}
.task-table .task-last-time + .task-download-speed {
padding-left: 20px;
}
.task-table .task-download-speed, .task-table .task-peer-download-speed {
font-size: 12px;
}
.task-table .checkbox, .task-table .radio {
margin-top: 0;
margin-bottom: 0;
}
.task-table .progress {
position: relative;
}
.task-table .progress span {
position: absolute;
display: block;
width: 100%;
}
.task-table .progress span.progress-lower {
color: #000;
}
@media (max-width: 767px) {
.task-table .task-peer-download-speed {
float: right;
}
}
/* settings-table */
.settings-table {
margin-left: 15px;
margin-right: 15px;
}
.skin-aria-ng .settings-table {
background-color: #fff;
}
.settings-table > div.row {
padding-top: 8px;
padding-bottom: 8px;
border-top: 1px solid #ddd;
}
.settings-table-firstrow-noborder > div.row {
border-top: 0;
}
.skin-aria-ng .settings-table > div.row:nth-of-type(odd) {
background-color: #f9f9f9;
}
.skin-aria-ng .settings-table > div.row:hover {
background-color: #f5f5f5;
}
.settings-table .input-group-addon {
background-color: #eee;
}
.settings-table .asterisk {
color: red;
}
.settings-table .description {
color: #888;
font-size: 12px;
font-weight: normal;
display: block;
}
.settings-table em {
color: #888;
font-size: 12px;
font-weight: normal;
}
.settings-table .wholeline {
display: block;
}
.settings-table .setting-value .form-group {
margin-bottom: 0;
}
.settings-table .setting-value .form-group .form-control-icon {
color: #3c8dbc;
}
.settings-table .setting-value .form-group .form-control-feedback {
right: 10px;
}
.settings-table .tip {
background-color: #fff !important;
font-size: 12px;
padding: 4px 8px 4px 8px;
}
.settings-table .tip:hover {
background-color: #fff !important;
}
@media (max-width: 767px) {
.settings-table .setting-key {
font-weight: bold;
}
.settings-table .description {
display: inline-block;
}
}
@media (min-width: 768px) {
.settings-table .setting-key-without-desc {
padding-top: 6px;
}
}
/* miscellaneous */
span.realtime-upload, span.realtime-download {
padding: 0 15px 0 15px;
}
span.realtime-upload > i {
color: #3a89e9;
padding-right: 2px;
}
span.realtime-download > i {
color: #74a329;
padding-right: 2px;
}