mirror of https://gitee.com/bigwinds/arangodb
Started moving from css to scss for better maintanence. Also started cleanup process
This commit is contained in:
parent
dbc4ef79eb
commit
2670c30ef3
|
@ -0,0 +1,45 @@
|
|||
%clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
%negative {
|
||||
background-color: $c_negative;
|
||||
&:hover {
|
||||
background-color: $c_negative_hover;
|
||||
}
|
||||
}
|
||||
|
||||
%icon-negative {
|
||||
color: $c_negative;
|
||||
&:hover {
|
||||
color: $c_negative_hover;
|
||||
}
|
||||
}
|
||||
|
||||
%positive {
|
||||
background-color: $c_positive;
|
||||
&:hover {
|
||||
background-color: $c_positive_hover;
|
||||
}
|
||||
}
|
||||
|
||||
%icon-positive {
|
||||
color: $c_positive;
|
||||
&:hover {
|
||||
color: $c_positive_hover;
|
||||
}
|
||||
}
|
||||
|
||||
%neutral {
|
||||
background-color: $c_neutral;
|
||||
&:hover {
|
||||
background-color: $c_neutral_hover;
|
||||
}
|
||||
}
|
||||
|
||||
%icon-neutral {
|
||||
color: $c_neutral;
|
||||
&:hover {
|
||||
color: $c_neutral_hover;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,150 @@
|
|||
.btn {
|
||||
@include border-radius(4px);
|
||||
@include box-shadow(0);
|
||||
}
|
||||
|
||||
.addButton {
|
||||
@extend %clickable;
|
||||
@extend %icon-positive;
|
||||
position: relative;
|
||||
margin-right: 7px;
|
||||
font-size: 22px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.deleteButton {
|
||||
@extend %clickable;
|
||||
@extend %icon-negative;
|
||||
font-size: 22px;
|
||||
padding-right: 3px;
|
||||
top: 3px;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
ul.headerButtonList {
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
padding-left: 0!important;
|
||||
|
||||
li {
|
||||
display: inline;
|
||||
margin-right: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
a.headerButton {
|
||||
float: left;
|
||||
cursor: pointer;
|
||||
margin-top: 2px;
|
||||
margin-left: 5px;
|
||||
margin-right: 3px;
|
||||
min-height: 15px;
|
||||
border-radius: 3px;
|
||||
position: relative;
|
||||
@include box-shadow(none);
|
||||
background-color: $c_header_btn_bg;
|
||||
color: $c_header_btn_fg;
|
||||
height: 17px;
|
||||
width: 9px;
|
||||
padding: 4px 9px 2px 9px;
|
||||
border: 1px solid $c_header_btn_border;
|
||||
}
|
||||
|
||||
a.headerButton:hover {
|
||||
background-color: $c_white;
|
||||
color: $c_black;
|
||||
}
|
||||
|
||||
a.paginationButton, ul.arangoPagination a {
|
||||
@include border-radius(2px);
|
||||
}
|
||||
|
||||
/* better look of some icons */
|
||||
a.headerButton {
|
||||
|
||||
.icon_arangodb_filter {
|
||||
top: 3px !important;
|
||||
}
|
||||
|
||||
.icon_arangodb_import {
|
||||
top: 1px !important;
|
||||
}
|
||||
|
||||
.icon_arangodb_checklist {
|
||||
top: 3px !important;
|
||||
right: 5px;
|
||||
}
|
||||
|
||||
.icon_arangodb_arrowleft,
|
||||
.icon_arangodb_arrowright {
|
||||
font-weight:bold;
|
||||
}
|
||||
}
|
||||
/* Graph Viewer */
|
||||
|
||||
div.toolbox > {
|
||||
div.gv_action_button:first-child {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
div.gv_action_button:last-child {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
div.gv_action_button {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: $c_nav_bg;
|
||||
color: $c_white;
|
||||
cursor: pointer;
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
div.gv_action_button:hover {
|
||||
|
||||
}
|
||||
|
||||
div.gv_action_button.active {
|
||||
background-color: $c_positive;
|
||||
}
|
||||
|
||||
h6.gv_icon_icon,
|
||||
h6.gv_button_title {
|
||||
position: absolute;
|
||||
margin: 0px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
h6.gv_icon_icon {
|
||||
font-size: 22px;
|
||||
top: 6px;
|
||||
}
|
||||
|
||||
h6.gv_button_title {
|
||||
bottom: 1px;
|
||||
}
|
||||
|
||||
/*
|
||||
#documentsToolbar span {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 2px;
|
||||
font-size: 25px;
|
||||
margin-right: 3px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
#documentsToolbar li a {
|
||||
margin-top: 0px !important;
|
||||
padding: 5px 11px 2px 9px;
|
||||
}
|
||||
|
||||
*/
|
|
@ -0,0 +1,18 @@
|
|||
$c_positive: #8AA051;
|
||||
$c_positive_hover: #788F3D;
|
||||
|
||||
$c_negative: #DA4F49;
|
||||
$c_negative_hover: #BE342E;
|
||||
|
||||
$c_neutral: #8F8D8C;
|
||||
$c_neutral_hover: #736B68;
|
||||
|
||||
$c_header_btn_bg: #DDDDDD;
|
||||
$c_header_btn_fg: #555555;
|
||||
$c_header_btn_border: #222222;
|
||||
|
||||
$c_black: #000000;
|
||||
$c_white: #FFFFFF;
|
||||
|
||||
$c_nav_bg: #333232;
|
||||
$c_bar_bg: #686766;
|
|
@ -0,0 +1,68 @@
|
|||
// The bar on top of each page
|
||||
div.headerBar {
|
||||
position: relative;
|
||||
margin-top: 5px;
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
margin-bottom: 5px;
|
||||
background-color: $c_bar_bg;
|
||||
color: $c_white;
|
||||
height: 36px;
|
||||
font-size: 16px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
// The title of the page
|
||||
|
||||
div.headerBar a.arangoHeader,
|
||||
.modal-header .arangoHeader {
|
||||
color: $c_white;
|
||||
position: relative;
|
||||
top: 7px;
|
||||
left: 5px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
// The buttons on the right side
|
||||
|
||||
div.headerBar > div.headerButtonBar {
|
||||
margin: 4px 0px;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
// Breadcrumbs on the left side
|
||||
|
||||
div.headerBar > div.breadcrumb {
|
||||
padding-left: 5px !important;
|
||||
}
|
||||
|
||||
// Disabled breadcrumb
|
||||
div.breadcrumb a.disabledBread {
|
||||
color: $c_white;
|
||||
}
|
||||
|
||||
// Dropdown filter
|
||||
div.headerBar .dropdown-menu {
|
||||
@include border-radius(0px);
|
||||
margin-top: 6px;
|
||||
margin-right: -20px;
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
border: solid 1px #686766;
|
||||
}
|
||||
|
||||
div.headerBar .dropdown-menu .checkboxLabel {
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
div.headerBar .dropdown-menu .divider {
|
||||
background-color: #686755 !important;
|
||||
border-bottom: 0 !important;
|
||||
color: #686755 !important;
|
||||
}
|
||||
|
||||
// arangoHeader
|
||||
.arangoHeader {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
// Horizontal offset, vertical offset, blur, spread, color
|
||||
@mixin box-shadow($params) {
|
||||
-webkit-box-shadow: $params;
|
||||
-moz-box-shadow: $params;
|
||||
box-shadow: $params;
|
||||
}
|
||||
|
||||
@mixin border-radius($r) {
|
||||
-moz-border-radius: $r;
|
||||
-webkit-border-radius: $r;
|
||||
border-radius: $r;
|
||||
}
|
|
@ -0,0 +1,63 @@
|
|||
.dropdown-menu li > a:hover, .dropdown-menu li > a:focus, .dropdown-submenu:hover > a {
|
||||
background-image:none;
|
||||
background-color: #8AA051 !important;
|
||||
}
|
||||
|
||||
.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
|
||||
background-color: #8AA051 !important;
|
||||
color: white !important;
|
||||
box-shadow: 0 0px 0px rgba(0, 0, 0, 0.0) inset !important;
|
||||
}
|
||||
.navbar .nav > li > a:focus {
|
||||
background-color: #333232 !important;
|
||||
}
|
||||
|
||||
.navbar .nav a.tab {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.navbar .nav > li > a:hover {
|
||||
background-color: #8AA051 !important;
|
||||
color: white !important
|
||||
}
|
||||
|
||||
.arango-nav .dropdown-toggle, .arango-nav .dropdown-toggle:hover, .arango-nav .dropdown:hover, .arango-nav .dropdown:active {
|
||||
background-color: rgba(0, 0, 0, 0) !important;
|
||||
color: white !important;
|
||||
margin-bottom: -8px !important;
|
||||
}
|
||||
|
||||
body, input, textarea, .page-title span, .pingback a.url {
|
||||
/*font-family: "Helvetica",sans-serif;*/
|
||||
font-family: 'Open Sans', sans-serif !important;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.arango-top-nav {
|
||||
background-color: #333232;
|
||||
}
|
||||
|
||||
.arango-nav {
|
||||
height: 34px;
|
||||
min-height: 34px;
|
||||
background-color: #333232;
|
||||
}
|
||||
|
||||
.arango-logo {
|
||||
height: 34px;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.applications-menu {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#arangoCollectionSelect {
|
||||
display: none;
|
||||
float: right;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
// Shortcuts for multi-browser support
|
||||
@import "mixins";
|
||||
// All colours
|
||||
@import "colors";
|
||||
// All Abstract classes
|
||||
@import "abstracts";
|
||||
// Buttons
|
||||
@import "buttons";
|
||||
// Navbar
|
||||
@import "navbar";
|
Loading…
Reference in New Issue