Skip to content

Instantly share code, notes, and snippets.

@adamaig
Created November 22, 2013 19:39
Show Gist options
  • Select an option

  • Save adamaig/7605593 to your computer and use it in GitHub Desktop.

Select an option

Save adamaig/7605593 to your computer and use it in GitHub Desktop.
@import "reset";
/* File: application/_base_styles.scss */
html {overflow-y: scroll;}
body { background-color: #fff; color: #333; }
body, p, ol, ul, td {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 12px;
line-height: 18px;
}
p {
margin-bottom: 1.1em;
}
pre {
background-color: #eee;
padding: 10px;
font-size: 11px;
}
a {
text-decoration: none;
color: #000;
:visited { color: #666; }
}
fieldset {
border: thin black solid;
padding: 5px;
}
legend {
padding: 0px 5px;
}
img {
border: none;
}
ul, li {
margin-left: 10px;
}
.button, input[type="submit"] {
@extend .ui-widget;
@extend .ui-button;
@extend .ui-state-default;
@extend .ui-corner-all;
}
.button:hover, input[type="submit"]:hover {
@extend .ui-state-active;
@extend .ui-state-hover;
}
.button {
padding:1px 3px;
&.ui-button-text-icon-secondary .ui-button-text {
padding-right: 22px;
}
&.ui-button-text-icon-primary .ui-button-text {
padding-left: 22px;
}
&.ui-button-text-icons .ui-button-text {
padding-left: 22px;
padding-right: 22px;
}
}
.button .ui-button-text {
padding: 1px 3px;
}
.button, input, label {
vertical-align: text-bottom;
}
select {
vertical-align: top;
}
.clear { clear: both;}
.hide {display: none;}
.float-right { float: right;}
.float-left { float: left; }
input, textarea {
-webkit-border-radius: 5px;
padding: 3px;
}
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the top of the
* compiled file, but it's generally better to create a new file per style scope.
*
*= require_self
*/
@import "jquery.ui.all";
@import "themes/jquery.ui.ui-lightness";
@import "themes/jquery.ui.humanity";
@import "application/base_styles";
@import "application/common";
/* File: application.scss */
.pointer { cursor: pointer; }
.actions { width: 100%; text-align: center; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment