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
Raw Normal View History

2016-05-13 18:09:12 +02:00
/*!
* AriaNg
* https://github.com/mayswind/AriaNg
*/
2016-05-29 07:30:22 +02:00
/* basic */
2016-05-29 07:01:05 +02:00
body {
-ms-user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
2016-05-29 07:30:22 +02:00
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;
}
}
2016-05-13 18:09:12 +02:00
/* skin-aria-ng */
2016-05-22 10:29:32 +02:00
.skin-aria-ng {
overflow-y: hidden;
}
2016-05-23 15:57:58 +02:00
.skin-aria-ng, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .sweet-alert {
2016-05-13 18:09:12 +02:00
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;
}
2016-05-13 18:09:12 +02:00
.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;
2016-05-13 18:09:12 +02:00
}
.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;
}
2016-05-13 18:09:12 +02:00
.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;
}
2016-05-28 16:20:42 +02:00
.skin-aria-ng .main-header .navbar .navbar-searchbar .form-control-icon {
color: #999999;
}
2016-05-13 18:09:12 +02:00
@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;
}
2016-05-13 18:09:12 +02:00
.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 {
2016-06-04 06:50:53 +02:00
color: #5399e8;
2016-05-13 18:09:12 +02:00
background-color: #252c30;
}
.skin-aria-ng .sidebar-menu > li > .treeview-menu {
margin: 0 1px;
background-color: #2a343b;
}
.skin-aria-ng .sidebar a {
2016-06-04 06:50:53 +02:00
color: #a2b5b9;
2016-05-13 18:09:12 +02:00
}
.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;
}
2016-05-13 18:09:12 +02:00
@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;
}
2016-05-23 19:06:50 +02:00
.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;
}
2016-05-29 07:30:22 +02:00
.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;
}
2016-05-23 19:06:50 +02:00
.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;
}
2016-05-28 18:16:32 +02:00
.fa-order-asc, .fa-order-desc {
position: relative;
}
.fa-order-asc {
bottom: -2px;
}
.fa-order-desc {
bottom: 2px;
}
2016-05-29 17:27:47 +02:00
/* 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;
}
2016-05-13 18:09:12 +02:00
/* task-table */
.task-table {
margin-left: 15px;
margin-right: 15px;
}
2016-05-29 07:30:22 +02:00
.skin-aria-ng .task-table {
background-color: #fff;
}
2016-05-17 17:00:07 +02:00
.task-table .task-table-title {
font-size: 12px;
2016-05-23 16:35:29 +02:00
padding-top: 4px;
padding-bottom: 4px;
2016-05-17 17:00:07 +02:00
}
.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;
}
2016-05-17 17:00:07 +02:00
.task-table > .task-table-body > div.row {
2016-05-28 18:16:32 +02:00
padding-top: 8px;
padding-bottom: 8px;
2016-05-13 18:09:12 +02:00
border-top: 1px solid #ddd;
}
2016-05-26 16:51:10 +02:00
.task-table-firstrow-noborder > .task-table-body > div.row {
border-top: 0;
}
2016-05-29 07:30:22 +02:00
.skin-aria-ng .task-table > .task-table-body > div.row:nth-of-type(odd) {
2016-05-13 18:09:12 +02:00
background-color: #f9f9f9;
}
2016-05-29 07:30:22 +02:00
.skin-aria-ng .task-table > .task-table-body > div.row:hover {
background-color: #f5f5f5;
2016-05-13 18:09:12 +02:00
}
.task-table .task-name {
font-size: 14px;
display: block;
2016-05-28 16:36:33 +02:00
word-break: keep-all;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2016-05-13 18:09:12 +02:00
}
2016-05-23 19:06:50 +02:00
.task-table .task-files, .task-table .task-size {
2016-05-13 18:09:12 +02:00
font-size: 12px;
display: block;
}
.task-table .progress {
margin-bottom: 0;
}
2016-05-17 17:00:07 +02:00
.task-table .task-last-time, .task-table .task-seeders, .task-table .task-last-time + .task-download-speed {
2016-05-13 18:09:12 +02:00
color: #888;
font-size: 12px;
}
2016-05-17 17:00:07 +02:00
.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;
}
2016-05-28 18:16:32 +02:00
.task-table .task-download-speed, .task-table .task-peer-download-speed {
2016-05-13 18:09:12 +02:00
font-size: 12px;
}
2016-05-29 07:01:05 +02:00
.task-table .checkbox, .task-table .radio {
margin-top: 0;
margin-bottom: 0;
}
2016-05-18 18:08:51 +02:00
.task-table .progress {
position: relative;
}
.task-table .progress span {
position: absolute;
display: block;
width: 100%;
}
.task-table .progress span.progress-lower {
color: #000;
}
2016-05-28 18:16:32 +02:00
@media (max-width: 767px) {
.task-table .task-peer-download-speed {
float: right;
}
}
/* settings-table */
.settings-table {
margin-left: 15px;
margin-right: 15px;
}
2016-05-29 07:30:22 +02:00
.skin-aria-ng .settings-table {
background-color: #fff;
}
.settings-table > div.row {
2016-05-28 18:16:32 +02:00
padding-top: 8px;
padding-bottom: 8px;
border-top: 1px solid #ddd;
}
2016-05-26 16:51:10 +02:00
.settings-table-firstrow-noborder > div.row {
border-top: 0;
}
2016-05-29 07:30:22 +02:00
.skin-aria-ng .settings-table > div.row:nth-of-type(odd) {
background-color: #f9f9f9;
}
2016-05-29 07:30:22 +02:00
.skin-aria-ng .settings-table > div.row:hover {
background-color: #f5f5f5;
}
2016-05-16 18:59:27 +02:00
.settings-table .input-group-addon {
background-color: #eee;
}
.settings-table .asterisk {
color: red;
}
2016-05-17 16:15:28 +02:00
.settings-table .description {
color: #888;
font-size: 12px;
font-weight: normal;
2016-05-17 16:15:28 +02:00
display: block;
}
.settings-table em {
color: #888;
font-size: 12px;
font-weight: normal;
}
2016-05-22 05:47:47 +02:00
.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 {
2016-05-16 18:59:27 +02:00
background-color: #fff !important;
font-size: 12px;
2016-05-28 18:16:32 +02:00
padding: 4px 8px 4px 8px;
}
.settings-table .tip:hover {
background-color: #fff !important;
}
2016-05-17 16:15:28 +02:00
@media (max-width: 767px) {
2016-05-22 05:47:47 +02:00
.settings-table .setting-key {
font-weight: bold;
}
2016-05-17 16:15:28 +02:00
.settings-table .description {
display: inline-block;
}
}
@media (min-width: 768px) {
.settings-table .setting-key-without-desc {
padding-top: 6px;
}
}
2016-05-13 18:09:12 +02:00
/* 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;
}