This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "mixins"; | |
@import "adjustment"; | |
/* --------- sidebar --------- */ | |
$sidebarPadding: 7%; | |
.wrapper { | |
@include flexbox; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.ui.form .field.error input[type="text"], .ui.form .field.error textarea | |
background-color: white | |
border-color: #ddd | |
padding-left: 40px | |
+box-shadow(0.3em 0em 0em 0em #aaa inset) | |
&:focus | |
color: gray | |
border-color: #ddd | |
+box-shadow(0.3em 0em 0em 0em #555 inset) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media only screen and (max-width: 980px) | |
#modal | |
#window | |
+scale(0.8) | |
@media only screen and (max-width: 680px) | |
#modal | |
#window | |
+scale(0.6) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#button_background a | |
height: 23px | |
padding: 5px 25px | |
z-index: 0 | |
position: relative | |
display: block | |
border: 0 | |
background: -webkit-linear-gradient(#fff, #f3efe7) !important | |
background: -moz-linear-gradient(#fff, #f3efe7) !important | |
background: -ms-linear-gradient(#fff, #f3efe7) !important |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%html | |
%head | |
%title Bellecave | |
= stylesheet_link_tag "application", :media => "all" | |
= javascript_include_tag "application" | |
= csrf_meta_tags | |
%link{:href => "/stylesheets/screen.css", :media => "screen, projection", :rel => "stylesheet", :type => "text/css"}/ | |
%link{:href => "/stylesheets/print.css", :media => "print", :rel => "stylesheet", :type => "text/css"}/ | |
/[if IE] | |
<link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'date' | |
programname = "Carbounkel" | |
VERSION = "0.0.1" | |
puts "#{programname} #{VERSION}" | |
puts " | |
1. task | |
2. datatask | |
3. new task | |
0. exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
(function($) { | |
/* | |
* Function: fnGetColumnData | |
* Purpose: Return an array of table values from a particular column. | |
* Returns: array string: 1d data array | |
* Inputs: object:oSettings - dataTable settings object. This is always the last argument past to the function | |
* int:iColumn - the id of the column to extract the data from | |
* bool:bUnique - optional - if set to false duplicated values are not filtered out | |
* bool:bFiltered - optional - if set to false all the table data is used (not only the filtered) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
(function($) { | |
/* | |
* Function: fnGetColumnData | |
* Purpose: Return an array of table values from a particular column. | |
* Returns: array string: 1d data array | |
* Inputs: object:oSettings - dataTable settings object. This is always the last argument past to the function | |
* int:iColumn - the id of the column to extract the data from | |
* bool:bUnique - optional - if set to false duplicated values are not filtered out | |
* bool:bFiltered - optional - if set to false all the table data is used (not only the filtered) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def alex(string) | |
if string[/^\d/] | |
1 | |
elsif string[/123#/] | |
2 | |
else | |
if string.scan(/1/).size == 1 | |
3 | |
elsif string.scan(/1/).size > 1 | |
4 |
NewerOlder