/*
 * Copyright (C) 2017 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

/* lock icon button */
.lock-icon {
  @include ic-focus-base;
  display: inline-block;
  color: $ic-color-icon-disabled;
  cursor: pointer;
  &:focus { @include ic-focus-variant; }
  &.lock-icon-unlocked { color: $ic-color-icon-disabled; }
  &.lock-icon-locked { color: var(--ic-brand-primary); }
  &.disabled { cursor: default; }
}
.lock-text {
  display: inline;
}

/*
 * Copyright (C) 2017 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

/* lock icon button */
.lock-icon {
  @include ic-focus-base;
  display: inline-block;
  color: $ic-color-icon-disabled;
  cursor: pointer;
  &:focus { @include ic-focus-variant; }
  &.lock-icon-unlocked { color: $ic-color-icon-disabled; }
  &.lock-icon-locked { color: var(--ic-brand-primary); }
    &.disabled { color: $ic-color-icon-disabled; }
  &.disabled { cursor: default; }
}

.lock-text {
  display: inline;
}

Make child course lock icons grey
Make child course lock icons grey

fixes CNVS-38325

Test plan:
  - create a master course with a variety of locked content
  - sync to a child course
  - go to various pages in the master
  > expect the lock icon to be blue
  - go to pages in the child
  > expect the lock icon to be grey
  

Change-Id: Idccadbebc0cc7132bd89ceea9ef34eb1f01b7bc3
Reviewed-on: https://gerrit.instructure.com/120074
Tested-by: Jenkins
Reviewed-by: Dan Minkevitch <2591e5f46f28d303f9dc027d475a5c60d8dea17a@instructure.com>
QA-Review: David Tan <6283e310a2278fc51bdc4fb5974f70dd9c3366b9@instructure.com>
Product-Review: Pert Eilers <b5114c9284a53681de3b74bf12eb2d826ceca963@instructure.com>
