| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394 |
- /* Main
- * ========================================================================== */
- /* Icons
- * -------------------------------------------------------------------------- */
- .icon {
- display: inline-block;
- width: 20px;
- height: 20px;
- background-image: url("../img/icons.png");
- vertical-align: middle;
- }
- .icon-move {
- background-position: 0 0;
- }
- .icon-crop {
- background-position: -30px 0;
- }
- .icon-zoom-in {
- background-position: -60px 0;
- }
- .icon-zoom-out {
- background-position: -90px 0;
- }
- .icon-rotate-left {
- background-position: -120px 0;
- }
- .icon-rotate-right {
- background-position: -150px 0;
- }
- .icon-lock {
- background-position: -180px 0;
- }
- .icon-unlock {
- background-position: -210px 0;
- }
- .icon-remove {
- background-position: -240px 0;
- }
- .icon-refresh {
- background-position: -270px 0;
- }
- .icon-upload {
- background-position: -300px 0;
- }
- .icon-off {
- background-position: -330px 0;
- }
- .icon-info {
- background-position: -360px 0;
- }
- /* Alerts
- * -------------------------------------------------------------------------- */
- .docs-alert {
- display: none;
- position: fixed;
- top: 20px;
- left: 0;
- right: 0;
- height: 0;
- text-align: center;
- opacity: 0.9;
- }
- .docs-alert .message {
- display: inline-block;
- padding: 5px 10px;
- border-radius: 2px;
- background-color: #aaa;
- color: #fff;
- }
- .docs-alert .primary {
- background-color: #0074d9;
- }
- .docs-alert .success {
- background-color: #2ecc40;
- }
- .docs-alert .info {
- background-color: #39cccc;
- }
- .docs-alert .warning {
- background-color: #ff851b;
- }
- .docs-alert .danger {
- background-color: #ff4136;
- }
- /* Button
- * -------------------------------------------------------------------------- */
- .btn-primary {
- border-color: #0066bf; /* hsb(208, 100%, 75%) */
- background-color: #0074d9; /* hsb(208, 100%, 85%) */
- }
- .btn-primary:hover,
- .btn-primary:focus,
- .btn-primary:active,
- .btn-primary.active,
- .btn-primary.active:focus,
- .btn-primary.active:hover {
- border-color: #005299; /* hsb(208, 100%, 60%) */
- background-color: #005fb3; /* hsb(208, 100%, 70%) */
- }
- /* Basic style
- * -------------------------------------------------------------------------- */
- body {
- overflow-x: hidden;
- }
- /* Header */
- .docs-header {
- border-color: #0066bf;
- background-color: #0074d9;
- color: #fff;
- }
- .docs-header .navbar-brand {
- color: #eee;
- }
- .docs-header .navbar-toggle {
- border-color: transparent;
- background-color: #0074d9;
- }
- .docs-header .navbar-toggle:hover,
- .docs-header .navbar-toggle:focus {
- border-color: transparent;
- background-color: #0066bf;
- }
- .docs-header .navbar-collapse {
- border-color: #0066bf;
- }
- .docs-header .navbar-text {
- color: #ddd;
- }
- .docs-header .navbar-nav > li > a {
- color: #eee;
- }
- /* Content */
- .img-container,
- .img-preview {
- background-color: #f7f7f7;
- overflow: hidden;
- width: 100%;
- text-align: center;
- }
- .img-container {
- min-height: 200px;
- max-height: 466px;
- margin-bottom: 20px;
- }
- @media (min-width: 768px) {
- .img-container {
- min-height: 466px;
- }
- }
- .img-container > img {
- max-width: 100%;
- }
- .docs-preview {
- margin-right: -15px;
- margin-bottom: 10px;
- }
- .img-preview {
- float: left;
- margin-right: 10px;
- margin-bottom: 10px;
- }
- .img-preview > img {
- max-width: 100%;
- }
- .preview-lg {
- width: 263px;
- height: 148px;
- }
- .preview-md {
- width: 139px;
- height: 78px;
- }
- .preview-sm {
- width: 69px;
- height: 39px;
- }
- .preview-xs {
- width: 35px;
- height: 20px;
- margin-right: 0;
- }
- .docs-data > .input-group {
- margin-bottom: 10px;
- }
- .docs-data > .input-group > label {
- min-width: 80px;
- }
- .docs-data > .input-group > span {
- min-width: 50px;
- }
- .docs-buttons > .btn,
- .docs-buttons > .btn-group,
- .docs-buttons > .form-control {
- margin-right: 5px;
- margin-bottom: 10px;
- }
- .docs-toggles > .btn,
- .docs-toggles > .btn-group,
- .docs-toggles > .dropdown {
- margin-bottom: 10px;
- }
- .docs-tooltip {
- display: block;
- margin: -6px -12px;
- padding: 6px 12px;
- }
- .docs-tooltip > .icon {
- margin: 0 -3px;
- vertical-align: top;
- }
- .tooltip-inner {
- white-space: normal;
- }
- .btn-upload .tooltip-inner,
- .btn-toggle .tooltip-inner {
- white-space: nowrap;
- }
- .btn-toggle {
- padding: 6px;
- }
- .btn-toggle > .docs-tooltip {
- margin: -6px;
- padding: 6px;
- }
- @media (max-width: 400px) {
- .btn-group-crop {
- margin-right: -15px!important;
- }
- .btn-group-crop > .btn {
- padding-left: 5px;
- padding-right: 5px;
- }
- .btn-group-crop .docs-tooltip {
- margin-left: -5px;
- margin-right: -5px;
- padding-left: 5px;
- padding-right: 5px;
- }
- }
- .docs-options .dropdown-menu {
- width: 100%;
- }
- .docs-options .dropdown-menu > li {
- padding: 3px 20px;
- }
- .docs-options .dropdown-menu > li:hover {
- background-color: #f7f7f7;
- }
- .docs-options .dropdown-menu > li > label {
- display: block;
- }
- .docs-cropped .modal-body {
- text-align: center;
- }
- .docs-cropped .modal-body > img,
- .docs-cropped .modal-body > canvas {
- max-width: 100%;
- }
- .docs-diagram .modal-dialog {
- max-width: 352px;
- }
- /* Footer */
- .docs-footer {
- margin-top: 100px;
- padding-top: 10px;
- padding-bottom: 10px;
- border-top: 1px solid #0066bf;
- background-color: #0074d9;
- color: #ddd;
- }
- .docs-footer a {
- color: #eee;
- }
- .docs-footer a:hover,
- .docs-footer a:focus {
- color: #fff;
- }
- .docs-footer a + a {
- margin-left: 10px;
- }
- @media (min-width: 768px) {
- .back-to-top {
- float: right;
- }
- }
- /* Examples
- * -------------------------------------------------------------------------- */
- .cropper-example-1 {
- max-height: 331px;
- }
- @media (min-width: 768px) {
- .cropper-example-1 {
- min-height: 305px;
- }
- }
- .cropper-example-1 > img {
- max-width: 100%;
- }
- /* Google code prettify
- * -------------------------------------------------------------------------- */
- .prettyprint {
- padding: 10px 15px !important;
- border: 1px solid #ddd !important;
- }
|