Files
ng2-file-upload/apps/demo/src/assets/css/style.css
SvetlanaMuravlova 02a1b2a53c feat(demo): updated up to bootstrap 5 (#1186)
* feat(demo): updated up to bootstrap 5

* feat(demo): deleted commented and extra code

* fix(readme): deleted slack link

* fix(readme): deleted slack link
2021-09-07 11:35:02 +03:00

262 lines
5.0 KiB
CSS

/*!
* Bootstrap Docs (http://getbootstrap.com)
* Copyright 2011-2014 Twitter, Inc.
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
.h1, .h2, .h3, h1, h2, h3 {
margin-top: 20px;
margin-bottom: 10px;
}
.h1, h1 {
font-size: 36px;
}
td {
vertical-align: middle;
}
a, .nav-tabs a.nav-link {
text-decoration: none;
color: #6f5499;
}
.btn-group-lg > .btn, .btn-lg {
font-size: 18px;
}
section {
padding-top: 30px;
}
.page-header {
padding-bottom: 9px;
margin: 40px 0 20px;
border-bottom: 1px solid #eee;
}
.navbar-default .navbar-nav > li > a {
color: #777;
}
.navbar {
padding: 15px;
background-color: #f8f8f8;
border-color: #e7e7e7;
}
.navbar-nav .nav-item {
margin-left: 0 !important;
}
.navbar-brand {
color: #777;
height: 50px;
padding: 15px 15px;
font-size: 18px;
line-height: 20px;
}
.navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
color: #333;
background-color: transparent;
}
.bd-pageheader, .bs-docs-masthead {
position: relative;
padding: 30px 0;
color: #cdbfe3;
text-align: center;
text-shadow: 0 1px 0 rgba(0, 0, 0, .1);
background-color: #6f5499;
background-image: -webkit-gradient(linear, left top, left bottom, from(#563d7c), to(#6f5499));
background-image: -webkit-linear-gradient(top, #563d7c 0, #6f5499 100%);
background-image: -o-linear-gradient(top, #563d7c 0, #6f5499 100%);
background-image: linear-gradient(to bottom, #563d7c 0, #6f5499 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#563d7c', endColorstr='#6F5499', GradientType=0);
background-repeat: repeat-x;
}
.bd-pageheader {
margin-bottom: 40px;
font-size: 20px;
}
.bd-pageheader h1 {
margin-top: 0;
color: #fff;
}
.bd-pageheader p {
margin-bottom: 0;
font-weight: 300;
line-height: 1.4;
}
.bd-pageheader .btn {
margin: 10px 0;
}
.card {
border-radius: 0 0 .25rem .25rem;
}
@media (min-width: 992px) {
.bd-pageheader h1, .bd-pageheader p {
margin-right: 380px;
}
}
@media (min-width: 768px) {
.bd-pageheader {
padding-top: 60px;
padding-bottom: 60px;
font-size: 24px;
text-align: left;
}
.bd-pageheader h1 {
font-size: 60px;
line-height: 1;
}
.navbar-nav > li > a.nav-link {
padding-top: 15px;
padding-bottom: 15px;
font-size: 14px;
}
.navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
margin-left: -15px;
}
}
@media (max-width: 767px) {
.hidden-xs {
display: none !important;
}
.navbar .container {
width: 100%;
max-width: 100%;
}
.navbar .container,
.navbar .container .navbar-header {
padding: 0;
margin: 0;
}
table {
border: 0;
}
table caption {
font-size: 1.3em;
}
table thead {
border: none;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
table tr {
border-bottom: 3px solid #ddd;
display: block;
margin-bottom: .625em;
}
table td {
border-bottom: 1px solid #ddd;
font-size: .8em;
display: flex;
justify-content: space-between;
align-items: center;
}
table td::before {
content: attr(data-label);
font-weight: bold;
text-transform: uppercase;
}
table td:last-child {
border-bottom: 0;
}
td[data-label="Progress"] .progress {
width: 75%;
}
}
@media (max-width: 400px) {
code, kbd {
font-size: 60%;
}
}
/**
* VH and VW units can cause issues on iOS devices: http://caniuse.com/#feat=viewport-units
*
* To overcome this, create media queries that target the width, height, and orientation of iOS devices.
* It isn't optimal, but there is really no other way to solve the problem. In this example, I am fixing
* the height of element '.scrollable-menu' —which is a full width and height cover image.
*
* iOS Resolution Quick Reference: http://www.iosres.com/
*/
/**
* iPad with portrait orientation.
*/
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: portrait) {
.scrollable-menu {
height: 1024px !important;
}
}
/**
* iPad with landscape orientation.
*/
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: landscape) {
.scrollable-menu {
height: 768px !important;
}
}
/**
* iPhone 5
* You can also target devices with aspect ratio.
*/
@media screen and (device-aspect-ratio: 40/71) {
.scrollable-menu {
height: 500px !important;
}
}
pre {
white-space: pre-wrap; /* CSS 3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
line-height: 1.42857143;
color: #333;
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 4px;
padding: 15px;
}
pre.prettyprint {
margin-bottom: 0;
}