Initial commit

This commit is contained in:
2020-10-07 10:37:15 +02:00
commit ce5f440392
28157 changed files with 4429172 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
.tab-navigation
margin: 0 0 1em 0
padding: 0
li
background: #FFF
border: 1px solid #DDD
color: #444
cursor: pointer
display: inline-block
font-size: 16px
margin: 0 0 0 -1px
padding: .5em .75em
z-index: 1
&:hover
background: #EEE
&.disabled
background: #F5F5F5
color: #999
&.active
background: #666
border-color: #666
color: #FAFAFA
z-index: 1100
& > *:first-child
margin-top: 0
.block
display: block
.hidden
display: none

View File

@@ -0,0 +1,6 @@
@import "modules/variables"
@import "modules/mixins"
@import "modules/progressbar"
@import "modules/accordion"
@import "modules/badge"
@import "modules/screen"

View File

@@ -0,0 +1,10 @@
.accordion
.accordion-header
cursor: pointer
.accordion-content
display: none
transition: all 1s ease
&.expanded
display: block

View File

@@ -0,0 +1,20 @@
.badge
padding: 2px 9px
font-size: 0.75rem
font-weight: bold
white-space: nowrap
color: #ffffff
background-color: #999999
-webkit-border-radius: 9px
-moz-border-radius: 9px
border-radius: 9px
&.cache
&.hit
background-color: map-get($status-colors, success)
&.miss
background-color: map-get($status-colors, informational)
@each $status in server-error, client-error, redirection, success, informational, unknown
&.status-code.#{$status}
background-color: map-get($status-colors, $status)

View File

@@ -0,0 +1,2 @@
=make-stripes($color, $angle: 120deg, $width: 10px, $darken: 10%)
background: repeating-linear-gradient($angle, $color, $color 10px, darken($color, $darken) $width, darken($color, $darken) 2 * $width)

View File

@@ -0,0 +1,17 @@
.progress
background-color: $border-color
padding: 1px
height: 20px
.progress-bar
height: 20px
float: left
text-align: center
color: white
@each $level, $color in (warning: $warning, success: $success)
.progress-bar-#{$level}
background: $color
&.progress-bar-striped
@include make-stripes($color)

View File

@@ -0,0 +1,18 @@
.call
border-style: solid
border-color: $border-color
border-width: 1px 1px 1px 1px
margin: 5px
@each $i, $color in $method-colors
.#{$i}
background-color: $color
color: #fff
a
color: #fff
&:hover
background: lighten($color, 10%)
&>*
padding: 5px

View File

@@ -0,0 +1,12 @@
// Method colors
$error: #d9534f
$warning: #f0ad4e
$success: #5cb85c
$redirect: darken(#428bca, 6.5%)
$info: #5bc0de
$border-color: rgb(224, 224, 224)
//$border-color: #888
$method-colors: (get: #0f6ab4, post: #10a54a, put: #c5862b, delete: #a41e22, patch: #a41ee2, link: #C3D448, unlink: #FF8438, other: #000000)
$status-colors: (server-error: $error, client-error: $warning, redirection: $redirect, success: $success, informational: $info, unknown: $error)