Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
86a9fe60
Commit
86a9fe60
authored
Mar 25, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused bootstrap css
parent
68701c5c
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
1 additions
and
625 deletions
+1
-625
src/app/partials/metrics.html
+1
-1
src/vendor/bootstrap/less/accordion.less
+0
-34
src/vendor/bootstrap/less/bootstrap.less
+0
-11
src/vendor/bootstrap/less/breadcrumbs.less
+0
-24
src/vendor/bootstrap/less/carousel.less
+0
-158
src/vendor/bootstrap/less/hero-unit.less
+0
-25
src/vendor/bootstrap/less/pager.less
+0
-44
src/vendor/bootstrap/less/pagination.less
+0
-123
src/vendor/bootstrap/less/progress-bars.less
+0
-122
src/vendor/bootstrap/less/sprites.less
+0
-1
src/vendor/bootstrap/less/thumbnails.less
+0
-53
src/vendor/bootstrap/less/wells.less
+0
-29
No files found.
src/app/partials/metrics.html
View file @
86a9fe60
...
...
@@ -7,7 +7,7 @@
Add query
</button>
<div
class=
"
btn-group
pull-right"
style=
"margin-right: 10px;"
>
<div
class=
"pull-right"
style=
"margin-right: 10px;"
>
<button
class=
"btn btn-inverse dropdown-toggle"
data-toggle=
"dropdown"
bs-tooltip=
"'Datasource'"
>
<i
class=
"fa fa-database"
></i>
{{datasource.name}}
<span
class=
"caret"
></span>
...
...
src/vendor/bootstrap/less/accordion.less
deleted
100644 → 0
View file @
68701c5c
//
// Accordion
// --------------------------------------------------
// Parent container
.accordion {
margin-bottom: @baseLineHeight;
}
// Group == heading + body
.accordion-group {
margin-bottom: 2px;
border: 1px solid #e5e5e5;
.border-radius(@baseBorderRadius);
}
.accordion-heading {
border-bottom: 0;
}
.accordion-heading .accordion-toggle {
display: block;
padding: 8px 15px;
}
// General toggle styles
.accordion-toggle {
cursor: pointer;
}
// Inner needs the styles because you can't animate properly with any styles on the element
.accordion-inner {
padding: 9px 15px;
border-top: 1px solid #e5e5e5;
}
src/vendor/bootstrap/less/bootstrap.less
View file @
86a9fe60
...
...
@@ -27,23 +27,17 @@
@import "tables.less";
// Components: common
@import "sprites.less";
@import "dropdowns.less";
@import "wells.less";
@import "component-animations.less";
@import "close.less";
// Components: Buttons & Alerts
@import "buttons.less";
@import "button-groups.less";
@import "alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less
// Components: Nav
@import "navs.less";
@import "navbar.less";
@import "breadcrumbs.less";
@import "pagination.less";
@import "pager.less";
// Components: Popovers
@import "modals.less";
...
...
@@ -51,13 +45,8 @@
@import "popovers.less";
// Components: Misc
@import "thumbnails.less";
@import "media.less";
@import "labels-badges.less";
@import "progress-bars.less";
@import "accordion.less";
@import "carousel.less";
@import "hero-unit.less";
// Utility classes
@import "utilities.less"; // Has to be last to override when necessary
src/vendor/bootstrap/less/breadcrumbs.less
deleted
100644 → 0
View file @
68701c5c
//
// Breadcrumbs
// --------------------------------------------------
.breadcrumb {
padding: 8px 15px;
margin: 0 0 @baseLineHeight;
list-style: none;
background-color: #f5f5f5;
.border-radius(@baseBorderRadius);
> li {
display: inline-block;
.ie7-inline-block();
text-shadow: 0 1px 0 @white;
> .divider {
padding: 0 5px;
color: #ccc;
}
}
> .active {
color: @grayLight;
}
}
src/vendor/bootstrap/less/carousel.less
deleted
100644 → 0
View file @
68701c5c
//
// Carousel
// --------------------------------------------------
.carousel {
position: relative;
margin-bottom: @baseLineHeight;
line-height: 1;
}
.carousel-inner {
overflow: hidden;
width: 100%;
position: relative;
}
.carousel-inner {
> .item {
display: none;
position: relative;
.transition(.6s ease-in-out left);
// Account for jankitude on images
> img,
> a > img {
display: block;
line-height: 1;
}
}
> .active,
> .next,
> .prev { display: block; }
> .active {
left: 0;
}
> .next,
> .prev {
position: absolute;
top: 0;
width: 100%;
}
> .next {
left: 100%;
}
> .prev {
left: -100%;
}
> .next.left,
> .prev.right {
left: 0;
}
> .active.left {
left: -100%;
}
> .active.right {
left: 100%;
}
}
// Left/right controls for nav
// ---------------------------
.carousel-control {
position: absolute;
top: 40%;
left: 15px;
width: 40px;
height: 40px;
margin-top: -20px;
font-size: 60px;
font-weight: 100;
line-height: 30px;
color: @white;
text-align: center;
background: @grayDarker;
border: 3px solid @white;
.border-radius(23px);
.opacity(50);
// we can't have this transition here
// because webkit cancels the carousel
// animation if you trip this while
// in the middle of another animation
// ;_;
// .transition(opacity .2s linear);
// Reposition the right one
&.right {
left: auto;
right: 15px;
}
// Hover/focus state
&:hover,
&:focus {
color: @white;
text-decoration: none;
.opacity(90);
}
}
// Carousel indicator pips
// -----------------------------
.carousel-indicators {
position: absolute;
top: 15px;
right: 15px;
z-index: 5;
margin: 0;
list-style: none;
li {
display: block;
float: left;
width: 10px;
height: 10px;
margin-left: 5px;
text-indent: -999px;
background-color: #ccc;
background-color: rgba(255,255,255,.25);
border-radius: 5px;
}
.active {
background-color: #fff;
}
}
// Caption for text below images
// -----------------------------
.carousel-caption {
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding: 15px;
background: @grayDark;
background: rgba(0,0,0,.75);
}
.carousel-caption h4,
.carousel-caption p {
color: @white;
line-height: @baseLineHeight;
}
.carousel-caption h4 {
margin: 0 0 5px;
}
.carousel-caption p {
margin-bottom: 0;
}
src/vendor/bootstrap/less/hero-unit.less
deleted
100644 → 0
View file @
68701c5c
//
// Hero unit
// --------------------------------------------------
.hero-unit {
padding: 60px;
margin-bottom: 30px;
font-size: 18px;
font-weight: 200;
line-height: @baseLineHeight * 1.5;
color: @heroUnitLeadColor;
background-color: @heroUnitBackground;
.border-radius(6px);
h1 {
margin-bottom: 0;
font-size: 60px;
line-height: 1;
color: @heroUnitHeadingColor;
letter-spacing: -1px;
}
li {
line-height: @baseLineHeight * 1.5; // Reset since we specify in type.less
}
}
src/vendor/bootstrap/less/pager.less
deleted
100644 → 0
View file @
68701c5c
//
// Pager pagination
// --------------------------------------------------
.pager {
margin: @baseLineHeight 0;
list-style: none;
text-align: center;
.clearfix();
}
.pager li {
display: inline;
}
.pager li > a,
.pager li > span {
display: inline-block;
padding: 5px 14px;
background-color: #fff;
border: 1px solid #ddd;
.border-radius(15px);
}
.pager li > a:hover,
.pager li > a:focus {
text-decoration: none;
background-color: #f5f5f5;
}
.pager .next > a,
.pager .next > span {
float: right;
}
.pager .previous > a,
.pager .previous > span {
float: left;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
color: @grayLight;
background-color: #fff;
cursor: default;
}
\ No newline at end of file
src/vendor/bootstrap/less/pagination.less
deleted
100644 → 0
View file @
68701c5c
//
// Pagination (multiple pages)
// --------------------------------------------------
// Space out pagination from surrounding content
.pagination {
margin: @baseLineHeight 0;
}
.pagination ul {
// Allow for text-based alignment
display: inline-block;
.ie7-inline-block();
// Reset default ul styles
margin-left: 0;
margin-bottom: 0;
// Visuals
.border-radius(@baseBorderRadius);
.box-shadow(0 1px 2px rgba(0,0,0,.05));
}
.pagination ul > li {
display: inline; // Remove list-style and block-level defaults
}
.pagination ul > li > a,
.pagination ul > li > span {
float: left; // Collapse white-space
padding: 4px 12px;
line-height: @baseLineHeight;
text-decoration: none;
background-color: @paginationBackground;
border: 1px solid @paginationBorder;
border-left-width: 0;
}
.pagination ul > li > a:hover,
.pagination ul > li > a:focus,
.pagination ul > .active > a,
.pagination ul > .active > span {
background-color: @paginationActiveBackground;
}
.pagination ul > .active > a,
.pagination ul > .active > span {
color: @grayLight;
cursor: default;
}
.pagination ul > .disabled > span,
.pagination ul > .disabled > a,
.pagination ul > .disabled > a:hover,
.pagination ul > .disabled > a:focus {
color: @grayLight;
background-color: transparent;
cursor: default;
}
.pagination ul > li:first-child > a,
.pagination ul > li:first-child > span {
border-left-width: 1px;
.border-left-radius(@baseBorderRadius);
}
.pagination ul > li:last-child > a,
.pagination ul > li:last-child > span {
.border-right-radius(@baseBorderRadius);
}
// Alignment
// --------------------------------------------------
.pagination-centered {
text-align: center;
}
.pagination-right {
text-align: right;
}
// Sizing
// --------------------------------------------------
// Large
.pagination-large {
ul > li > a,
ul > li > span {
padding: @paddingLarge;
font-size: @fontSizeLarge;
}
ul > li:first-child > a,
ul > li:first-child > span {
.border-left-radius(@borderRadiusLarge);
}
ul > li:last-child > a,
ul > li:last-child > span {
.border-right-radius(@borderRadiusLarge);
}
}
// Small and mini
.pagination-mini,
.pagination-small {
ul > li:first-child > a,
ul > li:first-child > span {
.border-left-radius(@borderRadiusSmall);
}
ul > li:last-child > a,
ul > li:last-child > span {
.border-right-radius(@borderRadiusSmall);
}
}
// Small
.pagination-small {
ul > li > a,
ul > li > span {
padding: @paddingSmall;
font-size: @fontSizeSmall;
}
}
// Mini
.pagination-mini {
ul > li > a,
ul > li > span {
padding: @paddingMini;
font-size: @fontSizeMini;
}
}
src/vendor/bootstrap/less/progress-bars.less
deleted
100644 → 0
View file @
68701c5c
//
//
Progress
bars
//
--------------------------------------------------
//
ANIMATIONS
//
----------
//
Webkit
@-webkit-keyframes
progress-bar-stripes
{
from
{
background-position:
40
px
0
;
}
to
{
background-position:
0
0
;
}
}
//
Firefox
@-moz-keyframes
progress-bar-stripes
{
from
{
background-position:
40
px
0
;
}
to
{
background-position:
0
0
;
}
}
//
IE9
@-ms-keyframes
progress-bar-stripes
{
from
{
background-position:
40
px
0
;
}
to
{
background-position:
0
0
;
}
}
//
Opera
@-o-keyframes
progress-bar-stripes
{
from
{
background-position:
0
0
;
}
to
{
background-position:
40
px
0
;
}
}
//
Spec
@keyframes
progress-bar-stripes
{
from
{
background-position:
40
px
0
;
}
to
{
background-position:
0
0
;
}
}
//
THE
BARS
//
--------
//
Outer
container
.
progress
{
overflow:
hidden
;
height:
@baseLineHeight
;
margin-bottom:
@baseLineHeight
;
#gradient > .vertical(#f5f5f5, #f9f9f9);
.
box-shadow
(
inset
0
1
px
2
px
rgba
(
0
,
0
,
0
,
.1
));
.
border-radius
(
@baseBorderRadius)
;
}
//
Bar
of
progress
.
progress
.
bar
{
width:
0
%
;
height:
100
%
;
color:
@white
;
float:
left
;
font-size:
12
px
;
text-align:
center
;
text-shadow:
0
-1
px
0
rgba
(
0
,
0
,
0
,
.2
5
);
#gradient > .vertical(#149bdf, #0480be);
.
box-shadow
(
inset
0
-1
px
0
rgba
(
0
,
0
,
0
,
.1
5
));
.
box-sizing
(
border-box
);
.
transition
(
width
.6
s
ease
);
}
.
progress
.
bar
+
.
bar
{
.
box-shadow
(
~
"inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15)"
);
}
//
Striped
bars
.
progress-striped
.
bar
{
#gradient > .striped(#149bdf);
.
background-size
(
40
px
40
px
);
}
//
Call
animation
for
the
active
one
.
progress
.
active
.
bar
{
-webkit-animation:
progress-bar-stripes
2
s
linear
infinite
;
-moz-animation:
progress-bar-stripes
2
s
linear
infinite
;
-ms-animation:
progress-bar-stripes
2
s
linear
infinite
;
-o-animation:
progress-bar-stripes
2
s
linear
infinite
;
animation:
progress-bar-stripes
2
s
linear
infinite
;
}
//
COLORS
//
------
//
Danger
(
red
)
.
progress-danger
.
bar,
.
progress
.
bar-danger
{
#gradient > .vertical(#ee5f5b, #c43c35);
}
.
progress-danger
.
progress-striped
.
bar,
.
progress-striped
.
bar-danger
{
#gradient > .striped(#ee5f5b);
}
//
Success
(
green
)
.
progress-success
.
bar,
.
progress
.
bar-success
{
#gradient > .vertical(#62c462, #57a957);
}
.
progress-success
.
progress-striped
.
bar,
.
progress-striped
.
bar-success
{
#gradient > .striped(#62c462);
}
//
Info
(
teal
)
.
progress-info
.
bar,
.
progress
.
bar-info
{
#gradient > .vertical(#5bc0de, #339bb9);
}
.
progress-info
.
progress-striped
.
bar,
.
progress-striped
.
bar-info
{
#gradient > .striped(#5bc0de);
}
//
Warning
(
orange
)
.
progress-warning
.
bar,
.
progress
.
bar-warning
{
#gradient > .vertical(lighten(@orange, 15%), @orange);
}
.
progress-warning
.
progress-striped
.
bar,
.
progress-striped
.
bar-warning
{
#gradient > .striped(lighten(@orange, 15%));
}
src/vendor/bootstrap/less/sprites.less
deleted
100644 → 0
View file @
68701c5c
src/vendor/bootstrap/less/thumbnails.less
deleted
100644 → 0
View file @
68701c5c
//
// Thumbnails
// --------------------------------------------------
// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
// Make wrapper ul behave like the grid
.thumbnails {
margin-left: -@gridGutterWidth;
list-style: none;
.clearfix();
}
// Fluid rows have no left margin
.row-fluid .thumbnails {
margin-left: 0;
}
// Float li to make thumbnails appear in a row
.thumbnails > li {
float: left; // Explicity set the float since we don't require .span* classes
margin-bottom: @baseLineHeight;
margin-left: @gridGutterWidth;
}
// The actual thumbnail (can be `a` or `div`)
.thumbnail {
display: block;
padding: 4px;
line-height: @baseLineHeight;
border: 1px solid #ddd;
.border-radius(@baseBorderRadius);
.box-shadow(0 1px 3px rgba(0,0,0,.055));
.transition(all .2s ease-in-out);
}
// Add a hover/focus state for linked versions only
a.thumbnail:hover,
a.thumbnail:focus {
border-color: @linkColor;
.box-shadow(0 1px 4px rgba(0,105,214,.25));
}
// Images and captions
.thumbnail > img {
display: block;
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
.thumbnail .caption {
padding: 9px;
color: @gray;
}
src/vendor/bootstrap/less/wells.less
deleted
100644 → 0
View file @
68701c5c
//
// Wells
// --------------------------------------------------
// Base class
.well {
min-height: 20px;
padding: 19px;
margin-bottom: 20px;
background-color: @wellBackground;
border: 1px solid darken(@wellBackground, 7%);
.border-radius(@baseBorderRadius);
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
blockquote {
border-color: #ddd;
border-color: rgba(0,0,0,.15);
}
}
// Sizes
.well-large {
padding: 24px;
.border-radius(@borderRadiusLarge);
}
.well-small {
padding: 9px;
.border-radius(@borderRadiusSmall);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment