123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083 |
- /**
- * @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
- * @copyright Copyright (c) 2016, Lukas Reschke <lukas@statuscode.ch>
- * @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>
- * @copyright Copyright (c) 2016, Julius Haertl <jus@bitgrid.net>
- * @copyright Copyright (c) 2016, Joas Schilling <coding@schilljs.com>
- * @copyright Copyright (c) 2016, Morris Jobke <hey@morrisjobke.de>
- * @copyright Copyright (c) 2016, Christoph Wurst <christoph@winzerhof-wurst.at>
- * @copyright Copyright (c) 2016, Raghu Nayyar <hey@raghunayyar.com>
- * @copyright Copyright (c) 2011-2017, Jan-Christoph Borchardt <hey@jancborchardt.net>
- * @copyright Copyright (c) 2019-2020, Gary Kim <gary@garykim.dev>
- *
- * @license GNU AGPL version 3 or any later version
- *
- */
- @use 'sass:math';
- @use 'variables';
- html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section, main {
- margin: 0;
- padding: 0;
- border: 0;
- font-weight: inherit;
- font-size: 100%;
- font-family: inherit;
- vertical-align: baseline;
- cursor: default;
- scrollbar-color: var(--color-border-dark) transparent;
- scrollbar-width: thin;
- }
- .js-focus-visible :focus:not(.focus-visible) {
- outline: none;
- }
- /** Let vue apps handle the focus themselves */
- .content:not(#content-vue) :focus-visible,
- .app-navigation:not(#app-navigation-vue) :focus-visible {
- box-shadow: inset 0 0 0 2px var(--color-primary-element);
- outline: none;
- }
- html, body {
- height: 100%;
- // disable pull-down-to-refresh on chromium mobile
- overscroll-behavior-y: contain;
- }
- article, aside, dialog, figure, footer, header, hgroup, nav, section {
- display: block;
- }
- body {
- line-height: 1.5;
- }
- table {
- border-collapse: separate;
- border-spacing: 0;
- white-space: nowrap;
- }
- caption, th, td {
- text-align: left;
- font-weight: normal;
- }
- table, td, th {
- vertical-align: middle;
- }
- a {
- border: 0;
- color: var(--color-main-text);
- text-decoration: none;
- cursor: pointer;
- * {
- cursor: pointer;
- }
- }
- a.external {
- margin: 0 3px;
- text-decoration: underline;
- }
- input {
- cursor: pointer;
- * {
- cursor: pointer;
- }
- }
- select, .button span, label {
- cursor: pointer;
- }
- ul {
- list-style: none;
- }
- body {
- font-weight: normal;
- /* bring the default font size up to 15px */
- font-size: var(--default-font-size);
- line-height: var(--default-line-height);
- font-family: var(--font-face);
- color: var(--color-main-text);
- }
- .two-factor-header {
- text-align: center;
- }
- .two-factor-provider {
- text-align: center;
- width: 100% !important;
- display: inline-block;
- margin-bottom: 0 !important;
- background-color: var(--color-background-darker) !important;
- border: none !important;
- }
- .two-factor-link {
- display: inline-block;
- padding: 12px;
- color: var(--color-text-lighter);
- }
- .float-spinner {
- height: 32px;
- display: none;
- }
- #nojavascript {
- position: fixed;
- top: 0;
- bottom: 0;
- left: 0;
- height: 100%;
- width: 100%;
- z-index: 9000;
- text-align: center;
- background-color: var(--color-background-darker);
- color: var(--color-primary-element-text);
- line-height: 125%;
- font-size: 24px;
- div {
- display: block;
- position: relative;
- width: 50%;
- top: 35%;
- margin: 0px auto;
- }
- a {
- color: var(--color-primary-element-text);
- border-bottom: 2px dotted var(--color-main-background);
- &:hover, &:focus {
- color: var(--color-primary-element-text-dark);
- }
- }
- }
- /* SCROLLING */
- ::-webkit-scrollbar {
- width: 12px;
- height: 12px
- }
- ::-webkit-scrollbar-corner {
- background-color: transparent;
- }
- ::-webkit-scrollbar-track-piece {
- background-color: transparent;
- }
- ::-webkit-scrollbar-thumb {
- background: var(--color-scrollbar);
- border-radius: var(--border-radius-large);
- border: 2px solid transparent;
- background-clip: content-box;
- }
- /* SELECTION */
- ::selection {
- background-color: var(--color-primary-element);
- color: var(--color-primary-element-text);
- }
- /* CONTENT ------------------------------------------------------------------ */
- #app-navigation * {
- box-sizing: border-box;
- }
- /* EMPTY CONTENT DISPLAY ------------------------------------------------------------ */
- #emptycontent,
- .emptycontent {
- color: var(--color-text-maxcontrast);
- text-align: center;
- margin-top: 30vh;
- width: 100%;
- #app-sidebar & {
- margin-top: 10vh;
- }
- .emptycontent-search {
- position: static;
- }
- h2 {
- margin-bottom: 10px;
- }
- [class^='icon-'],
- [class*='icon-'] {
- background-size: 64px;
- height: 64px;
- width: 64px;
- margin: 0 auto 15px;
- &:not([class^='icon-loading']),
- &:not([class*='icon-loading']) {
- opacity: .4;
- }
- }
- }
- /* LOG IN & INSTALLATION ------------------------------------------------------------ */
- #datadirContent label {
- width: 100%;
- }
- /* strengthify wrapper */
- /* General new input field look */
- /* Nicely grouping input field sets */
- .grouptop, .groupmiddle, .groupbottom {
- position: relative;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- }
- /* Show password toggle */
- #show, #dbpassword {
- position: absolute;
- right: 1em;
- top: .8em;
- float: right;
- }
- #show + label, #dbpassword + label {
- right: 21px;
- top: 15px !important;
- margin: -14px !important;
- padding: 14px !important;
- }
- #show:checked + label, #dbpassword:checked + label, #personal-show:checked + label {
- opacity: .8;
- }
- #show:focus-visible + label, #dbpassword-toggle:focus-visible + label, #personal-show:focus-visible + label {
- box-shadow: var(--color-primary-element) 0 0 0 2px;
- opacity: 1;
- border-radius: 9999px;
- }
- #show + label, #dbpassword + label, #personal-show + label {
- position: absolute !important;
- height: 20px;
- width: 24px;
- background-image: var(--icon-toggle-dark);
- background-repeat: no-repeat;
- background-position: center;
- opacity: .3;
- }
- /* Feedback for keyboard focus and mouse hover */
- #show,
- #dbpassword,
- #personal-show {
- &:focus + label {
- opacity: 1;
- }
- + label:hover {
- opacity: 1;
- }
- }
- #show + label:before, #dbpassword + label:before, #personal-show + label:before {
- display: none;
- }
- #pass2, input[name='personal-password-clone'] {
- padding-right: 30px;
- }
- .personal-show-container {
- position: relative;
- display: inline-block;
- margin-right: 6px;
- }
- #personal-show + label {
- display: block;
- right: 0;
- margin-top: -43px;
- margin-right: -4px;
- padding: 22px;
- }
- /* Warnings and errors are the same */
- #body-user .warning, #body-settings .warning {
- margin-top: 8px;
- padding: 5px;
- border-radius: var(--border-radius);
- color: var(--color-main-text);
- background-color: rgba(var(--color-warning-rgb), 0.2);
- }
- .warning {
- legend, a {
- font-weight: bold !important;
- }
- }
- .error:not(.toastify) {
- a {
- color: white !important;
- font-weight: bold !important;
- &.button {
- color: var(--color-text-lighter) !important;
- display: inline-block;
- text-align: center;
- }
- }
- pre {
- white-space: pre-wrap;
- text-align: left;
- }
- }
- .error-wide {
- width: 700px;
- margin-left: -200px !important;
- .button {
- color: black !important;
- }
- }
- .warning-input {
- border-color: var(--color-error) !important;
- }
- /* fixes for update page TODO should be fixed some time in a proper way */
- /* this is just for an error while updating the Nextcloud instance */
- /* Sticky footer */
- /* round profile photos */
- .avatar, .avatardiv {
- border-radius: 50%;
- flex-shrink: 0;
- &> img {
- border-radius: 50%;
- flex-shrink: 0;
- }
- }
- td.avatar {
- border-radius: 0;
- }
- tr .action:not(.permanent), .selectedActions > a {
- opacity: 0;
- }
- tr {
- &:hover .action:not(.menuitem),
- &:focus .action:not(.menuitem),
- .action.permanent:not(.menuitem) {
- opacity: .5;
- }
- }
- .selectedActions > a {
- opacity: .5;
- position: relative;
- top: 2px;
- &:hover, &:focus {
- opacity: 1;
- }
- }
- tr .action {
- width: 16px;
- height: 16px;
- }
- .header-action {
- opacity: .8;
- }
- tr {
- &:hover .action:hover, &:focus .action:focus {
- opacity: 1;
- }
- }
- .selectedActions a {
- &:hover, &:focus {
- opacity: 1;
- }
- }
- .header-action {
- &:hover, &:focus {
- opacity: 1;
- }
- }
- tbody tr:not(.group-header) {
- &:hover, &:focus, &:active {
- background-color: var(--color-background-dark);
- }
- }
- code {
- font-family: 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', monospace;
- }
- .pager {
- list-style: none;
- float: right;
- display: inline;
- margin: .7em 13em 0 0;
- li {
- display: inline-block;
- }
- }
- .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .ui-icon-circle-triangle-e {
- background-image: url('../img/actions/play-next.svg?v=1');
- }
- .ui-icon-circle-triangle-w {
- background-image: url('../img/actions/play-previous.svg?v=1');
- }
- /* ---- jQuery UI datepicker ---- */
- .ui-widget.ui-datepicker {
- margin-top: 10px;
- padding: 4px 8px;
- width: auto;
- border-radius: var(--border-radius);
- border: none;
- z-index: 1600 !important; // above sidebar
- .ui-state-default,
- .ui-widget-content .ui-state-default,
- .ui-widget-header .ui-state-default {
- border: 1px solid transparent;
- background: inherit;
- }
- .ui-widget-header {
- padding: 7px;
- font-size: 13px;
- border: none;
- background-color: var(--color-main-background);
- color: var(--color-main-text);
- .ui-datepicker-title {
- line-height: 1;
- font-weight: normal;
- }
- .ui-icon {
- opacity: .5;
- &.ui-icon-circle-triangle-e {
- background: url("../img/actions/arrow-right.svg") center center no-repeat;
- }
- &.ui-icon-circle-triangle-w {
- background: url("../img/actions/arrow-left.svg") center center no-repeat;
- }
- }
- .ui-state-hover .ui-icon {
- opacity: 1;
- }
- }
- .ui-datepicker-calendar {
- th {
- font-weight: normal;
- color: var(--color-text-lighter);
- opacity: .8;
- width: 26px;
- padding: 2px;
- }
- tr:hover {
- background-color: inherit;
- }
- td {
- &.ui-datepicker-today a:not(.ui-state-hover) {
- background-color: var(--color-background-darker);
- }
- &.ui-datepicker-current-day a.ui-state-active,
- .ui-state-hover,
- .ui-state-focus {
- background-color: var(--color-primary-element);
- color: var(--color-primary-element-text);
- font-weight: bold;
- }
- &.ui-datepicker-week-end:not(.ui-state-disabled) :not(.ui-state-hover),
- .ui-priority-secondary:not(.ui-state-hover) {
- color: var(--color-text-lighter);
- opacity: .8;
- }
- }
- }
- }
- .ui-datepicker-prev, .ui-datepicker-next {
- border: var(--color-border-dark);
- background: var(--color-main-background);
- }
- /* ---- jQuery UI timepicker ---- */
- .ui-widget.ui-timepicker {
- margin-top: 10px !important;
- width: auto !important;
- border-radius: var(--border-radius);
- z-index: 1600 !important;
- .ui-widget-content {
- border: none !important;
- }
- .ui-state-default,
- .ui-widget-content .ui-state-default,
- .ui-widget-header .ui-state-default {
- border: 1px solid transparent;
- background: inherit;
- }
- .ui-widget-header {
- padding: 7px;
- font-size: 13px;
- border: none;
- background-color: var(--color-main-background);
- color: var(--color-main-text);
- .ui-timepicker-title {
- line-height: 1;
- font-weight: normal;
- }
- }
- /* AM/PM fix */
- table.ui-timepicker tr .ui-timepicker-hour-cell:first-child {
- margin-left: 30px;
- }
- .ui-timepicker-table {
- th {
- font-weight: normal;
- color: var(--color-text-lighter);
- opacity: .8;
- &.periods {
- padding: 0;
- width: 30px;
- line-height: 30px;
- }
- }
- tr:hover {
- background-color: inherit;
- }
- td {
- &.ui-timepicker-hour-cell a.ui-state-active,
- &.ui-timepicker-minute-cell a.ui-state-active,
- .ui-state-hover,
- .ui-state-focus {
- background-color: var(--color-primary-element);
- color: var(--color-primary-element-text);
- font-weight: bold;
- }
- &.ui-timepicker-minutes:not(.ui-state-hover) {
- color: var(--color-text-lighter);
- }
- &.ui-timepicker-hours {
- border-right: 1px solid var(--color-border);
- }
- }
- }
- }
- /* ---- jQuery UI datepicker & timepicker global rules ---- */
- .ui-widget.ui-datepicker .ui-datepicker-calendar,
- .ui-widget.ui-timepicker table.ui-timepicker {
- tr {
- display: flex;
- flex-wrap: nowrap;
- justify-content: space-between;
- td {
- flex: 1 1 auto;
- margin: 0;
- padding: 2px;
- height: 26px;
- width: 26px;
- display: flex;
- align-items: center;
- justify-content: center;
- > * {
- border-radius: 50%;
- text-align: center;
- font-weight: normal;
- color: var(--color-main-text);
- display: block;
- line-height: 18px;
- width: 18px;
- height: 18px;
- padding: 3px;
- font-size: .9em;
- }
- }
- }
- }
- /* ---- DIALOGS ---- */
- #oc-dialog-filepicker-content {
- position: relative;
- display: flex;
- flex-direction:column;
- .dirtree {
- flex-wrap: wrap;
- box-sizing: border-box;
- padding-right: 140px;
- display: flex;
- div:first-child a {
- font-size: 0px;
- background-image: var(--icon-home-dark);
- background-repeat: no-repeat;
- background-position: left center;
- }
- span {
- &:not(:last-child) {
- cursor: pointer;
- }
- &:last-child {
- font-weight: bold;
- }
- &:not(:last-child)::after {
- content: '>';
- padding: 3px;
- }
- }
- }
- #picker-showgridview {
- position: absolute;
- background-color: transparent;
- border: none;
- margin: 0;
- padding: 22px;
- opacity: .5;
- right: 0;
- top: 0;
- &:hover,
- &:active,
- &:focus {
- box-shadow: 0 0 0 2px var(--color-primary-element);
- opacity: 1;
- }
- }
- .actions.creatable {
- flex-wrap: wrap;
- padding: 0px;
- box-sizing: border-box;
- display: inline-flex;
- float: none;
- max-height: 36px;
- max-width: 36px;
- background-color: var(--color-background-dark);
- border: 1px solid var(--color-border-dark);
- border-radius: var(--border-radius-pill);
- position: relative;
- left: 15px;
- top:3px;
- order:1;
- .icon.icon-add{
- background-image: var(--icon-add-dark);
- background-size: 16px 16px;
- width: 34px;
- height: 34px;
- margin: 0px;
- opacity: 0.5;
- }
- a {
- width: 36px;
- padding: 0px;
- position: static;
- }
- .menu {
- top: 100%;
- margin-top: 10px;
- form {
- display: flex;
- margin: 10px;
- }
- }
- }
- .filelist-container {
- box-sizing: border-box;
- display: inline-block;
- overflow-y: auto;
- flex: 1;
- /*height: 100%;*/
- /* overflow under the button row */
- width: 100%;
- overflow-x: hidden;
- }
- .emptycontent {
- color: var(--color-text-maxcontrast);
- text-align: center;
- margin-top: 80px;
- width: 100%;
- display: none;
- }
- .filelist {
- background-color: var(--color-main-background);
- width: 100%;
- }
- #picker-filestable.filelist {
- /* prevent the filepicker to overflow */
- min-width: initial;
- margin-bottom: 50px;
- thead {
- tr {
- border-bottom: 1px solid var(--color-border);
- background-color: var(--color-main-background);
- th {
- width: 80%;
- border: none;
- }
- }
- }
- th .columntitle {
- display: block;
- padding: 15px;
- height: 50px;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- vertical-align: middle;
- }
- th .columntitle.name {
- padding-left: 5px;
- margin-left: 50px;
- }
- th .sort-indicator {
- width: 10px;
- height: 8px;
- margin-left: 5px;
- display: inline-block;
- vertical-align: text-bottom;
- opacity: .3;
- }
- .sort-indicator.hidden,
- th:hover .sort-indicator.hidden,
- th:focus .sort-indicator.hidden {
- visibility: hidden;
- }
- th:hover .sort-indicator.hidden,
- th:focus .sort-indicator.hidden {
- visibility: visible;
- }
- td {
- padding: 14px;
- border-bottom: 1px solid var(--color-border);
- }
- tr:last-child td {
- border-bottom: none;
- }
- .filename {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- background-size: 32px;
- background-repeat: no-repeat;
- padding-left: 51px;
- background-position: 7px 7px;
- cursor: pointer;
- // avoid taking full width
- max-width: 0;
- .filename-parts {
- display: flex;
- &__first {
- overflow: hidden;
- white-space: pre;
- text-overflow: ellipsis;
- }
- &__last {
- white-space: pre;
- }
- }
- }
- .filesize, .date {
- width: 80px;
- }
- .filesize {
- text-align: right;
- }
- &.view-grid {
- $grid-size: 120px;
- $grid-pad: 10px;
- $name-height: 30px;
- display: flex;
- flex-direction: column;
- tbody {
- display: grid;
- grid-template-columns: repeat(auto-fill, $grid-size);
- justify-content: space-around;
- row-gap: 15px;
- margin: 15px 0;
- tr {
- display: block;
- position: relative;
- border-radius: var(--border-radius);
- padding: $grid-pad;
- display: flex;
- flex-direction: column;
- width: $grid-size - 2 * $grid-pad;
- td {
- border: none;
- padding: 0;
- text-align: center;
- border-radius: var(--border-radius);
- &.filename {
- padding: #{$grid-size - 2 * $grid-pad} 0 0 0;
- background-position: center top;
- background-size: contain;
- line-height: $name-height;
- max-width: none;
- .filename-parts {
- justify-content: center;
- }
- }
- &.filesize {
- line-height: math.div($name-height, 3);
- width: 100%;
- }
- &.date {
- align-self: center;
- overflow: hidden;
- text-overflow: ellipsis;
- min-width: 110px;
- }
- }
- }
- }
- }
- }
- .filepicker_element_selected {
- background-color: var(--color-background-darker);
- }
- }
- .ui-dialog {
- position: fixed !important;
- }
- span.ui-icon {
- float: left;
- margin: 3px 7px 30px 0;
- }
- /* ---- TOOLTIPS ---- */
- .extra-data {
- padding-right: 5px !important;
- }
- /* ---- TAGS ---- */
- #tagsdialog {
- .content {
- width: 100%;
- height: 280px;
- }
- .scrollarea {
- overflow: auto;
- border: 1px solid var(--color-background-darker);
- width: 100%;
- height: 240px;
- }
- .bottombuttons {
- width: 100%;
- height: 30px;
- * {
- float: left;
- }
- }
- .taglist li {
- background: var(--color-background-dark);
- padding: .3em .8em;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- -webkit-transition: background-color 500ms;
- transition: background-color 500ms;
- &:hover, &:active {
- background: var(--color-background-darker);
- }
- }
- .addinput {
- width: 90%;
- clear: both;
- }
- }
- /* ---- BREADCRUMB ---- */
- .breadcrumb {
- display: inline-flex;
- height: 50px;
- }
- li.crumb {
- display: inline-flex;
- background-image: url('../img/breadcrumb.svg?v=1');
- background-repeat: no-repeat;
- background-position: right center;
- height: 44px;
- background-size: auto 24px;
- flex: 0 0 auto;
- order: 1;
- padding-right: 7px;
- &.crumbmenu {
- order: 2;
- position: relative;
- a {
- opacity: 0.5
- }
- &.canDropChildren,
- &.canDrop {
- .popovermenu {
- display: block;
- }
- }
- // Fix because of the display flex
- .popovermenu {
- top: 100%;
- margin-right: 3px;
- ul {
- max-height: 345px;
- overflow-y: auto;
- overflow-x: hidden;
- padding-right: 5px;
- li.canDrop span:first-child {
- background-image: url('../img/filetypes/folder-drag-accept.svg?v=1') !important;
- }
- }
- .in-breadcrumb {
- display: none;
- }
- }
- }
- &.hidden {
- display: none;
- ~ .crumb {
- order: 3;
- }
- }
- > a,
- > span {
- position: relative;
- padding: 12px;
- opacity: 0.5;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- flex: 0 0 auto;
- // Some sane max-width for each folder name
- max-width: 200px;
- &.icon-home,
- &.icon-delete {
- // Hide home text
- text-indent: -9999px;
- }
- }
- > a[class^='icon-'] {
- padding: 0;
- width: 44px;
- }
- &:not(:first-child) a {
- }
- &:last-child {
- font-weight: bold;
- margin-right: 10px;
- // Allow multiple span next to the main 'a'
- a ~ span {
- padding-left: 0;
- }
- }
- &:hover, &:focus, a:focus, &:active {
- opacity: 1;
- > a,
- > span {
- opacity: .7;
- }
- }
- }
- /* some feedback for hover/tap on breadcrumbs */
- .appear {
- opacity: 1;
- -webkit-transition: opacity 500ms ease 0s;
- -moz-transition: opacity 500ms ease 0s;
- -ms-transition: opacity 500ms ease 0s;
- -o-transition: opacity 500ms ease 0s;
- transition: opacity 500ms ease 0s;
- &.transparent {
- opacity: 0;
- }
- }
- /* LEGACY FIX only - do not use fieldsets for settings */
- fieldset {
- &.warning legend, &.update legend {
- top: 18px;
- position: relative;
- }
- &.warning legend + p, &.update legend + p {
- margin-top: 12px;
- }
- }
- /* for IE10 */
- @-ms-viewport {
- width: device-width;
- }
- /* hidden input type=file field */
- .hiddenuploadfield {
- display: none;
- width: 0;
- height: 0;
- opacity: 0;
- }
|