fatfreecrm/fat_free_crm

View on GitHub
app/assets/stylesheets/base.scss

Summary

Maintainability
Test Coverage
// Copyright (c) 2008-2013 Michael Dvorkin and contributors.
//
// Fat Free CRM is freely distributable under the terms of MIT license.
// See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
//------------------------------------------------------------------------------
$color_body: #e5e5e5;
$color_link: #0033cc;
$color_link_hover: white;
$color_link_hover_background: #0033cc;
$color_link_image: white;
$color_link_image_background: white;

// Standard HTML tags.
//------------------------------------------------------------------------------
html, body {
  background: $color_body;
  font: {
    size-adjust: none;
    stretch: normal;
    style: normal;
    variant: normal;
    weight: normal; };
  height: 100%;
  line-height: normal; }

body, ol, ul, li, dt, tt, label, input, select, textarea {
  font: {
    size: 12px;
    family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" }; }

body, h1, h2, h3, h4, h5, h6, ol, ul, li {
  margin: 0px;
  padding: 0px; }

form {
  margin: 0px; }

ul li {
  list-style-type: none; }

// Links.
//------------------------------------------------------------------------------
a {
  text-decoration: none;
  &:link, &:visited {
    color: $color_link;
  }
  &:hover {
    background: $color_link_hover_background;
    color: $color_link_hover; }
  img {
    background-color: $color_link_image_background;
    border: none;
    color: $color_link_image;
    text-decoration: none; } }

// Bootstrap exceptions
a.btn, a.btn-sm {
  color: white;
}


#options {
  a {
    border-bottom: 1px dotted darkcyan;
    color: darkcyan;
    text-decoration: none;
    &:hover {
      background: $color_body;
      border-bottom: 1px dotted darkblue;
      color: darkblue; } } }

// Smaller fonts.
//------------------------------------------------------------------------------
abbr {
  font-size: 9px; }

small {
  font-size: 10px; }

dt {
  font-size: 11px; }

tt {
  font-size: 12px; }