UNPKG

@c8y/style

Version:

Styles for Cumulocity IoT applications

60 lines (56 loc) 1.16 kB
.c8y-smart-rest-tab { -webkit-box-flex: 1; -ms-flex: 1 1 100%; flex: 1 1 100%; padding: 20px; background-color: @component-background-default; .box-shadow(0 1px 1px fade(@black, 10%)); .transition(all 0.25s ease-in-out); .row { display: block; margin-right: -5px; margin-left: -5px; > [class^='col-xs-'], > [class*=' col-xs'], > [class^='col-sm-'], > [class*=' col-sm'], > [class^='col-md-'], > [class*=' col-md'], > [class^='col-lg-'], > [class*=' col-lg'] { padding-right: 5px; padding-left: 5px; } } } .smart-rest-editor { @media (max-width: @screen-sm-max) { position: relative; .col-xs-12 { position: static; } .c8y-smart-rest-tab { position: absolute; top: 0; left: 0; z-index: 100; width: 100%; } } @media (max-width: @screen-xs-max) { .c8y-smart-rest-tab { right: -15px; left: -15px; padding-right: 30px; padding-left: 30px; width: auto; } } } .smart-rest-csv-viewer, .smart-rest-request-editor { code { background-color: transparent; color: @gray-50; } }