/usr/share/python-djangocms-admin-style-common/sass/libs/html5-boilerplate/_styles.scss is in python-djangocms-admin-style-common 1.2.2+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | $font-color: #444 !default; //looks better than black: twitter.com/H_FJ/statuses/11800719859
$link-color: #607890 !default;
$link-hover-color: #036 !default;
$link-active-color: #607890 !default;
$link-visited-color: #607890 !default;
$selected-font-color: #fff !default;
$selected-background-color: #ff5e99 !default;
$list-left-margin: 1.8em !default;
//
// Minimal base styles
//
@mixin html5-boilerplate-styles {
@include accessible-focus;
@include quoted-pre;
@include hand-cursor-inputs;
@include reset-form-elements;
//@include selected-text;
//@include webkit-tap-highlight;
@include ie-hacks;
@include no-nav-margins;
html {
@include force-scrollbar;
}
ul,
ol {
margin-left: $list-left-margin;
}
ol {
list-style-type: decimal;
}
td {
vertical-align: top;
}
sub {
@include sub;
}
sup {
@include sup;
}
}
// set sub, sup without affecting line-height: gist.github.com/413930
@mixin sub {
position: relative;
bottom: -0.25;
font-size: 75%;
line-height: 0;
}
@mixin sup {
position: relative;
top: -0.5;
font-size: 75%;
line-height: 0;
}
// accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test
@mixin accessible-focus {
a:hover,
a:active {
outline: none;
}
}
// www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap
@mixin quoted-pre {
pre {
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
padding: 15px;
}
}
// Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css
@mixin align-input-labels {
@warn "The 'align-input-labels' mixin has been deprecated.";
}
// Hand cursor on clickable input elements
@mixin hand-cursor-inputs {
label,
input[type="button"],
input[type="submit"],
input[type="image"],
button {
cursor: pointer;
}
}
@mixin reset-form-elements {
// 1) Make inputs and buttons play nice in IE: www.viget.com/inspire/styling-the-button-element-in-internet-explorer/
// 2) WebKit browsers add a 2px margin outside the chrome of form elements.
// Firefox adds a 1px margin above and below textareas
// 3) Set font-size to match <body>'s, and font-family to sans-serif
// 4) Align to baseline
button,
input,
select,
textarea {
overflow: visible;
font-family: sans-serif;
font-size: 100%;
vertical-align: baseline;
width: auto;
margin: 0;
}
// 1) Remove default scrollbar in IE: www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/
// 2) Align to text-top
textarea {
overflow: auto;
vertical-align: text-top;
}
// Remove extra padding and inner border in Firefox
input::-moz-focus-inner,
button::-moz-focus-inner {
padding: 0;
border: 0;
}
}
@mixin webkit-reset-form-elements {
@warn "The 'webkit-reset-form-elements' mixin has been deprecated. Use 'reset-form-elements' instead.";
}
// These selection declarations have to be separate.
// No text-shadow: twitter.com/miketaylr/status/12228805301
// Also: hot pink!
@mixin selected-text {
::-moz-selection {
color: $selected-font-color;
text-shadow: none;
background: $selected-background-color;
}
::selection {
color: $selected-font-color;
text-shadow: none;
background: $selected-background-color;
}
}
// j.mp/webkit-tap-highlight-color
@mixin webkit-tap-highlight {
a:link {
-webkit-tap-highlight-color: $selected-background-color;
}
}
// 1) Always force a scrollbar in non-IE
// 2) Remove iOS text size adjust without disabling user zoom:
// www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
@mixin force-scrollbar {
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
@mixin ie-hacks {
// Bicubic resizing for non-native sized IMG:
// code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
.ie7 img {
-ms-interpolation-mode: bicubic;
}
.ie6 legend,
.ie7 legend {
margin-left: -7px;
}
}
@mixin no-nav-margins {
// remove margins for navigation lists
nav ul,
nav li {
margin: 0;
list-style: none;
list-style-image: none;
}
}
|