
fitnesse.resources.bootstrap.less.customize.less Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
body {
padding-top: 100px;
padding-bottom: 100px;
}
header,
article {
margin: 0 @page-margin-horizontal;
}
footer {
position: fixed;
bottom: 0;
width: 100%;
padding: 15px @page-margin-horizontal;
background-color: @navbar-default-bg;
min-height: @navbar-height;
border-top: 1px solid @navbar-default-border;
}
table {
.table;
.table-bordered;
.table-condensed;
width: auto;
&.hash_table {
margin-bottom: 0;
}
}
label {
display: inline-block;
}
.navbar-nav {
font-size: @font-size-large;
}
.navbar-brand {
display: block;
background-image: url(../../images/fitnesse-logo-small.png);
width: 200px;
height: 37px;
margin: 5px 15px 5px 5px;
span {
display: none;
}
}
.navbar-form.search {
float: right;
margin-right: 25px;
}
a[name] {
position: relative;
display: inline-block;
top: -120px;
visibility: hidden;
}
#add > ul {
max-height: 300px;
overflow-x: hidden;
}
.page-actions {
display: none;
float: right;
padding: 8px @page-margin-horizontal;
li {
display: inline;
.btn;
.btn-default;
.btn-xs;
}
}
.breadcrumb {
padding: 8px @page-margin-horizontal;
margin: 0;
#gradient > .vertical-three-colors(#ffffff, #ffffff, 80%, rgba(255, 255, 255, 0.0));
background-color: transparent;
border-radius: 0;
li + li:before {
content: "/ ";
color: #ccc;
}
}
button,
a.button,
input[type="button"] {
.btn;
.btn-default;
}
input[type="submit"] {
.btn;
.btn-primary;
}
input[type="radio"],
input[type="checkbox"] {
margin: 0 4px 0 0;
}
input[type="file"] {
display: inline;
}
// Reset .divider class to something we can work with
.dropdown-menu .divider {
*width: 100%;
height: auto;
margin: 0;
background-color: transparent;
border-bottom: none;
border-top: 1px solid #e5e5e5;
}
.validationerror {
margin-top: 0;
margin-left: 145px;
}
/** Rich text editor style */
.editor-toggle label {
.radio;
.radio-inline;
}
.editor-toggle input {
margin-left: -18px;
}
/** Collapsible section */
.collapsible {
margin: 0;
.panel;
.panel-default;
padding: 0;
}
.collapsible > div {
margin: 0;
.panel-body;
}
.collapsible.closed > div {
display: none;
}
.collapsible.invisible {
display: none;
}
.collapsible p.title,
.collapsible.closed p.title {
.panel-heading;
.panel-default > .panel-heading;
padding: 5px 15px 5px 30px;
background-image: url(../img/minus-sign.png);
background-repeat: no-repeat;
background-position: 12px 7px;
}
.collapsible.closed p.title {
background-image: url(../img/plus-sign.png);
border-bottom: 0;
}
.collapsible > ul {
float: right;
margin: 0;
padding: 4px 4px;
li {
border: none;
padding: 0;
a {
color: inherit;
.btn;
.btn-default;
.btn-xs;
float: left;
position: relative;
}
a.expandall {
.border-right-radius(0);
}
a.expandall:hover {
z-index: 2;
}
a.collapseall {
.border-left-radius(0);
margin-left: -1px;
}
a:hover {
text-decoration: none;
}
}
}
tr.scenario > td:first-child {
background-image: url("../img/minus-sign.png");
background-position: 2px 7px;
}
tr.scenario.closed > td:first-child {
background-image: url("../img/plus-sign.png");
padding-left: 18px;
}
.pass,
span.pass * {
background-color: darken(@alert-success-bg, 10%);
color: darken(@alert-success-text, 30%);
}
span.error,
span.error *{
background-position: 0, -2px;
padding-right: 3px;
border: 1px solid darken(@brand-warning, 30%);
border-radius: 4px;
}
.ignore,
span.ignore * {
background-color: darken(@alert-info-bg, 10%);
color: darken(@alert-info-text, 30%);
}
#test-action {
.test-button(@bgColor) {
.label;
background-color: @bgColor;
display: block;
float: left;
font-size: 14px;
margin-top: 10px;
padding: 9px 6px;
}
.output,
.ok {
.test-button(@brand-success);
}
.error,
.stop {
.test-button(@brand-danger);
}
@media (max-width: @screen-sm-min) {
float: right;
clear: left;
}
}
.progress-variant(@background) {
.progress-bar-variant(@background);
// padding: 0 0 0 18px;
color: @progress-bar-color;
}
#progressBar {
.progress-bar;
height: auto;
&.pass {
.progress-bar-success;
}
&.fail {
.progress-bar-danger;
}
&.error {
.progress-bar-warning;
}
}
#test-summary {
.progress;
height: auto;
&.pass {
.progress-variant(@progress-bar-success-bg);
}
&.fail {
.progress-variant(@progress-bar-danger-bg);
}
&.error {
.progress-variant(@progress-bar-warning-bg);
}
}
.test-summary-item(@background) {
.label;
.label-variant(@background);
padding-left: 18px;
}
#test-summaries {
.pass {
.test-summary-item(@label-success-bg);
}
.fail {
.test-summary-item(@label-danger-bg);
}
.error {
.test-summary-item(@label-warning-bg);
}
.ignore {
.test-summary-item(@label-info-bg);
}
}
#error-nav {
margin-top: 8px;
margin-left: 10px;
margin-right: 8px;
@media (max-width: @screen-md-min) {
float: right;
}
@media (max-width: @screen-sm-min) {
clear: left;
}
}
#error-nav .title {
padding-left: 15px;
@media (max-width: @screen-md-min) {
display: none;
}
}
.btn-text {
display: inline-block;
font-weight: @btn-font-weight;
text-align: center;
vertical-align: middle;
cursor: pointer;
border-width: 1px;
border-style: solid none;
border-color: @btn-default-border;
background-color: @btn-default-bg;
white-space: nowrap;
position: relative;
float: left;
padding: @padding-base-vertical/2 @padding-base-horizontal;
}
.btn-text input {
border-size: 2px;
height: 26px;
}
.propertiesPage form,
.searchForm form,
.refactorForm form,
.deletePage form {
.well;
.well-sm;
}
fieldset {
margin: 0 0 0.5em 0;
}
.nav-tabs {
margin-bottom: 12px;
}
// Specific pages:
.editPage #editor {
margin: 0 @page-margin-horizontal;
}
.editPage .textarea-toolbar,
.editPage .wysiwyg-toolbar {
margin-left: 4px;
}
.editPage textarea#pageContent {
padding: 4px;
}
.editPage .textarea-toolbar input[type="button"] {
.btn-default;
.btn-xs;
margin: 3px 0 6px 0;
}
.tag {
.badge;
background-color: @brand-info;
border: none;
}
.tag a {
color: @alert-danger-text;
}
.editPage #save_buttons {
margin: 8px @page-margin-horizontal;
}
#tt-wrap-text {
font-weight: normal;
}
.wysiwyg-toolbar li :link, .wysiwyg-toolbar li :visited {
.box-sizing(content-box);
}
@media print {
nav { display: none; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy