diff --git a/src/ui/public/styles/base.less b/src/ui/public/styles/base.less index 795c5a6f35a504..b64feed387645e 100644 --- a/src/ui/public/styles/base.less +++ b/src/ui/public/styles/base.less @@ -495,14 +495,6 @@ paginated-selectable-list { background: @config-saved-object-finder-options-bg; } -//== Generic Media List -.media-object { - // image in result list - width: 65px; - height: 65px; -} - - //== inputDatetime .input-datetime-format { font-size: @font-size-small; diff --git a/src/ui/public/styles/bootstrap/bootstrap.less b/src/ui/public/styles/bootstrap/bootstrap.less index 381cca8882dc4b..b2200ec479c264 100644 --- a/src/ui/public/styles/bootstrap/bootstrap.less +++ b/src/ui/public/styles/bootstrap/bootstrap.less @@ -10,7 +10,6 @@ // Reset and dependencies @import "normalize.less"; -@import "print.less"; @import "glyphicons.less"; // Core CSS @@ -38,10 +37,8 @@ @import "thumbnails.less"; @import "alerts.less"; @import "progress-bars.less"; -@import "media.less"; @import "list-group.less"; @import "panels.less"; -@import "responsive-embed.less"; @import "wells.less"; @import "close.less"; diff --git a/src/ui/public/styles/bootstrap/media.less b/src/ui/public/styles/bootstrap/media.less deleted file mode 100644 index 8c835e861edf28..00000000000000 --- a/src/ui/public/styles/bootstrap/media.less +++ /dev/null @@ -1,66 +0,0 @@ -.media { - // Proper spacing between instances of .media - margin-top: 15px; - - &:first-child { - margin-top: 0; - } -} - -.media, -.media-body { - zoom: 1; - overflow: hidden; -} - -.media-body { - width: 10000px; -} - -.media-object { - display: block; - - // Fix collapse in webkit from max-width: 100% and display: table-cell. - &.img-thumbnail { - max-width: none; - } -} - -.media-right, -.media > .pull-right { - padding-left: 10px; -} - -.media-left, -.media > .pull-left { - padding-right: 10px; -} - -.media-left, -.media-right, -.media-body { - display: table-cell; - vertical-align: top; -} - -.media-middle { - vertical-align: middle; -} - -.media-bottom { - vertical-align: bottom; -} - -// Reset margins on headings for tighter default spacing -.media-heading { - margin-top: 0; - margin-bottom: 5px; -} - -// Media list variation -// -// Undo default ul/ol styles -.media-list { - padding-left: 0; - list-style: none; -} diff --git a/src/ui/public/styles/bootstrap/print.less b/src/ui/public/styles/bootstrap/print.less deleted file mode 100644 index 66e54ab489ea27..00000000000000 --- a/src/ui/public/styles/bootstrap/print.less +++ /dev/null @@ -1,101 +0,0 @@ -/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ - -// ========================================================================== -// Print styles. -// Inlined to avoid the additional HTTP request: h5bp.com/r -// ========================================================================== - -@media print { - *, - *:before, - *:after { - background: transparent !important; - color: #000 !important; // Black prints faster: h5bp.com/s - box-shadow: none !important; - text-shadow: none !important; - } - - a, - a:visited { - text-decoration: underline; - } - - a[href]:after { - content: " (" attr(href) ")"; - } - - abbr[title]:after { - content: " (" attr(title) ")"; - } - - // Don't show links that are fragment identifiers, - // or use the `javascript:` pseudo protocol - a[href^="#"]:after, - a[href^="javascript:"]:after { - content: ""; - } - - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - - thead { - display: table-header-group; // h5bp.com/t - } - - tr, - img { - page-break-inside: avoid; - } - - img { - max-width: 100% !important; - } - - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - - h2, - h3 { - page-break-after: avoid; - } - - // Bootstrap specific changes start - - // Bootstrap components - .navbar { - display: none; - } - .btn, - .dropup > .btn { - > .caret { - border-top-color: #000 !important; - } - } - .label { - border: 1px solid #000; - } - - .table { - border-collapse: collapse !important; - - td, - th { - background-color: #fff !important; - } - } - .table-bordered { - th, - td { - border: 1px solid #ddd !important; - } - } - - // Bootstrap specific changes end -} diff --git a/src/ui/public/styles/bootstrap/responsive-embed.less b/src/ui/public/styles/bootstrap/responsive-embed.less deleted file mode 100644 index 080a5118fe9ab2..00000000000000 --- a/src/ui/public/styles/bootstrap/responsive-embed.less +++ /dev/null @@ -1,35 +0,0 @@ -// Embeds responsive -// -// Credit: Nicolas Gallagher and SUIT CSS. - -.embed-responsive { - position: relative; - display: block; - height: 0; - padding: 0; - overflow: hidden; - - .embed-responsive-item, - iframe, - embed, - object, - video { - position: absolute; - top: 0; - left: 0; - bottom: 0; - height: 100%; - width: 100%; - border: 0; - } -} - -// Modifier class for 16:9 aspect ratio -.embed-responsive-16by9 { - padding-bottom: 56.25%; -} - -// Modifier class for 4:3 aspect ratio -.embed-responsive-4by3 { - padding-bottom: 75%; -} diff --git a/src/ui/public/styles/theme/bootstrap.less b/src/ui/public/styles/theme/bootstrap.less index 50bf65d0550f38..2f3944cd93f96b 100644 --- a/src/ui/public/styles/theme/bootstrap.less +++ b/src/ui/public/styles/theme/bootstrap.less @@ -7,7 +7,6 @@ // Reset and dependencies @import "~ui/styles/bootstrap/normalize.less"; -@import "~ui/styles/bootstrap/print.less"; @import "~ui/styles/bootstrap/glyphicons.less"; // Core CSS @@ -35,10 +34,8 @@ @import "~ui/styles/bootstrap/thumbnails.less"; @import "~ui/styles/bootstrap/alerts.less"; @import "~ui/styles/bootstrap/progress-bars.less"; -@import "~ui/styles/bootstrap/media.less"; @import "~ui/styles/bootstrap/list-group.less"; @import "~ui/styles/bootstrap/panels.less"; -@import "~ui/styles/bootstrap/responsive-embed.less"; @import "~ui/styles/bootstrap/wells.less"; @import "~ui/styles/bootstrap/close.less"; diff --git a/src/ui/public/visualize/visualize.less b/src/ui/public/visualize/visualize.less index bdfc319ffe5ab6..b29f277e0f340f 100644 --- a/src/ui/public/visualize/visualize.less +++ b/src/ui/public/visualize/visualize.less @@ -48,11 +48,6 @@ visualize { .top { align-self: flext-start; } .item { } .bottom { align-self: flext-end; } - -} - -ul.visualizations .media-body { - font-size: 0.75em; } visualize-spy {